Package-level declarations
Properties
Returns the handler of the given item stack, if available. This item stack is not the staff item stack, but the one can be inserted into the staff.
Returns the handler of the given item stack, if available, a dummy one if not, and the empty staff handler if the item stack is null
. This item stack is not the staff item stack, but the one can be inserted into the staff.
Returns if the given staff item stack has a registered handler. This item stack is not the staff item stack, but the one can be inserted into the staff.
Checks if an item is added the given staff item stack.
Gets or sets the item added to the given staff item stack.
Gets the missing sprite from the block atlas.
The transform of an item in the default position of the staff.
Functions
Creates an EntityAttributeModifier, which changes the attack damage to totalAttackDamage after subtracting the player's base attack damage.
Creates an EntityAttributeModifier, which changes the attack speed to totalAttackSpeed after subtracting the player's base attack speed.
Creates an EntityAttributeModifier, which changes the attack speed to the reciprocal of totalEquipTime after subtracting the player's base attack speed.
Renders the model to BakedQuads.
Creates a transformed model based on the model of the block state.
Creates a new transformed model.