001package net.minecraftforge.common;
002
003import net.minecraft.world.World;
004
005//To be expanded for generic Mod fake players?
006public class FakePlayerFactory
007{
008    private static FakePlayer MINECRAFT_PLAYER = null;
009    
010    public static FakePlayer getMinecraft(World world)
011    {
012        if (MINECRAFT_PLAYER == null)
013        {
014            MINECRAFT_PLAYER = new FakePlayer(world, "[Minecraft]");
015        }
016        return MINECRAFT_PLAYER;
017    }
018}