Uses of Class
net.minecraftforge.common.util.FakePlayer
-
Packages that use FakePlayer Package Description net.minecraftforge.common.util -
-
Uses of FakePlayer in net.minecraftforge.common.util
Fields in net.minecraftforge.common.util with type parameters of type FakePlayer Modifier and Type Field Description private static java.util.Map<com.mojang.authlib.GameProfile,FakePlayer>FakePlayerFactory. fakePlayersprivate static java.lang.ref.WeakReference<FakePlayer>FakePlayerFactory. MINECRAFT_PLAYERMethods in net.minecraftforge.common.util that return FakePlayer Modifier and Type Method Description static FakePlayerFakePlayerFactory. get(ServerWorld 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 FakePlayerFakePlayerFactory. getMinecraft(ServerWorld world)
-