Package ac.boar.anticheat.util.geyser
Class BoarChunk
java.lang.Object
ac.boar.anticheat.util.geyser.BoarChunk
-
Constructor Summary
ConstructorsConstructorDescriptionBoarChunk(BoarChunkSection[] sections, List<BlockEntityInfo> blockEntities, boolean hasAllSections, long loadedTick) BoarChunk(BoarChunkSection[] sections, List<BlockEntityInfo> blockEntities, boolean hasAllSections, long loadedTick, boolean[] knownSections) -
Method Summary
Modifier and TypeMethodDescriptiongetSection(int index) booleanbooleanisSectionKnown(int index) longsections()voidsetSection(BoarChunkSection newSection, int index, boolean known) boolean
-
Constructor Details
-
BoarChunk
public BoarChunk(BoarChunkSection[] sections, List<BlockEntityInfo> blockEntities, boolean hasAllSections, long loadedTick) -
BoarChunk
public BoarChunk(BoarChunkSection[] sections, List<BlockEntityInfo> blockEntities, boolean hasAllSections, long loadedTick, boolean[] knownSections)
-
-
Method Details
-
loadedTick
public long loadedTick() -
sections
-
blockEntities
-
warnForMissingSections
public boolean warnForMissingSections() -
hasAllSections
public boolean hasAllSections() -
getSection
-
isSectionKnown
public boolean isSectionKnown(int index) -
setSection
-