public class BlockStatePaletteLinear extends java.lang.Object implements IBlockStatePalette
Constructor and Description |
---|
BlockStatePaletteLinear(int p_i47088_1_,
net.minecraft.world.chunk.IBlockStatePaletteResizer p_i47088_2_) |
Modifier and Type | Method and Description |
---|---|
IBlockState |
getBlockState(int indexKey) |
int |
getSerializedState() |
int |
idFor(IBlockState state) |
void |
read(PacketBuffer buf) |
void |
write(PacketBuffer buf) |
public BlockStatePaletteLinear(int p_i47088_1_, net.minecraft.world.chunk.IBlockStatePaletteResizer p_i47088_2_)
public int idFor(IBlockState state)
idFor
in interface IBlockStatePalette
@Nullable public IBlockState getBlockState(int indexKey)
getBlockState
in interface IBlockStatePalette
public void read(PacketBuffer buf)
read
in interface IBlockStatePalette
public void write(PacketBuffer buf)
write
in interface IBlockStatePalette
public int getSerializedState()
getSerializedState
in interface IBlockStatePalette