Class EntityBlockCallback
java.lang.Object
dev.latvian.mods.kubejs.block.callback.EntityBlockCallback
- Direct Known Subclasses:
AfterEntityFallenOnBlockCallback,EntityFallenOnBlockCallback
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final LevelBlockprotected final net.minecraft.world.entity.Entityprotected final net.minecraft.world.level.Levelprotected final net.minecraft.world.level.block.state.BlockState -
Constructor Summary
ConstructorsConstructorDescriptionEntityBlockCallback(net.minecraft.world.level.Level level, net.minecraft.world.entity.Entity entity, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) -
Method Summary
-
Field Details
-
level
protected final net.minecraft.world.level.Level level -
entity
protected final net.minecraft.world.entity.Entity entity -
block
-
state
protected final net.minecraft.world.level.block.state.BlockState state
-
-
Constructor Details
-
EntityBlockCallback
public EntityBlockCallback(net.minecraft.world.level.Level level, net.minecraft.world.entity.Entity entity, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
-
-
Method Details
-
getLevel
-
getEntity
-
getBlock
-
getState
-
getPos
-
isSuppressingBounce
@Info("Returns if the entity is suppressing bouncing (for players this is true if the player is crouching)") public boolean isSuppressingBounce()
-