Class DropItem
java.lang.Object
nl.pim16aap2.lightkeeper.protocol.DropItem
Drops the player's main-hand item into the world.
Fires a PlayerDropItemEvent. If the event is cancelled the item entity is removed and the player's
inventory is unchanged. If the event is not cancelled the item entity stays in the world and one item is consumed
from the player's main hand.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordCommand record forDROP_ITEM.static final recordResponse record forDROP_ITEM. -
Method Summary