public abstract class ConfigurableBlockLeaves extends net.minecraft.block.BlockLeaves implements IConfigurable
| Modifier and Type | Field and Description |
|---|---|
protected ExtendedConfig |
eConfig |
blockConstructorCalled, 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 |
|---|
ConfigurableBlockLeaves(ExtendedConfig eConfig)
Make a new block instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dropBlockAsItemWithChance(net.minecraft.world.World world,
int x,
int y,
int z,
int meta,
float chance,
int fortune) |
ExtendedConfig<?> |
getConfig() |
net.minecraft.util.IIcon |
getIcon(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z,
int side) |
net.minecraft.util.IIcon |
getIcon(int side,
int meta) |
abstract net.minecraft.item.Item |
getItemDropped(int meta,
java.util.Random random,
int zero) |
void |
getSubBlocks(net.minecraft.item.Item item,
net.minecraft.creativetab.CreativeTabs creativeTabs,
java.util.List list) |
java.lang.String |
getTextureName() |
boolean |
isLeaves(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z) |
boolean |
isOpaqueCube() |
void |
registerBlockIcons(net.minecraft.client.renderer.texture.IIconRegister iconRegister) |
boolean |
renderAsNormalBlock() |
boolean |
shouldSideBeRendered(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z,
int side) |
beginLeavesDecay, breakBlock, colorMultiplier, createStackedBlock, damageDropped, func_150123_b, func_150124_c, func_150125_e, getBlockColor, getDrops, getRenderColor, harvestBlock, isShearable, onSheared, quantityDropped, randomDisplayTick, setGraphicsLevel, updateTickaddCollisionBoxesToList, addDestroyEffects, addHitEffects, canBeReplacedByLeaves, canBlockStay, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInPass, canReplace, canSilkHarvest, canSilkHarvest, canSustainLeaves, canSustainPlant, captureDrops, collisionRayTrace, createTileEntity, disableStats, dropBlockAsItem, dropBlockAsItem, dropXpOnBlockBreak, fillWithRain, func_149698_L, func_149730_j, func_149735_b, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockById, getBlockFromItem, getBlockFromName, getBlockHardness, getBlocksMovement, getBlockTextureFromSide, getCanBlockGrass, getCollisionBoundingBoxFromPool, getComparatorInputOverride, getCreativeTabToDisplayOn, getDamageValue, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemIconName, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMixedBrightnessForBlock, getMobilityFlag, getPickBlock, getPickBlock, getPlayerRelativeBlockHardness, getRenderBlockPass, getRenderType, getSelectedBoundingBoxFromPool, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, hasComparatorInputOverride, hasTileEntity, hasTileEntity, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBlockSolid, isBurning, isCollidable, isEqualTo, isFertile, isFireSource, isFlammable, isFlowerPot, isFoliage, isLadder, isNormalCube, isNormalCube, isProvidingStrongPower, isProvidingWeakPower, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isWood, onBlockActivated, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockEventReceived, onBlockExploded, onBlockHarvested, onBlockPlaced, onBlockPlacedBy, onBlockPreDestroy, onEntityCollidedWithBlock, onEntityWalking, onFallenUpon, onNeighborBlockChange, onNeighborChange, onPlantGrow, onPostBlockPlaced, quantityDropped, quantityDroppedWithBonus, recolourBlock, registerBlocks, removedByPlayer, removedByPlayer, rotateBlock, setBedOccupied, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockName, setBlockTextureName, setBlockUnbreakable, setCreativeTab, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, shouldCheckWeakPower, tickRate, velocityToAddToEntityprotected ExtendedConfig eConfig
public ConfigurableBlockLeaves(ExtendedConfig eConfig)
eConfig - Config for this block.public ExtendedConfig<?> getConfig()
getConfig in interface IConfigurablepublic java.lang.String getTextureName()
getTextureName in class net.minecraft.block.Blockpublic void registerBlockIcons(net.minecraft.client.renderer.texture.IIconRegister iconRegister)
registerBlockIcons in class net.minecraft.block.Blockpublic net.minecraft.util.IIcon getIcon(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z,
int side)
getIcon in class net.minecraft.block.Blockpublic net.minecraft.util.IIcon getIcon(int side,
int meta)
getIcon in class net.minecraft.block.BlockLeavespublic abstract net.minecraft.item.Item getItemDropped(int meta,
java.util.Random random,
int zero)
getItemDropped in class net.minecraft.block.BlockLeavespublic void dropBlockAsItemWithChance(net.minecraft.world.World world,
int x,
int y,
int z,
int meta,
float chance,
int fortune)
dropBlockAsItemWithChance in class net.minecraft.block.BlockLeavespublic boolean isOpaqueCube()
isOpaqueCube in class net.minecraft.block.BlockLeavespublic boolean renderAsNormalBlock()
renderAsNormalBlock in class net.minecraft.block.Blockpublic boolean shouldSideBeRendered(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z,
int side)
shouldSideBeRendered in class net.minecraft.block.BlockLeavesBasepublic void getSubBlocks(net.minecraft.item.Item item,
net.minecraft.creativetab.CreativeTabs creativeTabs,
java.util.List list)
getSubBlocks in class net.minecraft.block.Blockpublic boolean isLeaves(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z)
isLeaves in class net.minecraft.block.BlockLeaves