Open Source Minecraft Fake Player ( Sahte Oyuncu ) Exp 3.1

ImSWAT

Official Account
Banned
Katılım
11 Kas 2022
Mesajlar
1,192
Beğeniler
325
Bu kullanıcıyla herhangi bir iş veya ticaret yapmak istiyorsanız, forumdan uzaklaştırıldığını sakın unutmayın.
Minecraft Fake Player ( Sahte Oyuncu ) Exp 3.1


Kod:
package im.expensive.functions.impl.combat;

import com.google.common.eventbus.Subscribe;
import com.mojang.authlib.GameProfile;
import im.expensive.events.EventUpdate;
import im.expensive.functions.api.Category;
import im.expensive.functions.api.Function;
import im.expensive.functions.api.FunctionRegister;
import im.expensive.functions.settings.impl.ModeSetting;
import java.util.UUID;
import net.minecraft.client.Minecraft;
import net.minecraft.client.entity.player.RemoteClientPlayerEntity;
import net.minecraft.entity.player.PlayerEntity;

@FunctionRegister(name="FakePlayer", type=Category.Combat)
public class FakePlayer
        extends Function {
    public ModeSetting mod = new ModeSetting("Действие:", "Спавн", "Спавн");
    Minecraft client = Minecraft.getInstance();
    private boolean Spawned = false;
    private RemoteClientPlayerEntity fakePlayer;

    public FakePlayer() {
        this.addSettings(this.mod);
    }

    @Subscribe
    private void onUpdate(EventUpdate var1) {
        if (this.mod.is("Спавн")) {
            this.spawnFakePlayer();
            this.Spawned = true;
        }
    }

    private void spawnFakePlayer() {
        UUID var1 = UUID.nameUUIDFromBytes("1337".getBytes());
        this.fakePlayer = new RemoteClientPlayerEntity(FakePlayer.mc.world, new GameProfile(var1, "1488"));
        this.fakePlayer.copyLocationAndAnglesFrom(Minecraft.player);
        this.fakePlayer.rotationYawHead = Minecraft.player.rotationYawHead;
        this.fakePlayer.renderYawOffset = Minecraft.player.renderYawOffset;
        this.fakePlayer.rotationPitchHead = Minecraft.player.rotationPitchHead;
        this.fakePlayer.container = Minecraft.player.container;
        this.fakePlayer.inventory = Minecraft.player.inventory;
        this.fakePlayer.setHealth(1337.0f);
        FakePlayer.mc.world.addEntity(1448, this.fakePlayer);
    }

    @Override
    public void onDisable() {
        this.removeFakePlayer();
        this.Spawned = false;
        super.onDisable();
    }

    protected float[] rotations(PlayerEntity player) {
        return new float[0];
    }

    private void removeFakePlayer() {
        FakePlayer.mc.world.removeEntityFromWorld(1337);
    }
}

Yabancı kaynaktan alıntıdır​
 
Minecraft Fake Player ( Sahte Oyuncu ) Exp 3.1


Kod:
package im.expensive.functions.impl.combat;

import com.google.common.eventbus.Subscribe;
import com.mojang.authlib.GameProfile;
import im.expensive.events.EventUpdate;
import im.expensive.functions.api.Category;
import im.expensive.functions.api.Function;
import im.expensive.functions.api.FunctionRegister;
import im.expensive.functions.settings.impl.ModeSetting;
import java.util.UUID;
import net.minecraft.client.Minecraft;
import net.minecraft.client.entity.player.RemoteClientPlayerEntity;
import net.minecraft.entity.player.PlayerEntity;

@FunctionRegister(name="FakePlayer", type=Category.Combat)
public class FakePlayer
        extends Function {
    public ModeSetting mod = new ModeSetting("Действие:", "Спавн", "Спавн");
    Minecraft client = Minecraft.getInstance();
    private boolean Spawned = false;
    private RemoteClientPlayerEntity fakePlayer;

    public FakePlayer() {
        this.addSettings(this.mod);
    }

    @Subscribe
    private void onUpdate(EventUpdate var1) {
        if (this.mod.is("Спавн")) {
            this.spawnFakePlayer();
            this.Spawned = true;
        }
    }

    private void spawnFakePlayer() {
        UUID var1 = UUID.nameUUIDFromBytes("1337".getBytes());
        this.fakePlayer = new RemoteClientPlayerEntity(FakePlayer.mc.world, new GameProfile(var1, "1488"));
        this.fakePlayer.copyLocationAndAnglesFrom(Minecraft.player);
        this.fakePlayer.rotationYawHead = Minecraft.player.rotationYawHead;
        this.fakePlayer.renderYawOffset = Minecraft.player.renderYawOffset;
        this.fakePlayer.rotationPitchHead = Minecraft.player.rotationPitchHead;
        this.fakePlayer.container = Minecraft.player.container;
        this.fakePlayer.inventory = Minecraft.player.inventory;
        this.fakePlayer.setHealth(1337.0f);
        FakePlayer.mc.world.addEntity(1448, this.fakePlayer);
    }

    @Override
    public void onDisable() {
        this.removeFakePlayer();
        this.Spawned = false;
        super.onDisable();
    }

    protected float[] rotations(PlayerEntity player) {
        return new float[0];
    }

    private void removeFakePlayer() {
        FakePlayer.mc.world.removeEntityFromWorld(1337);
    }
}

Yabancı kaynaktan alıntıdır​
tam olarak nedir anlatabilirmisiniz.
 
Minecraft Fake Player ( Sahte Oyuncu ) Exp 3.1


Kod:
package im.expensive.functions.impl.combat;

import com.google.common.eventbus.Subscribe;
import com.mojang.authlib.GameProfile;
import im.expensive.events.EventUpdate;
import im.expensive.functions.api.Category;
import im.expensive.functions.api.Function;
import im.expensive.functions.api.FunctionRegister;
import im.expensive.functions.settings.impl.ModeSetting;
import java.util.UUID;
import net.minecraft.client.Minecraft;
import net.minecraft.client.entity.player.RemoteClientPlayerEntity;
import net.minecraft.entity.player.PlayerEntity;

@FunctionRegister(name="FakePlayer", type=Category.Combat)
public class FakePlayer
        extends Function {
    public ModeSetting mod = new ModeSetting("Действие:", "Спавн", "Спавн");
    Minecraft client = Minecraft.getInstance();
    private boolean Spawned = false;
    private RemoteClientPlayerEntity fakePlayer;

    public FakePlayer() {
        this.addSettings(this.mod);
    }

    @Subscribe
    private void onUpdate(EventUpdate var1) {
        if (this.mod.is("Спавн")) {
            this.spawnFakePlayer();
            this.Spawned = true;
        }
    }

    private void spawnFakePlayer() {
        UUID var1 = UUID.nameUUIDFromBytes("1337".getBytes());
        this.fakePlayer = new RemoteClientPlayerEntity(FakePlayer.mc.world, new GameProfile(var1, "1488"));
        this.fakePlayer.copyLocationAndAnglesFrom(Minecraft.player);
        this.fakePlayer.rotationYawHead = Minecraft.player.rotationYawHead;
        this.fakePlayer.renderYawOffset = Minecraft.player.renderYawOffset;
        this.fakePlayer.rotationPitchHead = Minecraft.player.rotationPitchHead;
        this.fakePlayer.container = Minecraft.player.container;
        this.fakePlayer.inventory = Minecraft.player.inventory;
        this.fakePlayer.setHealth(1337.0f);
        FakePlayer.mc.world.addEntity(1448, this.fakePlayer);
    }

    @Override
    public void onDisable() {
        this.removeFakePlayer();
        this.Spawned = false;
        super.onDisable();
    }

    protected float[] rotations(PlayerEntity player) {
        return new float[0];
    }

    private void removeFakePlayer() {
        FakePlayer.mc.world.removeEntityFromWorld(1337);
    }
}

Yabancı kaynaktan alıntıdır​
yararlı bilgi sağolun hocam
 

  Şuanda konuyu görüntüleyen kullanıcılar


Üst Alt