public abstract class BasicEnergyTileEntity extends BasicTickableTileEntity
Modifier and Type | Field and Description |
---|---|
protected info.u_team.u_team_core.energy.BasicEnergyStorage |
internalEnergyStorage |
protected net.minecraftforge.common.util.LazyOptional<info.u_team.u_team_core.energy.BasicEnergyStorage> |
internalEnergyStorageOptional |
Constructor and Description |
---|
BasicEnergyTileEntity(net.minecraft.tileentity.TileEntityType<?> type,
int capacity,
int maxReceive,
int maxExtract) |
BasicEnergyTileEntity(net.minecraft.tileentity.TileEntityType<?> type,
int capacity,
int maxReceive,
int maxExtract,
int currentEnergy) |
Modifier and Type | Method and Description |
---|---|
info.u_team.u_team_core.energy.BasicEnergyStorage |
getInternalEnergyStorage() |
net.minecraftforge.common.util.LazyOptional<info.u_team.u_team_core.energy.BasicEnergyStorage> |
getInternalEnergyStorageOptional() |
void |
readNBT(net.minecraft.nbt.CompoundNBT compound) |
void |
remove() |
void |
writeNBT(net.minecraft.nbt.CompoundNBT compound) |
tick, tickClient, tickServer
getUpdatePacket, getUpdateTag, handleChunkLoadData, handleUpdateStateData, handleUpdateTag, onDataPacket, read, sendChangesToClient, sendChangesToClient, sendChunkLoadData, sendUpdateStateData, write
addInfoToCrashReport, create, getBlockState, getDistanceSq, getMaxRenderDistanceSquared, getPos, getTileData, getType, getWorld, hasWorld, isRemoved, markDirty, mirror, onlyOpsCanSetNbt, receiveClientEvent, rotate, setPos, setWorld, updateContainingBlockInfo, validate, warnInvalidBlock
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected final info.u_team.u_team_core.energy.BasicEnergyStorage internalEnergyStorage
protected final net.minecraftforge.common.util.LazyOptional<info.u_team.u_team_core.energy.BasicEnergyStorage> internalEnergyStorageOptional
public BasicEnergyTileEntity(net.minecraft.tileentity.TileEntityType<?> type, int capacity, int maxReceive, int maxExtract)
public BasicEnergyTileEntity(net.minecraft.tileentity.TileEntityType<?> type, int capacity, int maxReceive, int maxExtract, int currentEnergy)
public void writeNBT(net.minecraft.nbt.CompoundNBT compound)
writeNBT
in class info.u_team.u_team_core.tileentity.UTileEntity
public void readNBT(net.minecraft.nbt.CompoundNBT compound)
readNBT
in class info.u_team.u_team_core.tileentity.UTileEntity
public void remove()
remove
in class net.minecraft.tileentity.TileEntity
public info.u_team.u_team_core.energy.BasicEnergyStorage getInternalEnergyStorage()
public net.minecraftforge.common.util.LazyOptional<info.u_team.u_team_core.energy.BasicEnergyStorage> getInternalEnergyStorageOptional()