Interface PlayerAttachmentImmersiveInfo
- All Superinterfaces:
ImmersiveInfo
- All Known Implementing Classes:
AbstractPlayerAttachmentImmersiveInfo, BagInfo, ImmersiveHitboxesInfo
The
ImmersiveInfo implementation for player-attachment Immersives.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.client.player.AbstractClientPlayergetOwner()Get the player who owns/controls this PlayerAttachmentImmersiveInfo.default booleanGet whether this info is owned/controlled by the local player.Methods inherited from interface ImmersiveInfo
getAllHitboxes, getSlotHovered, getTicksExisted, hasHitboxes, setSlotHovered
-
Method Details
-
getOwner
net.minecraft.client.player.AbstractClientPlayer getOwner()Get the player who owns/controls this PlayerAttachmentImmersiveInfo.- Returns:
- The player as described.
-
ownerIsLocalPlayer
default boolean ownerIsLocalPlayer()Get whether this info is owned/controlled by the local player.- Returns:
- Whether the player that owns/controls this info is the local player.
-