Class DataPalette
java.lang.Object
com.github.steveice10.mc.protocol.data.game.chunk.DataPalette
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DataPalettecreateEmpty(PaletteType paletteType, int globalPaletteBits) static DataPalettecreateForBiome(int globalPaletteBits) static DataPalettestatic DataPalettecreateForChunk(int globalPaletteBits) intget(int x, int y, int z) intset(int x, int y, int z, int state)
-
Field Details
-
GLOBAL_PALETTE_BITS_PER_ENTRY
public static final int GLOBAL_PALETTE_BITS_PER_ENTRY- See Also:
-
-
Constructor Details
-
DataPalette
-
-
Method Details
-
createForChunk
-
createForChunk
-
createForBiome
-
createEmpty
-
get
public int get(int x, int y, int z) -
set
public int set(int x, int y, int z, int state) - Returns:
- the old value present in the storage.
-