Package dev.latvian.mods.kubejs.block
Class BlockStoppedFallingKubeEvent
java.lang.Object
dev.latvian.mods.kubejs.block.BlockStoppedFallingKubeEvent
- All Implemented Interfaces:
KubeEntityEvent,KubeEvent,KubeLevelEvent
@Info("Invoked when a falling block finishes falling.\n")
public class BlockStoppedFallingKubeEvent
extends Object
implements KubeEntityEvent
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBlockStoppedFallingKubeEvent(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, double fallSpeed, net.minecraft.world.level.block.state.BlockState replacedState) -
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
-
Field Details
-
block
-
fallSpeed
public final double fallSpeed -
replacedBlock
-
-
Constructor Details
-
BlockStoppedFallingKubeEvent
public BlockStoppedFallingKubeEvent(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, double fallSpeed, net.minecraft.world.level.block.state.BlockState replacedState)
-
-
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
-