Class BlockDropItemEvent
java.lang.Object
net.vitacraft.serverlibraries.api.event.events.blocks.BlockDropItemEvent
- All Implemented Interfaces:
Event
-
Constructor Summary
ConstructorsConstructorDescriptionBlockDropItemEvent
(net.minecraft.block.BlockState state, net.minecraft.entity.Entity entity, List<net.minecraft.item.Item> items) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.entity.Entity
List
<net.minecraft.item.Item> getItems()
net.minecraft.block.BlockState
getState()
boolean
void
setCancelled
(boolean cancelled)
-
Constructor Details
-
BlockDropItemEvent
public BlockDropItemEvent(net.minecraft.block.BlockState state, net.minecraft.entity.Entity entity, List<net.minecraft.item.Item> items)
-
-
Method Details
-
getState
public net.minecraft.block.BlockState getState() -
getEntity
public net.minecraft.entity.Entity getEntity() -
getItems
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceEvent
-
setCancelled
public void setCancelled(boolean cancelled) - Specified by:
setCancelled
in interfaceEvent
-