Class BlockBurningEvent
java.lang.Object
net.vitacraft.serverlibraries.api.event.events.blocks.BlockBurningEvent
- All Implemented Interfaces:
Event
-
Constructor Summary
ConstructorsConstructorDescriptionBlockBurningEvent(net.minecraft.block.BlockState state, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.block.BlockState oldState, boolean notify) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.block.BlockStatenet.minecraft.util.math.BlockPosgetPos()net.minecraft.block.BlockStategetState()net.minecraft.world.WorldgetWorld()booleanbooleanisNotify()voidsetCancelled(boolean cancelled)
-
Constructor Details
-
BlockBurningEvent
public BlockBurningEvent(net.minecraft.block.BlockState state, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.block.BlockState oldState, boolean notify)
-
-
Method Details
-
getState
public net.minecraft.block.BlockState getState() -
getWorld
public net.minecraft.world.World getWorld() -
getPos
public net.minecraft.util.math.BlockPos getPos() -
getOldState
public net.minecraft.block.BlockState getOldState() -
isNotify
public boolean isNotify() -
isCancelled
public boolean isCancelled()- Specified by:
isCancelledin interfaceEvent
-
setCancelled
public void setCancelled(boolean cancelled) - Specified by:
setCancelledin interfaceEvent
-