Class BellRingEvent
java.lang.Object
net.vitacraft.serverlibraries.api.event.events.blocks.BellRingEvent
- All Implemented Interfaces:
Event
-
Constructor Summary
ConstructorsConstructorDescriptionBellRingEvent
(net.minecraft.world.World world, net.minecraft.block.BlockState blockState, net.minecraft.util.hit.BlockHitResult hitResult, net.minecraft.entity.player.PlayerEntity entity, boolean checkHitPos) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.block.BlockState
net.minecraft.entity.player.PlayerEntity
net.minecraft.util.hit.BlockHitResult
net.minecraft.world.World
getWorld()
boolean
boolean
void
setCancelled
(boolean cancelled)
-
Constructor Details
-
BellRingEvent
public BellRingEvent(net.minecraft.world.World world, net.minecraft.block.BlockState blockState, net.minecraft.util.hit.BlockHitResult hitResult, net.minecraft.entity.player.PlayerEntity entity, boolean checkHitPos)
-
-
Method Details
-
getWorld
public net.minecraft.world.World getWorld() -
getBlockState
public net.minecraft.block.BlockState getBlockState() -
getHitResult
public net.minecraft.util.hit.BlockHitResult getHitResult() -
getEntity
public net.minecraft.entity.player.PlayerEntity getEntity() -
isCheckHitPos
public boolean isCheckHitPos() -
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceEvent
-
setCancelled
public void setCancelled(boolean cancelled) - Specified by:
setCancelled
in interfaceEvent
-