public class EssenceJarTileEntity
extends net.minecraft.tileentity.TileEntity
| Constructor and Description |
|---|
EssenceJarTileEntity() |
| Modifier and Type | Method and Description |
|---|---|
int |
addEssence(int essence) |
void |
applyValuesToItem(net.minecraft.item.ItemStack stack) |
java.awt.Color |
getColor() |
net.minecraft.util.text.IFormattableTextComponent |
getColorName() |
int |
getEssence() |
double |
getFillPercent() |
double |
getFillPercentDirect() |
net.minecraft.network.play.server.SUpdateTileEntityPacket |
getUpdatePacket() |
net.minecraft.nbt.CompoundNBT |
getUpdateTag() |
boolean |
isFilled() |
void |
load(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT tag) |
void |
onDataPacket(net.minecraft.network.NetworkManager network,
net.minecraft.network.play.server.SUpdateTileEntityPacket packet) |
double |
recalculateFillPercent() |
net.minecraft.nbt.CompoundNBT |
save(net.minecraft.nbt.CompoundNBT tag) |
void |
save0(net.minecraft.nbt.CompoundNBT tag) |
void |
setChanged() |
EssenceJarTileEntity |
setColor(java.awt.Color color) |
EssenceJarTileEntity |
setColor(net.minecraft.item.DyeColor dyeColor) |
EssenceJarTileEntity |
setColorName(net.minecraft.item.DyeColor dyeColor) |
EssenceJarTileEntity |
setColorName(net.minecraft.util.text.IFormattableTextComponent colorName) |
void |
setEssence(int essence) |
boolean |
setValuesFromItem(net.minecraft.item.ItemStack stack) |
clearCache, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getTileData, getType, getViewDistance, hasLevel, isRemoved, loadStatic, logInvalidState, mirror, onChunkUnloaded, onlyOpCanSetNbt, rotate, setLevelAndPosition, setPosition, setRemoved, triggerEventareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic net.minecraft.nbt.CompoundNBT save(net.minecraft.nbt.CompoundNBT tag)
save in class net.minecraft.tileentity.TileEntitypublic void save0(net.minecraft.nbt.CompoundNBT tag)
public void load(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT tag)
load in class net.minecraft.tileentity.TileEntitypublic double recalculateFillPercent()
public void setChanged()
setChanged in class net.minecraft.tileentity.TileEntitypublic boolean setValuesFromItem(net.minecraft.item.ItemStack stack)
public void applyValuesToItem(net.minecraft.item.ItemStack stack)
public net.minecraft.nbt.CompoundNBT getUpdateTag()
getUpdateTag in class net.minecraft.tileentity.TileEntitypublic net.minecraft.network.play.server.SUpdateTileEntityPacket getUpdatePacket()
getUpdatePacket in class net.minecraft.tileentity.TileEntitypublic void onDataPacket(net.minecraft.network.NetworkManager network,
net.minecraft.network.play.server.SUpdateTileEntityPacket packet)
public java.awt.Color getColor()
public int getEssence()
public int addEssence(int essence)
public void setEssence(int essence)
public double getFillPercent()
public double getFillPercentDirect()
public boolean isFilled()
public EssenceJarTileEntity setColor(net.minecraft.item.DyeColor dyeColor)
public EssenceJarTileEntity setColor(java.awt.Color color)
public EssenceJarTileEntity setColorName(net.minecraft.item.DyeColor dyeColor)
public EssenceJarTileEntity setColorName(net.minecraft.util.text.IFormattableTextComponent colorName)
public net.minecraft.util.text.IFormattableTextComponent getColorName()