public abstract class TileAlveary extends MultiblockTileEntityForestry<MultiblockLogicAlveary> implements IBeeHousing, IAlvearyComponent, IOwnedTile, IStreamableGui, ITitled, IClimatised
IAlvearyComponent.Active, IAlvearyComponent.BeeListener, IAlvearyComponent.BeeModifier, IAlvearyComponent.ClimatiserIMultiblockComponent.HasInventory| Modifier | Constructor and Description |
|---|---|
protected |
TileAlveary() |
protected |
TileAlveary(BlockAlvearyType type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBlockSeeTheSky() |
net.minecraft.util.math.Vec3d |
getBeeFXCoordinates() |
IBeeHousingInventory |
getBeeInventory() |
IBeekeepingLogic |
getBeekeepingLogic() |
java.lang.Iterable<IBeeListener> |
getBeeListeners()
Used by
IBeeRoot.createBeeHousingListener(IBeeHousing)
to combine bee listeners from several sources that can change over time. |
java.lang.Iterable<IBeeModifier> |
getBeeModifiers()
Used by
IBeeRoot.createBeeHousingModifier(IBeeHousing)
to combine bee modifiers from several sources that can change over time. |
net.minecraft.world.biome.Biome |
getBiome() |
int |
getBlockLightValue() |
<T> T |
getCapability(net.minecraftforge.common.capabilities.Capability<T> capability,
net.minecraft.util.EnumFacing facing) |
net.minecraft.inventory.Container |
getContainer(net.minecraft.entity.player.EntityPlayer player,
int data) |
IErrorLogic |
getErrorLogic() |
float |
getExactHumidity() |
float |
getExactTemperature() |
net.minecraft.client.gui.inventory.GuiContainer |
getGui(net.minecraft.entity.player.EntityPlayer player,
int data) |
EnumHumidity |
getHumidity() |
IInventoryAdapter |
getInternalInventory() |
IOwnerHandler |
getOwnerHandler() |
EnumTemperature |
getTemperature() |
java.lang.String |
getUnlocalizedTitle() |
boolean |
hasCapability(net.minecraftforge.common.capabilities.Capability<?> capability,
net.minecraft.util.EnumFacing facing) |
boolean |
isRaining() |
void |
onMachineAssembled(IMultiblockController multiblockController,
net.minecraft.util.math.BlockPos minCoord,
net.minecraft.util.math.BlockPos maxCoord)
Called when a machine is fully assembled from the disassembled state, meaning
it was constructed by a player/entity action, not by chunks loading.
|
void |
onMachineBroken()
Called when the machine is broken for game reasons, e.g.
|
void |
readGuiData(PacketBufferForestry data) |
boolean |
shouldRefresh(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState oldState,
net.minecraft.block.state.IBlockState newState) |
void |
writeGuiData(PacketBufferForestry data) |
allowsAutomation, canExtractItem, canInsertItem, canSlotAccept, clear, closeInventory, decrStackSize, getDisplayName, getField, getFieldCount, getInventoryStackLimit, getName, getOwner, getSizeInventory, getSlotsForFace, getStackInSlot, getWorldObj, hasCustomName, isEmpty, isItemValidForSlot, isLocked, isUsableByPlayer, openGui, openInventory, readFromNBT, removeStackFromSlot, setField, setInventorySlotContents, setOwner, writeToNBTdecodeDescriptionPacket, encodeDescriptionPacket, getCoordinates, getMultiblockLogic, getUpdatePacket, getUpdateTag, handleUpdateTag, invalidate, onChunkUnload, onDataPacket, validateaddInfoToCrashReport, canRenderBreaking, create, deserializeNBT, getBlockMetadata, getBlockType, getDistanceSq, getKey, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getWorld, hasFastRenderer, hasWorld, isInvalid, markDirty, mirror, onLoad, onlyOpsCanSetNbt, receiveClientEvent, register, restrictNBTCopy, rotate, serializeNBT, setPos, setWorld, setWorldCreate, shouldRenderInPass, updateContainingBlockInfoclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOwnergetCoordinatesgetCoordinates, getWorldObjgetMultiblockLogicgetCoordinates, getOwnerprotected TileAlveary()
protected TileAlveary(BlockAlvearyType type)
public void onMachineAssembled(IMultiblockController multiblockController, net.minecraft.util.math.BlockPos minCoord, net.minecraft.util.math.BlockPos maxCoord)
IMultiblockComponentonMachineAssembled in interface IMultiblockComponentonMachineAssembled in class MultiblockTileEntityBase<MultiblockLogicAlveary>multiblockController - The controller to which this part is being assembled.public boolean shouldRefresh(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState oldState,
net.minecraft.block.state.IBlockState newState)
shouldRefresh in class net.minecraft.tileentity.TileEntitypublic void onMachineBroken()
IMultiblockComponentonMachineBroken in interface IMultiblockComponentonMachineBroken in class MultiblockTileEntityBase<MultiblockLogicAlveary>public boolean hasCapability(net.minecraftforge.common.capabilities.Capability<?> capability,
@Nullable
net.minecraft.util.EnumFacing facing)
hasCapability in interface net.minecraftforge.common.capabilities.ICapabilityProviderhasCapability in class net.minecraft.tileentity.TileEntity@Nullable
public <T> T getCapability(net.minecraftforge.common.capabilities.Capability<T> capability,
@Nullable
net.minecraft.util.EnumFacing facing)
getCapability in interface net.minecraftforge.common.capabilities.ICapabilityProvidergetCapability in class net.minecraft.tileentity.TileEntitypublic net.minecraft.world.biome.Biome getBiome()
getBiome in interface IClimateProviderpublic java.lang.Iterable<IBeeModifier> getBeeModifiers()
IBeeHousingIBeeRoot.createBeeHousingModifier(IBeeHousing)
to combine bee modifiers from several sources that can change over time.getBeeModifiers in interface IBeeHousingpublic java.lang.Iterable<IBeeListener> getBeeListeners()
IBeeHousingIBeeRoot.createBeeHousingListener(IBeeHousing)
to combine bee listeners from several sources that can change over time.getBeeListeners in interface IBeeHousingpublic IBeeHousingInventory getBeeInventory()
getBeeInventory in interface IBeeHousingpublic IBeekeepingLogic getBeekeepingLogic()
getBeekeepingLogic in interface IBeeHousingpublic net.minecraft.util.math.Vec3d getBeeFXCoordinates()
getBeeFXCoordinates in interface IBeeHousingpublic EnumTemperature getTemperature()
getTemperature in interface IClimateProvidergetTemperature in interface IClimatisedpublic EnumHumidity getHumidity()
getHumidity in interface IClimateProvidergetHumidity in interface IClimatisedpublic int getBlockLightValue()
getBlockLightValue in interface IBeeHousingpublic boolean canBlockSeeTheSky()
canBlockSeeTheSky in interface IBeeHousingpublic boolean isRaining()
isRaining in interface IBeeHousingpublic IErrorLogic getErrorLogic()
getErrorLogic in interface IErrorLogicSourcepublic IOwnerHandler getOwnerHandler()
getOwnerHandler in interface IOwnedTilepublic IInventoryAdapter getInternalInventory()
getInternalInventory in class MultiblockTileEntityForestry<MultiblockLogicAlveary>public java.lang.String getUnlocalizedTitle()
getUnlocalizedTitle in interface ITitledpublic float getExactTemperature()
getExactTemperature in interface IClimatisedpublic float getExactHumidity()
getExactHumidity in interface IClimatisedpublic void writeGuiData(PacketBufferForestry data)
writeGuiData in interface IStreamableGuipublic void readGuiData(PacketBufferForestry data) throws java.io.IOException
readGuiData in interface IStreamableGuijava.io.IOExceptionpublic net.minecraft.client.gui.inventory.GuiContainer getGui(net.minecraft.entity.player.EntityPlayer player,
int data)
getGui in interface IGuiHandlerTilepublic net.minecraft.inventory.Container getContainer(net.minecraft.entity.player.EntityPlayer player,
int data)
getContainer in interface IGuiHandlerTile