mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 04:09:51 +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
19 lines
440 B
Java
19 lines
440 B
Java
package net.minecraftforge.common;
|
|
|
|
import net.minecraft.world.World;
|
|
|
|
//To be expanded for generic Mod fake players?
|
|
public class FakePlayerFactory
|
|
{
|
|
private static FakePlayer MINECRAFT_PLAYER = null;
|
|
|
|
public static FakePlayer getMinecraft(World world)
|
|
{
|
|
if (MINECRAFT_PLAYER == null)
|
|
{
|
|
MINECRAFT_PLAYER = new FakePlayer(world, "[Minecraft]");
|
|
}
|
|
return MINECRAFT_PLAYER;
|
|
}
|
|
}
|