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

public class BellRingEvent extends Object implements Event
  • 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 interface Event
    • setCancelled

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