Package dev.latvian.mods.kubejs.block
Class BlockStartedFallingKubeEvent
java.lang.Object
dev.latvian.mods.kubejs.block.BlockStartedFallingKubeEvent
- All Implemented Interfaces:
KubeEntityEvent,KubeEvent,KubeLevelEvent
@Info("Invoked when a falling block starts to fall.\n")
public class BlockStartedFallingKubeEvent
extends Object
implements KubeEntityEvent
-
Constructor Summary
ConstructorsConstructorDescriptionBlockStartedFallingKubeEvent(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.entity.item.FallingBlockEntity entity) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.latvian.mods.kubejs.entity.KubeEntityEvent
getPlayerMethods inherited from interface dev.latvian.mods.kubejs.event.KubeEvent
afterPosted, cancel, cancel, defaultExitValue, exit, exit, getExitValueType, mapExitValue, success, successMethods inherited from interface dev.latvian.mods.kubejs.level.KubeLevelEvent
getRegistries, getServer
-
Constructor Details
-
BlockStartedFallingKubeEvent
public BlockStartedFallingKubeEvent(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.entity.item.FallingBlockEntity entity)
-
-
Method Details
-
getLevel
public net.minecraft.world.level.Level getLevel()- Specified by:
getLevelin interfaceKubeEntityEvent- Specified by:
getLevelin interfaceKubeLevelEvent
-
getEntity
public net.minecraft.world.entity.Entity getEntity()- Specified by:
getEntityin interfaceKubeEntityEvent
-
getBlock
-