mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-21 12:42:26 +00:00
We have not setup the download for that yet, to make it yourself just zip joined.srg name it deobfusication_data.zip and put it in lib
23 lines
599 B
Java
23 lines
599 B
Java
package net.minecraftforge.common;
|
|
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
import net.minecraft.util.ChunkCoordinates;
|
|
import net.minecraft.world.World;
|
|
|
|
//Preliminary, simple Fake Player class
|
|
public class FakePlayer extends EntityPlayer
|
|
{
|
|
public FakePlayer(World world, String name)
|
|
{
|
|
super(world);
|
|
this.username = name;
|
|
}
|
|
|
|
public void sendChatToPlayer(String s){}
|
|
public boolean canCommandSenderUseCommand(int i, String s){ return false; }
|
|
public ChunkCoordinates getPlayerCoordinates()
|
|
{
|
|
return new ChunkCoordinates(0,0,0);
|
|
}
|
|
}
|