Uses of Class
net.minecraftforge.common.util.FakePlayer
Packages that use FakePlayer
-
Uses of FakePlayer in net.minecraftforge.common.util
Fields in net.minecraftforge.common.util with type parameters of type FakePlayerModifier and TypeFieldDescriptionprivate static Map<com.mojang.authlib.GameProfile,FakePlayer> FakePlayerFactory.fakePlayersprivate static WeakReference<FakePlayer>FakePlayerFactory.MINECRAFT_PLAYERMethods in net.minecraftforge.common.util that return FakePlayerModifier and TypeMethodDescriptionstatic FakePlayerFakePlayerFactory.get(ServerLevel level, 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(ServerLevel level)