Uses of Class
net.minecraft.client.player.LocalPlayer
Package
Description
-
Uses of LocalPlayer in net.minecraft.client
ModifierConstructorDescriptionSession(ClientLevel p_92325_, LocalPlayer p_92326_, ClientPacketListener p_92327_)
-
Uses of LocalPlayer in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionMultiPlayerGameMode.createPlayer(ClientLevel p_105247_, StatsCounter p_105248_, ClientRecipeBook p_105249_)
MultiPlayerGameMode.createPlayer(ClientLevel p_105251_, StatsCounter p_105252_, ClientRecipeBook p_105253_, boolean p_105254_, boolean p_105255_)
Modifier and TypeMethodDescriptionMultiPlayerGameMode.useItemOn(LocalPlayer p_105263_, ClientLevel p_105264_, InteractionHand p_105265_, BlockHitResult p_105266_)
-
Uses of LocalPlayer in net.minecraft.client.player
-
Uses of LocalPlayer in net.minecraft.client.renderer
Modifier and TypeMethodDescription(package private) static ItemInHandRenderer.HandRenderSelection
ItemInHandRenderer.evaluateWhichHandsToRender(LocalPlayer p_172915_)
void
ItemInHandRenderer.renderHandsWithItems(float p_109315_, PoseStack p_109316_, MultiBufferSource.BufferSource p_109317_, LocalPlayer p_109318_, int p_109319_)
private static ItemInHandRenderer.HandRenderSelection
ItemInHandRenderer.selectionUsingItemWhileHoldingBowLike(LocalPlayer p_172917_)
-
Uses of LocalPlayer in net.minecraft.client.resources.sounds
Modifier and TypeFieldDescriptionprivate LocalPlayer
BiomeAmbientSoundsHandler.player
private LocalPlayer
BubbleColumnAmbientSoundHandler.player
private LocalPlayer
ElytraOnPlayerSoundInstance.player
private LocalPlayer
UnderwaterAmbientSoundHandler.player
private LocalPlayer
UnderwaterAmbientSoundInstances.SubSound.player
private LocalPlayer
UnderwaterAmbientSoundInstances.UnderwaterAmbientSoundInstance.player
ModifierConstructorDescriptionBiomeAmbientSoundsHandler(LocalPlayer p_119639_, SoundManager p_119640_, BiomeManager p_119641_)
BubbleColumnAmbientSoundHandler(LocalPlayer p_119666_)
ElytraOnPlayerSoundInstance(LocalPlayer p_119673_)
protected
SubSound(LocalPlayer p_119861_, SoundEvent p_119862_)
UnderwaterAmbientSoundHandler(LocalPlayer p_119856_, SoundManager p_119857_)
UnderwaterAmbientSoundInstance(LocalPlayer p_119867_)
-
Uses of LocalPlayer in net.minecraft.client.tutorial
Modifier and TypeMethodDescriptionstatic boolean
CraftPlanksTutorialStep.hasCraftedPlanksPreviously(LocalPlayer p_120472_, Tag<Item> p_120473_)
static boolean
FindTreeTutorialStepInstance.hasPunchedTreesPreviously(LocalPlayer p_120504_)
-
Uses of LocalPlayer in net.minecraftforge.client
Modifier and TypeMethodDescriptionstatic void
ForgeHooksClient.firePlayerLogin(MultiPlayerGameMode pc, LocalPlayer player, Connection networkManager)
static void
ForgeHooksClient.firePlayerLogout(MultiPlayerGameMode pc, LocalPlayer player)
static void
ForgeHooksClient.firePlayerRespawn(MultiPlayerGameMode pc, LocalPlayer oldPlayer, LocalPlayer newPlayer, Connection networkManager)
-
Uses of LocalPlayer in net.minecraftforge.client.event
Modifier and TypeFieldDescriptionprivate LocalPlayer
ClientPlayerNetworkEvent.RespawnEvent.oldPlayer
private LocalPlayer
ClientPlayerNetworkEvent.player
Modifier and TypeMethodDescriptionClientPlayerNetworkEvent.RespawnEvent.getNewPlayer()
ClientPlayerNetworkEvent.RespawnEvent.getOldPlayer()
ClientPlayerNetworkEvent.getPlayer()
ModifierConstructorDescription(package private)
ClientPlayerNetworkEvent(MultiPlayerGameMode controller, LocalPlayer player, Connection networkManager)
LoggedInEvent(MultiPlayerGameMode controller, LocalPlayer player, Connection networkManager)
LoggedOutEvent(MultiPlayerGameMode controller, LocalPlayer player, Connection networkManager)
RespawnEvent(MultiPlayerGameMode pc, LocalPlayer oldPlayer, LocalPlayer newPlayer, Connection networkManager)
-
Uses of LocalPlayer in net.minecraftforge.fmlclient
Modifier and TypeMethodDescriptionstatic void
ClientHooks.firePlayerLogin(MultiPlayerGameMode pc, LocalPlayer player, Connection networkManager)
Deprecated, for removal: This API element is subject to removal in a future version.static void
ClientHooks.firePlayerLogout(MultiPlayerGameMode pc, LocalPlayer player)
Deprecated, for removal: This API element is subject to removal in a future version.static void
ClientHooks.firePlayerRespawn(MultiPlayerGameMode pc, LocalPlayer oldPlayer, LocalPlayer newPlayer, Connection networkManager)
Deprecated, for removal: This API element is subject to removal in a future version.