public class BlockOldLeaf extends BlockLeaves
Block.EnumOffsetType
IForgeRegistryEntry.Impl<T extends IForgeRegistryEntry<T>>
Modifier and Type | Field and Description |
---|---|
static PropertyEnum<BlockPlanks.EnumType> |
VARIANT |
CHECK_DECAY, DECAYABLE, leavesFancy
BLOCK_STATE_IDS, blockHardness, blockMapColor, blockMaterial, blockParticleGravity, blockResistance, blockSoundType, blockState, capturedDrops, captureDrops, enableStats, FULL_BLOCK_AABB, fullBlock, harvesters, isBlockContainer, lightOpacity, lightValue, needsRandomTick, NULL_AABB, RANDOM, REGISTRY, slipperiness, translucent, useNeighborBrightness
delegate
Constructor and Description |
---|
BlockOldLeaf() |
Modifier and Type | Method and Description |
---|---|
protected BlockStateContainer |
createBlockState() |
protected ItemStack |
createStackedBlock(IBlockState state) |
int |
damageDropped(IBlockState state) |
protected void |
dropApple(World worldIn,
BlockPos pos,
IBlockState state,
int chance) |
int |
getMetaFromState(IBlockState state) |
protected int |
getSaplingDropChance(IBlockState state) |
IBlockState |
getStateFromMeta(int meta) |
void |
getSubBlocks(Item itemIn,
CreativeTabs tab,
java.util.List<ItemStack> list) |
BlockPlanks.EnumType |
getWoodType(int meta) |
void |
harvestBlock(World worldIn,
EntityPlayer player,
BlockPos pos,
IBlockState state,
TileEntity te,
ItemStack stack) |
java.util.List<ItemStack> |
onSheared(ItemStack item,
IBlockAccess world,
BlockPos pos,
int fortune)
Performs the shear function on this object.
|
beginLeavesDecay, breakBlock, dropBlockAsItemWithChance, getBlockLayer, getDrops, getItemDropped, isLeaves, isOpaqueCube, isShearable, isVisuallyOpaque, quantityDropped, randomDisplayTick, setGraphicsLevel, shouldSideBeRendered, updateTick
addCollisionBoxToList, addCollisionBoxToList, addDestroyEffects, addHitEffects, addInformation, addLandingEffects, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canRenderInLayer, canReplace, canSilkHarvest, canSilkHarvest, canSpawnInBlock, canSustainLeaves, canSustainPlant, captureDrops, collisionRayTrace, createTileEntity, disableStats, doesSideBlockRendering, dropBlockAsItem, dropXpOnBlockBreak, eventReceived, fillWithRain, getActualState, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockState, getBoundingBox, getCollisionBoundingBox, getComparatorInputOverride, getCreativeTabToDisplayOn, getDefaultState, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMobilityFlag, getOffsetType, getPackedLightmapCoords, getPickBlock, getPlayerRelativeBlockHardness, getRenderType, getSelectedBoundingBox, getSoundType, getStateById, getStateId, getStrongPower, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, getWeakPower, hasComparatorInputOverride, hasTileEntity, hasTileEntity, isAABBInsideMaterial, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBlockSolid, isBurning, isCollidable, isEntityInsideMaterial, isEqualTo, isFertile, isFireSource, isFlammable, isFoliage, isFullBlock, isFullCube, isFullyOpaque, isLadder, isNormalCube, isNormalCube, isPassable, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isTranslucent, isWood, modifyAcceleration, neighborChanged, onBlockActivated, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockExploded, onBlockHarvested, onBlockPlaced, onBlockPlacedBy, onEntityCollidedWithBlock, onEntityWalk, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, quantityDropped, quantityDroppedWithBonus, randomTick, rayTrace, recolorBlock, registerBlocks, removedByPlayer, requiresUpdates, rotateBlock, setBedOccupied, setBlockUnbreakable, setCreativeTab, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, spawnAsEntity, tickRate, toString, withMirror, withRotation
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
public static final PropertyEnum<BlockPlanks.EnumType> VARIANT
protected void dropApple(World worldIn, BlockPos pos, IBlockState state, int chance)
dropApple
in class BlockLeaves
protected int getSaplingDropChance(IBlockState state)
getSaplingDropChance
in class BlockLeaves
public void getSubBlocks(Item itemIn, CreativeTabs tab, java.util.List<ItemStack> list)
getSubBlocks
in class Block
protected ItemStack createStackedBlock(IBlockState state)
createStackedBlock
in class Block
public IBlockState getStateFromMeta(int meta)
getStateFromMeta
in class Block
public int getMetaFromState(IBlockState state)
getMetaFromState
in class Block
public BlockPlanks.EnumType getWoodType(int meta)
getWoodType
in class BlockLeaves
protected BlockStateContainer createBlockState()
createBlockState
in class Block
public int damageDropped(IBlockState state)
damageDropped
in class Block
public void harvestBlock(World worldIn, EntityPlayer player, BlockPos pos, IBlockState state, @Nullable TileEntity te, @Nullable ItemStack stack)
harvestBlock
in class Block
public java.util.List<ItemStack> onSheared(ItemStack item, IBlockAccess world, BlockPos pos, int fortune)
IShearable
item
- The itemstack that is being used, Possible to be nullworld
- The current worldpos
- If this is a block, the block's position in world.fortune
- The fortune level of the shears being used