public class FakePlayerFactory
extends java.lang.Object
| Constructor and Description | 
|---|
| FakePlayerFactory() | 
| Modifier and Type | Method and Description | 
|---|---|
| static FakePlayer | get(WorldServer world,
   com.mojang.authlib.GameProfile username)Get a fake player with a given username,
 Mods should either hold weak references to the return value, or listen for a
 WorldEvent.Unload and kill all references to prevent worlds staying in memory. | 
| static FakePlayer | getMinecraft(WorldServer world) | 
| static void | unloadWorld(WorldServer world) | 
public static FakePlayer getMinecraft(WorldServer world)
public static FakePlayer get(WorldServer world, com.mojang.authlib.GameProfile username)
public static void unloadWorld(WorldServer world)