public class SpiritFurnace extends ConfigurableBlockContainerGuiTankInfo implements CubeDetector.IDetectionListener
eConfig, hasGui, isInventoryBlock, pass, random, renderer, sideIconsblockConstructorCalled, blockHardness, blockIcon, blockMaterial, blockParticleGravity, blockRegistry, blockResistance, canBlockGrass, capturedDrops, captureDrops, delegate, enableStats, harvesters, isBlockContainer, lightOpacity, lightValue, maxX, maxY, maxZ, minX, minY, minZ, needsRandomTick, opaque, slipperiness, soundTypeAnvil, soundTypeCloth, soundTypeGlass, soundTypeGrass, soundTypeGravel, soundTypeLadder, soundTypeMetal, soundTypePiston, soundTypeSand, soundTypeSnow, soundTypeStone, soundTypeWood, stepSound, textureName, useNeighborBrightnessBLOCK_PREFIX, INFO_PREFIX, ITEM_PREFIX| Modifier and Type | Method and Description |
|---|---|
net.minecraft.util.IIcon |
getIcon(int side,
int meta) |
static SpiritFurnace |
getInstance()
Get the unique instance.
|
net.minecraft.item.Item |
getItemDropped(int par1,
java.util.Random random,
int zero) |
int |
getMaxCapacity()
Get the maximum capacity possible for this item/block type.
|
java.lang.String |
getTankNBTName()
Get the NBT name for the inner tank.
|
static void |
initInstance(ExtendedConfig<BlockConfig> eConfig)
Initialise the configurable.
|
boolean |
onBlockActivated(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.entity.player.EntityPlayer entityplayer,
int par6,
float par7,
float par8,
float par9) |
void |
onBlockAdded(net.minecraft.world.World world,
int x,
int y,
int z) |
void |
onBlockPreDestroy(net.minecraft.world.World world,
int x,
int y,
int z,
int meta) |
void |
onDetect(net.minecraft.world.World world,
ILocation location,
Size size,
boolean valid,
ILocation originCorner)
Called when a new structure has been detected.
|
void |
registerBlockIcons(net.minecraft.client.renderer.texture.IIconRegister iconRegister) |
getComparatorInputOverride, getInfo, getTankCapacity, hasComparatorInputOverride, isActivatable, isActivated, provideInformation, setTankCapacity, setTankCapacity, toggleActivationgetContainer, getGUI, getGuiID, onPostBlockDestroyed, renderAsNormalBlock, setContainer, setGUI, tryCloseClientGuibreakBlock, createNewTileEntity, getConfig, getDrops, getGuiTexture, getGuiTexture, getIcon, getIcon, getPickBlock, getRenderBlocks, getRenderPasses, getRenderType, getTextureName, getTileEntity, hasGui, isKeepNBTOnDrop, isOpaqueCube, isRotatable, onBlockDestroyedByExplosion, onBlockPlacedBy, onPreBlockDestroyed, rotateBlock, saveNBTToDroppedItem, setInventoryBlock, setRenderBlocks, setRenderPass, setRotatable, shouldRender, updateTileEntity, writeAdditionalInfoaddCollisionBoxesToList, addDestroyEffects, addHitEffects, beginLeavesDecay, canBeReplacedByLeaves, canBlockStay, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInPass, canReplace, canSilkHarvest, canSilkHarvest, canSustainLeaves, canSustainPlant, captureDrops, collisionRayTrace, colorMultiplier, createStackedBlock, createTileEntity, damageDropped, disableStats, dropBlockAsItem, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, fillWithRain, func_149698_L, func_149730_j, func_149735_b, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockById, getBlockColor, getBlockFromItem, getBlockFromName, getBlockHardness, getBlocksMovement, getBlockTextureFromSide, getCanBlockGrass, getCollisionBoundingBoxFromPool, getCreativeTabToDisplayOn, getDamageValue, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemIconName, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMixedBrightnessForBlock, getMobilityFlag, getPickBlock, getPlayerRelativeBlockHardness, getRenderBlockPass, getRenderColor, getSelectedBoundingBoxFromPool, getSubBlocks, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, harvestBlock, hasTileEntity, hasTileEntity, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBlockSolid, isBurning, isCollidable, isEqualTo, isFertile, isFireSource, isFlammable, isFlowerPot, isFoliage, isLadder, isLeaves, isNormalCube, isNormalCube, isProvidingStrongPower, isProvidingWeakPower, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isWood, onBlockClicked, onBlockDestroyedByPlayer, onBlockExploded, onBlockHarvested, onBlockPlaced, onEntityCollidedWithBlock, onEntityWalking, onFallenUpon, onNeighborBlockChange, onNeighborChange, onPlantGrow, onPostBlockPlaced, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, recolourBlock, registerBlocks, removedByPlayer, removedByPlayer, setBedOccupied, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockName, setBlockTextureName, setBlockUnbreakable, setCreativeTab, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, shouldCheckWeakPower, shouldSideBeRendered, tickRate, updateTick, velocityToAddToEntityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGuiTexture, getGuiTexturepublic static void initInstance(ExtendedConfig<BlockConfig> eConfig)
eConfig - The config.public static SpiritFurnace getInstance()
public boolean onBlockActivated(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.entity.player.EntityPlayer entityplayer,
int par6,
float par7,
float par8,
float par9)
onBlockActivated in class ConfigurableBlockContainerGuiTankInfopublic void registerBlockIcons(net.minecraft.client.renderer.texture.IIconRegister iconRegister)
registerBlockIcons in class ConfigurableBlockContainerpublic net.minecraft.util.IIcon getIcon(int side,
int meta)
getIcon in class ConfigurableBlockContainerpublic net.minecraft.item.Item getItemDropped(int par1,
java.util.Random random,
int zero)
getItemDropped in class net.minecraft.block.Blockpublic java.lang.String getTankNBTName()
IBlockTankgetTankNBTName in interface IBlockTankpublic int getMaxCapacity()
IBlockTankIBlockTank.getTankCapacity(ItemStack)
if this capacity is variable.getMaxCapacity in interface IBlockTankpublic void onBlockAdded(net.minecraft.world.World world,
int x,
int y,
int z)
onBlockAdded in class net.minecraft.block.BlockContainerpublic void onBlockPreDestroy(net.minecraft.world.World world,
int x,
int y,
int z,
int meta)
onBlockPreDestroy in class net.minecraft.block.Blockpublic void onDetect(net.minecraft.world.World world,
ILocation location,
Size size,
boolean valid,
ILocation originCorner)
CubeDetector.IDetectionListeneronDetect in interface CubeDetector.IDetectionListenerworld - The world.location - The location of a block of the structure.size - The size of the structure.valid - True if the structure should be validated, false if it should be invalidated.originCorner - The origin corner block of the structure.