public interface ICamouflageableTE
BlockPneumaticCraftCamo| Modifier and Type | Method and Description |
|---|---|
net.minecraft.block.BlockState |
getCamouflage()
Get the camouflage state; the blockstate which will be used to render this tile entity's block.
|
static net.minecraft.item.ItemStack |
getStackForState(net.minecraft.block.BlockState state)
Convenience method: get the itemstack for the given block state.
|
static net.minecraft.block.BlockState |
readCamo(net.minecraft.nbt.CompoundNBT tag) |
void |
setCamouflage(net.minecraft.block.BlockState state)
Set the camouflage for the tile entity.
|
static void |
syncToClient(TileEntityBase te)
Convenience method: sync camo state to client
|
static void |
writeCamo(net.minecraft.nbt.CompoundNBT tag,
net.minecraft.block.BlockState state) |
net.minecraft.block.BlockState getCamouflage()
void setCamouflage(net.minecraft.block.BlockState state)
state - the camo block statestatic net.minecraft.item.ItemStack getStackForState(net.minecraft.block.BlockState state)
state - the block statestatic void syncToClient(TileEntityBase te)
te - the tile entitystatic net.minecraft.block.BlockState readCamo(net.minecraft.nbt.CompoundNBT tag)
static void writeCamo(net.minecraft.nbt.CompoundNBT tag,
net.minecraft.block.BlockState state)