Class EBPlayerUseBlockEvent
java.lang.Object
com.binaris.wizardry.api.content.event.abstr.WizardryCancelableEvent
com.binaris.wizardry.api.content.event.EBPlayerUseBlockEvent
- All Implemented Interfaces:
IWizardryEvent
-
Constructor Summary
ConstructorsConstructorDescriptionEBPlayerUseBlockEvent(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.InteractionHand hand) -
Method Summary
Methods inherited from class com.binaris.wizardry.api.content.event.abstr.WizardryCancelableEvent
canBeCanceled, isCanceled, setCanceled
-
Constructor Details
-
EBPlayerUseBlockEvent
public EBPlayerUseBlockEvent(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.InteractionHand hand)
-
-
Method Details
-
getPlayer
public net.minecraft.world.entity.player.Player getPlayer() -
getLevel
public net.minecraft.world.level.Level getLevel() -
getPos
public net.minecraft.core.BlockPos getPos() -
getHand
public net.minecraft.world.InteractionHand getHand()
-