public class BoxOfEternalClosure extends ConfigurableBlockContainer implements IInformationProvider, IBlockRarityProvider
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 |
|---|---|
boolean |
canPlaceBlockAt(net.minecraft.world.World world,
int x,
int y,
int z) |
int |
getComparatorInputOverride(net.minecraft.world.World world,
int x,
int y,
int z,
int side) |
net.minecraft.util.IIcon |
getIcon(int side,
int meta) |
java.lang.String |
getInfo(net.minecraft.item.ItemStack itemStack)
Get info for a given itemStack.
|
static BoxOfEternalClosure |
getInstance()
Get the unique instance.
|
int |
getLightValue(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z) |
net.minecraft.item.EnumRarity |
getRarity(net.minecraft.item.ItemStack itemStack) |
int |
getRenderType() |
int |
getSpiritID(net.minecraft.item.ItemStack itemStack)
Get the ID of an inner spirit, can be -1.
|
java.lang.String |
getSpiritName(net.minecraft.item.ItemStack itemStack)
Get the name of an inner spirit, can be null.
|
void |
getSubBlocks(net.minecraft.item.Item item,
net.minecraft.creativetab.CreativeTabs creativeTabs,
java.util.List list) |
boolean |
hasComparatorInputOverride() |
static void |
initInstance(ExtendedConfig<BlockConfig> eConfig)
Initialise the configurable.
|
boolean |
isOpaqueCube() |
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 |
onNeighborBlockChange(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.block.Block block) |
void |
provideInformation(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.player.EntityPlayer entityPlayer,
java.util.List list,
boolean par4)
An extended way to provide additional information.
|
void |
registerBlockIcons(net.minecraft.client.renderer.texture.IIconRegister iconRegister) |
boolean |
renderAsNormalBlock() |
void |
setBlockBoundsBasedOnState(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z) |
static void |
setVengeanceSwarmContent(net.minecraft.item.ItemStack itemStack)
Put a vengeance swarm inside the given box.
|
breakBlock, createNewTileEntity, getConfig, getDrops, getGuiTexture, getGuiTexture, getIcon, getIcon, getPickBlock, getRenderBlocks, getRenderPasses, getTextureName, getTileEntity, hasGui, isKeepNBTOnDrop, isRotatable, onBlockDestroyedByExplosion, onBlockPlacedBy, onPostBlockDestroyed, onPreBlockDestroyed, rotateBlock, saveNBTToDroppedItem, setInventoryBlock, setRenderBlocks, setRenderPass, setRotatable, shouldRender, updateTileEntity, writeAdditionalInfoaddCollisionBoxesToList, addDestroyEffects, addHitEffects, beginLeavesDecay, canBeReplacedByLeaves, canBlockStay, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, 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, getItemDropped, getItemIconName, getLightOpacity, getLightOpacity, getLightValue, getLocalizedName, getMapColor, getMaterial, getMixedBrightnessForBlock, getMobilityFlag, getPickBlock, getPlayerRelativeBlockHardness, getRenderBlockPass, getRenderColor, getSelectedBoundingBoxFromPool, 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, onBlockPreDestroy, onEntityCollidedWithBlock, onEntityWalking, onFallenUpon, onNeighborChange, onPlantGrow, onPostBlockPlaced, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, recolourBlock, registerBlocks, removedByPlayer, removedByPlayer, setBedOccupied, setBlockBounds, setBlockBoundsForItemRender, setBlockName, setBlockTextureName, setBlockUnbreakable, setCreativeTab, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, shouldCheckWeakPower, shouldSideBeRendered, tickRate, updateTick, velocityToAddToEntitypublic static void initInstance(ExtendedConfig<BlockConfig> eConfig)
eConfig - The config.public static BoxOfEternalClosure getInstance()
public 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 void setBlockBoundsBasedOnState(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z)
setBlockBoundsBasedOnState in class net.minecraft.block.Blockpublic int getRenderType()
getRenderType in class ConfigurableBlockContainerpublic boolean isOpaqueCube()
isOpaqueCube in class ConfigurableBlockContainerpublic boolean renderAsNormalBlock()
renderAsNormalBlock in class net.minecraft.block.Blockpublic int getSpiritID(net.minecraft.item.ItemStack itemStack)
itemStack - The item stack.public java.lang.String getSpiritName(net.minecraft.item.ItemStack itemStack)
itemStack - The item stack.public static void setVengeanceSwarmContent(net.minecraft.item.ItemStack itemStack)
itemStack - The box.public java.lang.String getInfo(net.minecraft.item.ItemStack itemStack)
IInformationProvidergetInfo in interface IInformationProvideritemStack - The itemStack that must be given information.public void provideInformation(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.player.EntityPlayer entityPlayer,
java.util.List list,
boolean par4)
IInformationProviderprovideInformation in interface IInformationProvideritemStack - The itemStack that must be given information.entityPlayer - The player that asks for information.list - The list of information.par4 - No idea...public boolean canPlaceBlockAt(net.minecraft.world.World world,
int x,
int y,
int z)
canPlaceBlockAt in class net.minecraft.block.Blockpublic void onNeighborBlockChange(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.block.Block block)
onNeighborBlockChange in class net.minecraft.block.Blockpublic 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 net.minecraft.block.Blockpublic int getLightValue(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z)
getLightValue in class net.minecraft.block.Blockpublic void getSubBlocks(net.minecraft.item.Item item,
net.minecraft.creativetab.CreativeTabs creativeTabs,
java.util.List list)
getSubBlocks in class net.minecraft.block.Blockpublic net.minecraft.item.EnumRarity getRarity(net.minecraft.item.ItemStack itemStack)
getRarity in interface IBlockRarityProvideritemStack - The itemstack with this block.public boolean hasComparatorInputOverride()
hasComparatorInputOverride in class net.minecraft.block.Blockpublic int getComparatorInputOverride(net.minecraft.world.World world,
int x,
int y,
int z,
int side)
getComparatorInputOverride in class net.minecraft.block.Block