HideDownItemAttachment
class HideDownItemAttachment(pitchThreshold: Float, val player: Player, val itemStack: ItemStack, val translation: Vector3fc = Vector3f(0f, 0f, 0f), val scale: Vector3fc = Vector3f(1f, 1f, 1f)) : ItemAttachment
A special type of ItemAttachment that gets hidden for the player of they look down
Constructors
Link copied to clipboard
constructor(pitchThreshold: Float, player: Player, itemStack: ItemStack, translation: Vector3fc = Vector3f(0f, 0f, 0f), scale: Vector3fc = Vector3f(1f, 1f, 1f))
Properties
Functions
Link copied to clipboard
Despawns all entities of this Attachment.
Link copied to clipboard
Called when the player was teleported.
Link copied to clipboard
Called every tick by the AttachmentManager.