Contents
Class ExplodeFallingBlockImpact
java.lang.Object
com.hypixel.hytale.server.core.asset.type.blocktype.config.fallingblocks.FallingBlockImpact
com.hypixel.hytale.builtin.fallingblocks.ExplodeFallingBlockImpact
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<ExplodeFallingBlockImpact> 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 voidexplodeFallingBlock(World world, BlockType blockType, org.joml.Vector3d position, RotationTuple rotation, Store<EntityStore> store)
-
Field Details
-
ID
- See Also:
-
CODEC
-
-
Constructor Details
-
ExplodeFallingBlockImpact
public ExplodeFallingBlockImpact()
-
-
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
-
explodeFallingBlock
public static void explodeFallingBlock(@Nonnull World world, @Nonnull BlockType blockType, @Nonnull org.joml.Vector3d position, @Nonnull RotationTuple rotation, @Nonnull Store<EntityStore> store)
-