public class DropItemEvent extends CancellableEcsEvent
Event fired when dropitem occurs. Listen for this event using EventBus.register.
java.lang.Object > CancellableEcsEvent > DropItemEvent
Field Summary
itemStack
private
ItemStack
itemStack
Field itemStack.
throwSpeed
private
float
throwSpeed
Field throwSpeed.
Method Detail
PlayerRequest
public
public
PlayerRequest
(final int inventorySectionId, final short slotId)
Method PlayerRequest.
- Parameters:
final intinventorySectionIdfinal shortslotId
getInventorySectionId
public
int
getInventorySectionId
()
Method getInventorySectionId.
getSlotId
public
short
getSlotId
()
Method getSlotId.
setThrowSpeed
public
void
setThrowSpeed
(final float throwSpeed)
Method setThrowSpeed.
- Parameters:
final floatthrowSpeed
getThrowSpeed
public
float
getThrowSpeed
()
Method getThrowSpeed.