Class SharedChunk

java.lang.Object
net.minestom.server.instance.Chunk
net.minestom.server.instance.DynamicChunk
ru.dragonestia.msb3.api.world.chunk.SharedChunk
All Implemented Interfaces:
net.minestom.server.instance.block.Block.Getter, net.minestom.server.instance.block.Block.Setter, net.minestom.server.snapshot.Snapshotable, net.minestom.server.tag.Taggable, net.minestom.server.tag.TagReadable, net.minestom.server.tag.TagWritable, net.minestom.server.Tickable, net.minestom.server.Viewable, net.minestom.server.world.biome.Biome.Getter, net.minestom.server.world.biome.Biome.Setter

public class SharedChunk extends net.minestom.server.instance.DynamicChunk
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    Nested classes/interfaces inherited from interface net.minestom.server.instance.block.Block.Getter

    net.minestom.server.instance.block.Block.Getter.Condition
  • Field Summary

    Fields inherited from class net.minestom.server.instance.DynamicChunk

    entries, motionBlocking, sections, tickableMap, worldSurface

    Fields inherited from class net.minestom.server.instance.Chunk

    CHUNK_SECTION_SIZE, CHUNK_SIZE_X, CHUNK_SIZE_Z, chunkX, chunkZ, instance, loaded, maxSection, minSection
  • Constructor Summary

    Constructors
    Constructor
    Description
    SharedChunk(@NotNull net.minestom.server.instance.Instance instance, int chunkX, int chunkZ, SharedChunk.Source source)
     
  • Method Summary

    Methods inherited from class net.minestom.server.instance.DynamicChunk

    copy, createLightData, getBiome, getBlock, getFullDataPacket, getHeightmapNBT, getLastChangeTime, getSection, getSections, invalidate, loadHeightmapsFromNBT, motionBlockingHeightmap, reset, setBiome, setBlock, tick, updateSnapshot, worldSurfaceHeightmap

    Methods inherited from class net.minestom.server.instance.Chunk

    addViewer, getChunkX, getChunkZ, getIdentifier, getInstance, getMaxSection, getMinSection, getSectionAt, getViewers, isLoaded, isReadOnly, onGenerate, onLoad, removeViewer, sendChunk, sendChunk, setBlock, setReadOnly, shouldGenerate, tagHandler, toPosition, toString, unload

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface net.minestom.server.world.biome.Biome.Getter

    getBiome

    Methods inherited from interface net.minestom.server.world.biome.Biome.Setter

    setBiome

    Methods inherited from interface net.minestom.server.instance.block.Block.Getter

    getBlock, getBlock, getBlock

    Methods inherited from interface net.minestom.server.instance.block.Block.Setter

    setBlock

    Methods inherited from interface net.minestom.server.tag.Taggable

    getAndSetTag, getAndUpdateTag, getTag, hasTag, removeTag, setTag, updateAndGetTag, updateTag

    Methods inherited from interface net.minestom.server.Viewable

    getViewersAsAudience, getViewersAsAudiences, isViewer, sendPacketsToViewers, sendPacketsToViewers, sendPacketToViewers, sendPacketToViewersAndSelf
  • Constructor Details

    • SharedChunk

      public SharedChunk(@NotNull @NotNull net.minestom.server.instance.Instance instance, int chunkX, int chunkZ, SharedChunk.Source source)