Contents
Class BreakFallingBlockImpact
java.lang.Object
com.hypixel.hytale.server.core.asset.type.blocktype.config.fallingblocks.FallingBlockImpact
com.hypixel.hytale.builtin.fallingblocks.BreakFallingBlockImpact
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<BreakFallingBlockImpact> static final StringFields inherited from class FallingBlockImpact
BASE_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(Ref<ChunkStore> sectionRef, World world, BlockType blockType, org.joml.Vector3d position, RotationTuple rotation, Store<EntityStore> store, Ref<EntityStore> ref, CommandBuffer<EntityStore> commandBuffer) static voidbreakFallingBlock(World world, BlockType blockType, org.joml.Vector3d position, RotationTuple rotation, Store<EntityStore> store, Ref<EntityStore> ref, CommandBuffer<EntityStore> commandBuffer) static voidbreakFallingBlock(World world, BlockType blockType, org.joml.Vector3d position, RotationTuple rotation, Store<EntityStore> store, Ref<EntityStore> ref, CommandBuffer<EntityStore> commandBuffer, boolean dropItems)
-
Field Details
-
ID
- See Also:
-
CODEC
-
-
Constructor Details
-
BreakFallingBlockImpact
public BreakFallingBlockImpact()
-
-
Method Details
-
apply
public void apply(@Nonnull Ref<ChunkStore> sectionRef, @Nonnull World world, @Nonnull BlockType blockType, @Nonnull org.joml.Vector3d position, @Nonnull RotationTuple rotation, @Nonnull Store<EntityStore> store, @Nonnull Ref<EntityStore> ref, @Nonnull CommandBuffer<EntityStore> commandBuffer) - Specified by:
applyin classFallingBlockImpact- Parameters:
sectionRef- the loaded chunk section covering the block atposition
-
breakFallingBlock
public static void breakFallingBlock(@Nonnull World world, @Nonnull BlockType blockType, @Nonnull org.joml.Vector3d position, @Nonnull RotationTuple rotation, @Nonnull Store<EntityStore> store, @Nonnull Ref<EntityStore> ref, @Nonnull CommandBuffer<EntityStore> commandBuffer) -
breakFallingBlock
public static void breakFallingBlock(@Nonnull World world, @Nonnull BlockType blockType, @Nonnull org.joml.Vector3d position, @Nonnull RotationTuple rotation, @Nonnull Store<EntityStore> store, @Nonnull Ref<EntityStore> ref, @Nonnull CommandBuffer<EntityStore> commandBuffer, boolean dropItems)
-