Class BlockSetEvent
java.lang.Object
dev.ultreon.mods.xinexlib.event.block.BlockSetEvent
- All Implemented Interfaces:
BlockEvent,BlockStateEvent,PositionalBlockEvent,LevelEvent
-
Constructor Summary
ConstructorsConstructorDescriptionBlockSetEvent(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, int flags) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface dev.ultreon.mods.xinexlib.event.block.BlockStateEvent
getBlock
-
Constructor Details
-
BlockSetEvent
public BlockSetEvent(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, int flags)
-
-
Method Details
-
getState
public net.minecraft.world.level.block.state.BlockState getState()- Specified by:
getStatein interfaceBlockStateEvent
-
getBlockPosition
public net.minecraft.core.BlockPos getBlockPosition()- Specified by:
getBlockPositionin interfacePositionalBlockEvent
-
getLevel
public net.minecraft.world.level.Level getLevel()- Specified by:
getLevelin interfaceLevelEvent
-
getFlags
public int getFlags() -
equals
-
hashCode
public int hashCode() -
toString
-