Class BlockDropItemEvent

java.lang.Object
net.vitacraft.serverlibraries.api.event.events.blocks.BlockDropItemEvent
All Implemented Interfaces:
Event

public class BlockDropItemEvent extends Object implements Event
  • 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

      public List<net.minecraft.item.Item> getItems()
    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface Event
    • setCancelled

      public void setCancelled(boolean cancelled)
      Specified by:
      setCancelled in interface Event