Contents
Class BlockReplaceEvent
java.lang.Object
com.hypixel.hytale.component.system.EcsEvent
com.hypixel.hytale.server.core.modules.block.BlockReplaceEvent
Called when a block entity is about to place over another block entity.
Useful for some merging behaviour.
-
Constructor Summary
ConstructorsConstructorDescriptionBlockReplaceEvent(Ref<ChunkStore> sectionRef, int selfX, int selfY, int selfZ, Holder<ChunkStore> newEntity, int baseX, int baseY, int baseZ) -
Method Summary
-
Constructor Details
-
BlockReplaceEvent
public BlockReplaceEvent(Ref<ChunkStore> sectionRef, int selfX, int selfY, int selfZ, Holder<ChunkStore> newEntity, int baseX, int baseY, int baseZ)
-
-
Method Details
-
getSectionRef
-
getSelfX
public int getSelfX() -
getSelfY
public int getSelfY() -
getSelfZ
public int getSelfZ() -
getNewEntity
-
next
public void next(int selfX, int selfY, int selfZ)
-