public class ConfigurableBlockSapling extends net.minecraft.block.BlockSapling 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 |
|---|
ConfigurableBlockSapling(ExtendedConfig eConfig,
net.minecraft.block.material.Material material)
Make a new block instance.
|
| Modifier and Type | Method and Description |
|---|---|
int |
damageDropped(int meta) |
void |
func_149878_d(net.minecraft.world.World world,
int x,
int y,
int z,
java.util.Random random) |
boolean |
func_149880_a(net.minecraft.world.World world,
int x,
int y,
int z,
int meta) |
ExtendedConfig<?> |
getConfig() |
net.minecraft.util.IIcon |
getIcon(int par1,
int par2) |
void |
getSubBlocks(net.minecraft.item.Item item,
net.minecraft.creativetab.CreativeTabs creativeTabs,
java.util.List list) |
java.lang.String |
getTextureName() |
void |
registerBlockIcons(net.minecraft.client.renderer.texture.IIconRegister iconRegister) |
func_149851_a, func_149852_a, func_149853_b, func_149879_c, updateTickcanBlockStay, canPlaceBlockAt, canPlaceBlockOn, checkAndDropBlock, getCollisionBoundingBoxFromPool, getPlant, getPlantMetadata, getPlantType, getRenderType, isOpaqueCube, onNeighborBlockChange, renderAsNormalBlockaddCollisionBoxesToList, addDestroyEffects, addHitEffects, beginLeavesDecay, breakBlock, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInPass, canReplace, canSilkHarvest, canSilkHarvest, canSustainLeaves, canSustainPlant, captureDrops, collisionRayTrace, colorMultiplier, createStackedBlock, createTileEntity, 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, getComparatorInputOverride, getCreativeTabToDisplayOn, getDamageValue, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIcon, getIdFromBlock, getItem, getItemDropped, getItemIconName, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMixedBrightnessForBlock, getMobilityFlag, getPickBlock, 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, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockEventReceived, onBlockExploded, onBlockHarvested, onBlockPlaced, onBlockPlacedBy, onBlockPreDestroy, onEntityCollidedWithBlock, onEntityWalking, onFallenUpon, onNeighborChange, onPlantGrow, onPostBlockPlaced, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, recolourBlock, registerBlocks, removedByPlayer, removedByPlayer, rotateBlock, setBedOccupied, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockName, setBlockTextureName, setBlockUnbreakable, setCreativeTab, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, shouldCheckWeakPower, shouldSideBeRendered, tickRate, velocityToAddToEntityprotected ExtendedConfig eConfig
public ConfigurableBlockSapling(ExtendedConfig eConfig, net.minecraft.block.material.Material material)
eConfig - Config for this block.material - Material of 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.BlockSaplingpublic net.minecraft.util.IIcon getIcon(int par1,
int par2)
getIcon in class net.minecraft.block.BlockSaplingpublic void getSubBlocks(net.minecraft.item.Item item,
net.minecraft.creativetab.CreativeTabs creativeTabs,
java.util.List list)
getSubBlocks in class net.minecraft.block.BlockSaplingpublic int damageDropped(int meta)
damageDropped in class net.minecraft.block.BlockSaplingpublic boolean func_149880_a(net.minecraft.world.World world,
int x,
int y,
int z,
int meta)
func_149880_a in class net.minecraft.block.BlockSaplingpublic void func_149878_d(net.minecraft.world.World world,
int x,
int y,
int z,
java.util.Random random)
func_149878_d in class net.minecraft.block.BlockSapling