HyCodeYourTale
classpublicPriority 3

ChunkSectionReference

com.hypixel.hytale.server.core.universe.world.chunk.section.ChunkSectionReference

3

Methods

3

Public Methods

3

Fields

1

Constructors

Constructors

public
ChunkSectionReference(BlockChunk chunk, BlockSection section, int sectionIndex)

Methods

Public Methods (3)

public
BlockChunk getChunk()
public
BlockSection getSection()
public
int getSectionIndex()

Fields

Private/Package Fields (3)

privateBlockChunk chunk
privateBlockSection section
privateint sectionIndex

Related Classes

Used By

Source Code

package com.hypixel.hytale.server.core.universe.world.chunk.section;

import com.hypixel.hytale.server.core.universe.world.chunk.BlockChunk;

public class ChunkSectionReference {
   private BlockChunk chunk;
   private BlockSection section;
   private int sectionIndex;

   public ChunkSectionReference(BlockChunk chunk, BlockSection section, int sectionIndex) {
      this.section = section;
      this.chunk = chunk;
      this.sectionIndex = sectionIndex;
   }

   public BlockChunk getChunk() {
      return this.chunk;
   }

   public BlockSection getSection() {
      return this.section;
   }

   public int getSectionIndex() {
      return this.sectionIndex;
   }
}