Interface IFallableExtension
public interface IFallableExtension
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
fallingTick
(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos currentPosition, net.minecraft.world.entity.item.FallingBlockEntity entity) Called inFallingBlockEntity.tick()
after vanilla processing on both server and client.
-
Method Details
-
fallingTick
default void fallingTick(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos currentPosition, net.minecraft.world.entity.item.FallingBlockEntity entity) Called inFallingBlockEntity.tick()
after vanilla processing on both server and client.This is not called in the tick where the entity lands, see
Fallable
.- Parameters:
level
- The current level.currentPosition
- The current position of the entity as aBlockPos
.entity
- The falling entity.
-