Class BlockPlacementTracker
java.lang.Object
ac.boar.anticheat.compensated.world.BlockPlacementTracker
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanexceedsGhostBlockChain(org.cloudburstmc.math.vector.Vector3i position) intghostBlockChainSize(org.cloudburstmc.math.vector.Vector3i position) booleanhasPendingServerUpdate(org.cloudburstmc.math.vector.Vector3i position) booleanisUnansweredPlacement(org.cloudburstmc.math.vector.Vector3i position) voidonClientPlace(org.cloudburstmc.math.vector.Vector3i placedPosition, org.cloudburstmc.math.vector.Vector3i clickedPosition, Direction face, int prePlaceRuntimeId) voidonServerUpdateReceived(org.cloudburstmc.math.vector.Vector3i position, int layer) voidonServerUpdateSent(org.cloudburstmc.math.vector.Vector3i position, int layer, int runtimeId) voidtick()
-
Constructor Details
-
BlockPlacementTracker
public BlockPlacementTracker()
-
-
Method Details
-
onClientPlace
public void onClientPlace(org.cloudburstmc.math.vector.Vector3i placedPosition, org.cloudburstmc.math.vector.Vector3i clickedPosition, Direction face, int prePlaceRuntimeId) -
onServerUpdateSent
public void onServerUpdateSent(org.cloudburstmc.math.vector.Vector3i position, int layer, int runtimeId) -
exceedsGhostBlockChain
public boolean exceedsGhostBlockChain(org.cloudburstmc.math.vector.Vector3i position) -
ghostBlockChainSize
public int ghostBlockChainSize(org.cloudburstmc.math.vector.Vector3i position) -
isUnansweredPlacement
public boolean isUnansweredPlacement(org.cloudburstmc.math.vector.Vector3i position) -
onServerUpdateReceived
public void onServerUpdateReceived(org.cloudburstmc.math.vector.Vector3i position, int layer) -
hasPendingServerUpdate
public boolean hasPendingServerUpdate(org.cloudburstmc.math.vector.Vector3i position) -
tick
public void tick() -
clearPlacements
public void clearPlacements()
-