Class CompensatedWorld

java.lang.Object
ac.boar.anticheat.compensated.world.base.CompensatedWorld
Direct Known Subclasses:
CompensatedWorldImpl

public class CompensatedWorld extends Object
  • Constructor Details

    • CompensatedWorld

      public CompensatedWorld()
  • Method Details

    • removeEntity

      public void removeEntity(long uniqueId)
    • getEntity

      public EntityCache getEntity(long id)
    • addToCache

      public EntityCache addToCache(BoarPlayer player, long runtimeId, long uniqueId)
    • setViewDistance

      public void setViewDistance(int viewDistance)
    • cleanChunksAtPlayerPosition

      public void cleanChunksAtPlayerPosition()
    • yeetOutOfRangeChunks

      public void yeetOutOfRangeChunks()
    • isOutOfRadius

      public boolean isOutOfRadius(int blockX, int blockZ)
    • put

      public void put(int x, int z, BoarChunkSection[] chunks)
    • updateSection

      public void updateSection(int chunkX, int chunkZ, int sectionY, BoarChunkSection section)
    • clearChunks

      public void clearChunks()
    • isChunkLoaded

      public boolean isChunkLoaded(int blockX, int blockZ)
    • isChunkLoadedAt

      public boolean isChunkLoadedAt(float x, float z)
    • updateBlock

      public void updateBlock(org.cloudburstmc.math.vector.Vector3i position, int layer, int block)
    • updateBlock

      public void updateBlock(int x, int y, int z, int layer, int block)
    • getBlockState

      public BoarBlockState getBlockState(Mutable vector3i, int layer)
    • getBlockState

      public BoarBlockState getBlockState(org.cloudburstmc.math.vector.Vector3i vector3i, int layer)
    • getBlockState

      public BoarBlockState getBlockState(int x, int y, int z, int layer)
    • getRawBlockAt

      public int getRawBlockAt(int x, int y, int z, int layer)
    • getBlockAt

      public int getBlockAt(int x, int y, int z, int layer)
    • getBlockEntity

      public BlockEntityInfo getBlockEntity(int x, int y, int z)
    • getChunk

      public BoarChunk getChunk(int chunkX, int chunkZ)
    • getMinY

      public int getMinY()
    • getHeightY

      public int getHeightY()