Class SChunkDataPacket

    • Field Detail

      • x

        private int x
      • z

        private int z
      • availableSections

        private int availableSections
      • biomes

        @Nullable
        private int[] biomes
      • buffer

        private byte[] buffer
      • blockEntitiesTags

        private java.util.List<CompoundNBT> blockEntitiesTags
      • fullChunk

        private boolean fullChunk
    • Constructor Detail

      • SChunkDataPacket

        public SChunkDataPacket()
      • SChunkDataPacket

        public SChunkDataPacket​(Chunk p_i242081_1_,
                                int p_i242081_2_)
    • Method Detail

      • getWriteBuffer

        private io.netty.buffer.ByteBuf getWriteBuffer()
      • extractChunkData

        public int extractChunkData​(PacketBuffer p_218708_1_,
                                    Chunk p_218708_2_,
                                    int p_218708_3_)
      • calculateChunkSize

        protected int calculateChunkSize​(Chunk p_218709_1_,
                                         int p_218709_2_)
      • getX

        public int getX()
      • getZ

        public int getZ()
      • getAvailableSections

        public int getAvailableSections()
      • isFullChunk

        public boolean isFullChunk()
      • getBlockEntitiesTags

        public java.util.List<CompoundNBT> getBlockEntitiesTags()
      • getBiomes

        @Nullable
        public int[] getBiomes()