Class BlockInteractEvent
java.lang.Object
dev.rono.igniscore.api.event.BlockInteractEvent
- All Implemented Interfaces:
BlockEvent, PlayerBlockEvent
Fired after a block click resolves to
CustomBlockAction.OPEN or similar custom handling.-
Constructor Summary
ConstructorsConstructorDescriptionBlockInteractEvent(PlacedBlock block, IgnisPlayer player, IgnisInteraction interaction, IgnisItem heldItem, CustomBlockAction action) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BlockEvent
config, definition
-
Constructor Details
-
BlockInteractEvent
public BlockInteractEvent(PlacedBlock block, IgnisPlayer player, IgnisInteraction interaction, IgnisItem heldItem, CustomBlockAction action)
-
-
Method Details
-
block
- Specified by:
blockin interfaceBlockEvent- Returns:
- the placed block instance this event refers to
-
player
- Specified by:
playerin interfacePlayerBlockEvent
-
interaction
-
heldItem
-
action
-