Uses of Class
net.minecraft.client.player.LocalPlayer
Packages that use LocalPlayer
Package
Description
-
Uses of LocalPlayer in net.minecraft.client
Fields in net.minecraft.client declared as LocalPlayerConstructors in net.minecraft.client with parameters of type LocalPlayerModifierConstructorDescriptionSession
(ClientLevel p_92325_, LocalPlayer p_92326_, ClientPacketListener p_92327_) -
Uses of LocalPlayer in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer that return LocalPlayerModifier 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_) Methods in net.minecraft.client.multiplayer with parameters of type LocalPlayerModifier and TypeMethodDescriptionMultiPlayerGameMode.useItemOn
(LocalPlayer p_105263_, ClientLevel p_105264_, InteractionHand p_105265_, BlockHitResult p_105266_) -
Uses of LocalPlayer in net.minecraft.client.player
Methods in net.minecraft.client.player with parameters of type LocalPlayer -
Uses of LocalPlayer in net.minecraft.client.renderer
Methods in net.minecraft.client.renderer with parameters of type LocalPlayerModifier 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
Fields in net.minecraft.client.resources.sounds declared as LocalPlayerModifier and TypeFieldDescriptionprivate final LocalPlayer
BiomeAmbientSoundsHandler.player
private final LocalPlayer
BubbleColumnAmbientSoundHandler.player
private final LocalPlayer
ElytraOnPlayerSoundInstance.player
private final LocalPlayer
UnderwaterAmbientSoundHandler.player
private final LocalPlayer
UnderwaterAmbientSoundInstances.SubSound.player
private final LocalPlayer
UnderwaterAmbientSoundInstances.UnderwaterAmbientSoundInstance.player
Constructors in net.minecraft.client.resources.sounds with parameters of type LocalPlayerModifierConstructorDescriptionBiomeAmbientSoundsHandler
(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
Methods in net.minecraft.client.tutorial with parameters of type LocalPlayerModifier and TypeMethodDescriptionstatic boolean
CraftPlanksTutorialStep.hasCraftedPlanksPreviously
(LocalPlayer p_205663_, TagKey<Item> p_205664_) static boolean
FindTreeTutorialStepInstance.hasPunchedTreesPreviously
(LocalPlayer p_120504_) -
Uses of LocalPlayer in net.minecraftforge.client
Methods in net.minecraftforge.client with parameters of type LocalPlayerModifier 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
Fields in net.minecraftforge.client.event declared as LocalPlayerModifier and TypeFieldDescriptionprivate final LocalPlayer
ClientPlayerNetworkEvent.RespawnEvent.oldPlayer
private final LocalPlayer
ClientPlayerNetworkEvent.player
Methods in net.minecraftforge.client.event that return LocalPlayerModifier and TypeMethodDescriptionClientPlayerNetworkEvent.RespawnEvent.getNewPlayer()
ClientPlayerNetworkEvent.RespawnEvent.getOldPlayer()
ClientPlayerNetworkEvent.getPlayer()
Constructors in net.minecraftforge.client.event with parameters of type LocalPlayerModifierConstructorDescription(package private)
ClientPlayerNetworkEvent
(MultiPlayerGameMode multiPlayerGameMode, LocalPlayer player, Connection connection) LoggedInEvent
(MultiPlayerGameMode controller, LocalPlayer player, Connection networkManager) LoggedOutEvent
(MultiPlayerGameMode controller, LocalPlayer player, Connection networkManager) RespawnEvent
(MultiPlayerGameMode pc, LocalPlayer oldPlayer, LocalPlayer newPlayer, Connection networkManager)