Package org.geysermc.geyser.api.item.custom.v2.component.java
@NullMarked
package org.geysermc.geyser.api.item.custom.v2.component.java
-
ClassDescriptionThe attack range component is used to specify the attack ranges of an item.Builder for the attack range component.The consumable component is used to mark an item as consumable.Not all animations work perfectly on bedrock.Builder for the consumable component.The equippable component is used to mark an item as equippable.Builder for the equippable componentThe slot in which the equipment can be worn.The food properties component can be used to define properties for consumable items.Builder for the food properties component.Represents various Java item data components to the extent that these can be translated to custom items for Bedrock edition players.The kinetic weapon component is used to specify a spear-like attack when the item is in use.Builder for the kinetic weapon component.A condition used during the attack of a
JavaKineticWeapon.Builder for aJavaKineticWeapon.Condition.The piercing weapon component is used to specify a stab-like attack when using the item.The repairable component determines which other items can be used to repair the item.Builder for the repairable component.The swing animation component is used to specify the swing animation to play when attacking or interacting using the item.Builder for the swing animation component.The tool component can be used to mark if the item can destroy blocks when used in creative mode.Builder for the tool component.A rule for a tool.Builder for a tool rule.The use cooldown component is used to add an item use cooldown to items.Builder for the use cooldown component.The use effects component is used to specify how the player behaves when using the item.Builder for the use effects component.