public class AncientLeavesBlock extends net.minecraft.block.BlockLeaves implements SubBlocksBlock
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
surroundings |
BLOCK_STATE_IDS, blockHardness, blockMapColor, blockMaterial, blockParticleGravity, blockResistance, blockSoundType, blockState, capturedDrops, captureDrops, enableStats, FULL_BLOCK_AABB, fullBlock, harvesters, hasTileEntity, lightOpacity, lightValue, needsRandomTick, NULL_AABB, RANDOM, REGISTRY, slipperiness, translucent, useNeighborBrightness| Constructor and Description |
|---|
AncientLeavesBlock(TreeType type) |
| Modifier and Type | Method and Description |
|---|---|
protected net.minecraft.block.state.BlockStateContainer |
createBlockState() |
int |
damageDropped(net.minecraft.block.state.IBlockState state) |
net.minecraft.util.BlockRenderLayer |
getBlockLayer() |
java.util.List<net.minecraft.item.ItemStack> |
getDrops(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
int fortune) |
net.minecraft.item.ItemBlock |
getItemBlock() |
net.minecraft.item.Item |
getItemDropped(net.minecraft.block.state.IBlockState state,
java.util.Random rand,
int fortune) |
int |
getMetaFromState(net.minecraft.block.state.IBlockState state) |
net.minecraft.block.state.IBlockState |
getStateFromMeta(int meta) |
TreeType |
getTreeType() |
net.minecraft.block.BlockPlanks.EnumType |
getWoodType(int meta) |
boolean |
isOpaqueCube(net.minecraft.block.state.IBlockState state) |
java.util.List<net.minecraft.item.ItemStack> |
onSheared(net.minecraft.item.ItemStack item,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
int fortune) |
boolean |
shouldSideBeRendered(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side) |
void |
updateTick(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
java.util.Random rand) |
beginLeavesDecay, breakBlock, causesSuffocation, dropApple, dropBlockAsItemWithChance, getDrops, getSaplingDropChance, isLeaves, isShearable, quantityDropped, randomDisplayTick, setGraphicsLeveladdCollisionBoxToList, addCollisionBoxToList, addDestroyEffects, addHitEffects, addInformation, addLandingEffects, addRunningEffects, canBeConnectedTo, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canEntitySpawn, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canSilkHarvest, canSilkHarvest, canSpawnInBlock, canSustainLeaves, canSustainPlant, captureDrops, collisionRayTrace, createTileEntity, disableStats, doesSideBlockChestOpening, doesSideBlockRendering, dropBlockAsItem, dropXpOnBlockBreak, eventReceived, fillWithRain, getActualState, getAiPathNodeType, getAmbientOcclusionLightValue, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFaceShape, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockState, getBoundingBox, getCollisionBoundingBox, getComparatorInputOverride, getCreativeTabToDisplayOn, getDefaultState, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getFogColor, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMobilityFlag, getOffset, getOffsetType, getPackedLightmapCoords, getPickBlock, getPlayerRelativeBlockHardness, getRenderType, getSelectedBoundingBox, getSilkTouchDrop, getSlipperiness, getSoundType, getSoundType, getStateById, getStateForPlacement, getStateForPlacement, getStateId, getStrongPower, getSubBlocks, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, getWeakPower, harvestBlock, hasComparatorInputOverride, hasCustomBreakingProgress, hasTileEntity, hasTileEntity, isAABBInsideLiquid, isAABBInsideMaterial, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBurning, isCollidable, isEntityInsideMaterial, isEqualTo, isExceptBlockForAttachWithPiston, isExceptionBlockForAttaching, isFertile, isFireSource, isFlammable, isFoliage, isFullBlock, isFullCube, isLadder, isNormalCube, isNormalCube, isPassable, isReplaceable, isReplaceableOreGen, isSideSolid, isStickyBlock, isToolEffective, isTopSolid, isTranslucent, isWood, modifyAcceleration, neighborChanged, observedNeighborChange, onBlockActivated, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockExploded, onBlockHarvested, onBlockPlacedBy, onEntityCollidedWithBlock, onEntityWalk, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, quantityDropped, quantityDroppedWithBonus, randomTick, rayTrace, recolorBlock, registerBlocks, removedByPlayer, requiresUpdates, rotateBlock, setBedOccupied, setBlockUnbreakable, setCreativeTab, setDefaultSlipperiness, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, spawnAsEntity, tickRate, toString, withMirror, withRotationpublic AncientLeavesBlock(TreeType type)
public TreeType getTreeType()
public void updateTick(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
java.util.Random rand)
updateTick in class net.minecraft.block.BlockLeavespublic boolean isOpaqueCube(net.minecraft.block.state.IBlockState state)
isOpaqueCube in class net.minecraft.block.BlockLeavespublic net.minecraft.util.BlockRenderLayer getBlockLayer()
getBlockLayer in class net.minecraft.block.BlockLeavespublic boolean shouldSideBeRendered(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side)
shouldSideBeRendered in class net.minecraft.block.BlockLeavespublic java.util.List<net.minecraft.item.ItemStack> getDrops(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
int fortune)
getDrops in class net.minecraft.block.Blockpublic net.minecraft.item.Item getItemDropped(net.minecraft.block.state.IBlockState state,
java.util.Random rand,
int fortune)
getItemDropped in class net.minecraft.block.BlockLeavespublic net.minecraft.block.state.IBlockState getStateFromMeta(int meta)
getStateFromMeta in class net.minecraft.block.Blockpublic int getMetaFromState(net.minecraft.block.state.IBlockState state)
getMetaFromState in class net.minecraft.block.Blockprotected net.minecraft.block.state.BlockStateContainer createBlockState()
createBlockState in class net.minecraft.block.Blockpublic int damageDropped(net.minecraft.block.state.IBlockState state)
damageDropped in class net.minecraft.block.Blockpublic java.util.List<net.minecraft.item.ItemStack> onSheared(net.minecraft.item.ItemStack item,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
int fortune)
onSheared in interface net.minecraftforge.common.IShearablepublic net.minecraft.block.BlockPlanks.EnumType getWoodType(int meta)
getWoodType in class net.minecraft.block.BlockLeavespublic net.minecraft.item.ItemBlock getItemBlock()
getItemBlock in interface SubBlocksBlock