public abstract class ConfigurableBlockWithInnerBlocksExtended extends ConfigurableBlockContainer
| Modifier and Type | Class and Description |
|---|---|
static class |
ConfigurableBlockWithInnerBlocksExtended.InvalidInnerBlocksTileException
Exception that can occur when the tile is invalid.
|
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, useNeighborBrightness| Constructor and Description |
|---|
ConfigurableBlockWithInnerBlocksExtended(ExtendedConfig eConfig,
net.minecraft.block.material.Material material,
java.lang.Class<? extends InnerBlocksTileEntity> tileEntity)
Make a new block instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSetInnerBlock(net.minecraft.block.Block block,
net.minecraft.world.IBlockAccess world,
int x,
int y,
int z)
If the given block can be set to an inner block of this.
|
int |
colorMultiplier(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z) |
float |
getBlockHardness(net.minecraft.world.World world,
int x,
int y,
int z) |
net.minecraft.util.IIcon |
getIcon(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z,
int side) |
net.minecraft.item.ItemStack |
getPickBlock(net.minecraft.util.MovingObjectPosition target,
net.minecraft.world.World world,
int x,
int y,
int z) |
void |
getSubBlocks(net.minecraft.item.Item item,
net.minecraft.creativetab.CreativeTabs creativeTabs,
java.util.List list) |
InnerBlocksTileEntity |
getTile(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z)
Get the tile entity.
|
boolean |
removedByPlayer(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
int x,
int y,
int z,
boolean willHarvest) |
boolean |
saveNBTToDroppedItem()
If the NBT data of this tile entity should be added to the dropped block.
|
boolean |
setInnerBlock(net.minecraft.world.World world,
ILocation location)
Convert the block at the given location to an inner block of this.
|
boolean |
setInnerBlock(net.minecraft.world.World world,
int x,
int y,
int z)
Convert the block at the given location to an inner block of this.
|
net.minecraft.block.Block |
unwrapInnerBlock(net.minecraft.world.World world,
ILocation location)
Unwrap the inner block from this block.
|
net.minecraft.block.Block |
unwrapInnerBlock(net.minecraft.world.World world,
int x,
int y,
int z)
Try to unwrap the inner block from this block.
|
breakBlock, createNewTileEntity, getConfig, getDrops, getGuiTexture, getGuiTexture, getIcon, getIcon, getRenderBlocks, getRenderPasses, getRenderType, getTextureName, getTileEntity, hasGui, isKeepNBTOnDrop, isOpaqueCube, isRotatable, onBlockDestroyedByExplosion, onBlockPlacedBy, onPostBlockDestroyed, onPreBlockDestroyed, registerBlockIcons, rotateBlock, 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, 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, getBlocksMovement, getBlockTextureFromSide, getCanBlockGrass, getCollisionBoundingBoxFromPool, getComparatorInputOverride, getCreativeTabToDisplayOn, getDamageValue, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemDropped, getItemIconName, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMixedBrightnessForBlock, getMobilityFlag, getPickBlock, getPlayerRelativeBlockHardness, getRenderBlockPass, getRenderColor, getSelectedBoundingBoxFromPool, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, harvestBlock, hasComparatorInputOverride, 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, onBlockActivated, onBlockClicked, onBlockDestroyedByPlayer, onBlockExploded, onBlockHarvested, onBlockPlaced, onBlockPreDestroy, onEntityCollidedWithBlock, onEntityWalking, onFallenUpon, onNeighborBlockChange, onNeighborChange, onPlantGrow, onPostBlockPlaced, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, recolourBlock, registerBlocks, removedByPlayer, renderAsNormalBlock, setBedOccupied, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockName, setBlockTextureName, setBlockUnbreakable, setCreativeTab, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, shouldCheckWeakPower, shouldSideBeRendered, tickRate, updateTick, velocityToAddToEntitypublic ConfigurableBlockWithInnerBlocksExtended(ExtendedConfig eConfig, net.minecraft.block.material.Material material, java.lang.Class<? extends InnerBlocksTileEntity> tileEntity)
eConfig - Config for this block.material - Material of this block.tileEntity - The tile classpublic void getSubBlocks(net.minecraft.item.Item item,
net.minecraft.creativetab.CreativeTabs creativeTabs,
java.util.List list)
getSubBlocks in class net.minecraft.block.Blockpublic boolean saveNBTToDroppedItem()
ConfigurableBlockContainersaveNBTToDroppedItem in class ConfigurableBlockContainerpublic InnerBlocksTileEntity getTile(net.minecraft.world.IBlockAccess world, int x, int y, int z) throws ConfigurableBlockWithInnerBlocksExtended.InvalidInnerBlocksTileException
world - The world.x - Xy - Yz - ZConfigurableBlockWithInnerBlocksExtended.InvalidInnerBlocksTileException - If the found tile was invalid or no InnerBlocksTileEntity.public net.minecraft.util.IIcon getIcon(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z,
int side)
getIcon in class ConfigurableBlockContainerpublic boolean removedByPlayer(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
int x,
int y,
int z,
boolean willHarvest)
removedByPlayer in class net.minecraft.block.Blockpublic int colorMultiplier(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z)
colorMultiplier in class net.minecraft.block.Blockpublic net.minecraft.item.ItemStack getPickBlock(net.minecraft.util.MovingObjectPosition target,
net.minecraft.world.World world,
int x,
int y,
int z)
getPickBlock in class ConfigurableBlockContainerpublic float getBlockHardness(net.minecraft.world.World world,
int x,
int y,
int z)
getBlockHardness in class net.minecraft.block.Blockpublic boolean setInnerBlock(net.minecraft.world.World world,
ILocation location)
world - The world.location - The location.public boolean setInnerBlock(net.minecraft.world.World world,
int x,
int y,
int z)
world - The world.x - Xy - Yz - Zpublic net.minecraft.block.Block unwrapInnerBlock(net.minecraft.world.World world,
ILocation location)
world - The world.location - The location.public net.minecraft.block.Block unwrapInnerBlock(net.minecraft.world.World world,
int x,
int y,
int z)
world - The world.x - Xy - Yz - Zpublic boolean canSetInnerBlock(net.minecraft.block.Block block,
net.minecraft.world.IBlockAccess world,
int x,
int y,
int z)
block - The block to set as inner block.world - The world.x - Xy - Yz - Z