public class BlockForestryLeaves extends BlockAbstractLeaves implements net.minecraft.block.ITileEntityProvider, net.minecraft.block.IGrowable
CHECK_DECAY_FLAG, DECAYABLE_FLAG, FOLIAGE_COLOR_INDEX, FRUIT_COLOR_INDEXBLOCK_STATE_IDS, blockHardness, blockMapColor, blockParticleGravity, blockResistance, blockSoundType, blockState, capturedDrops, captureDrops, enableStats, FULL_BLOCK_AABB, fullBlock, harvesters, hasTileEntity, lightOpacity, lightValue, material, needsRandomTick, NULL_AABB, RANDOM, REGISTRY, slipperiness, translucent, useNeighborBrightness| Constructor and Description |
|---|
BlockForestryLeaves() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canGrow(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
boolean isClient) |
boolean |
canUseBonemeal(net.minecraft.world.World worldIn,
java.util.Random rand,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state) |
int |
colorMultiplier(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess worldIn,
net.minecraft.util.math.BlockPos pos,
int tintIndex) |
protected net.minecraft.block.state.BlockStateContainer |
createBlockState() |
net.minecraft.tileentity.TileEntity |
createNewTileEntity(net.minecraft.world.World world,
int meta) |
net.minecraft.block.state.IBlockState |
getExtendedState(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos) |
protected void |
getLeafDrop(net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> drops,
net.minecraft.world.World world,
com.mojang.authlib.GameProfile playerProfile,
net.minecraft.util.math.BlockPos pos,
float saplingModifier,
int fortune) |
int |
getMetaFromState(net.minecraft.block.state.IBlockState state) |
net.minecraft.block.state.IBlockState |
getStateFromMeta(int meta) |
protected ITree |
getTree(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos) |
void |
grow(net.minecraft.world.World world,
java.util.Random rand,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state) |
boolean |
onBlockActivated(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand,
net.minecraft.util.EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
void |
registerModel(net.minecraft.item.Item item,
IModelManager manager) |
void |
updateTick(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
java.util.Random rand) |
getCollisionBoundingBox, getDrops, getFireSpreadSpeed, getFlammability, getPickBlock, getRenderLayer, getSubBlocks, getWoodType, isFlammable, isOpaqueCube, onBlockHarvested, onEntityCollision, onSheared, shouldSideBeRenderedbeginLeavesDecay, breakBlock, causesSuffocation, dropApple, dropBlockAsItemWithChance, getItemDropped, 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, damageDropped, disableStats, doesSideBlockChestOpening, doesSideBlockRendering, dropBlockAsItem, dropXpOnBlockBreak, eventReceived, fillWithRain, getActualState, getAiPathNodeType, getAiPathNodeType, getAmbientOcclusionLightValue, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFaceShape, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockLiquidHeight, getBlockState, getBoundingBox, getComparatorInputOverride, getCreativeTab, getDefaultState, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getFogColor, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getOffset, getOffsetType, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getPushReaction, getRenderType, getSelectedBoundingBox, getSilkTouchDrop, getSlipperiness, getSoundType, getSoundType, getStateAtViewpoint, getStateById, getStateForPlacement, getStateForPlacement, getStateId, getStrongPower, getTickRandomly, getTranslationKey, 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, isFoliage, isFullBlock, isFullCube, isLadder, isNormalCube, isNormalCube, isPassable, isReplaceable, isReplaceableOreGen, isSideSolid, isStickyBlock, isToolEffective, isTopSolid, isTranslucent, isWood, modifyAcceleration, neighborChanged, observedNeighborChange, onBlockAdded, onBlockClicked, onBlockExploded, onBlockPlacedBy, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, onPlayerDestroy, quantityDropped, quantityDroppedWithBonus, randomTick, rayTrace, recolorBlock, registerBlocks, removedByPlayer, requiresUpdates, rotateBlock, setBedOccupied, setBlockUnbreakable, setCreativeTab, setDefaultSlipperiness, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setTranslationKey, shouldCheckWeakPower, spawnAsEntity, tickRate, toString, withMirror, withRotationprotected net.minecraft.block.state.BlockStateContainer createBlockState()
createBlockState in class net.minecraft.block.Blockprotected ITree getTree(net.minecraft.world.IBlockAccess world, net.minecraft.util.math.BlockPos pos)
getTree in class BlockAbstractLeavespublic void updateTick(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
java.util.Random rand)
updateTick in class BlockAbstractLeavespublic int getMetaFromState(net.minecraft.block.state.IBlockState state)
getMetaFromState in class BlockAbstractLeavespublic net.minecraft.block.state.IBlockState getStateFromMeta(int meta)
getStateFromMeta in class BlockAbstractLeavespublic net.minecraft.block.state.IBlockState getExtendedState(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos)
getExtendedState in class net.minecraft.block.Blockpublic net.minecraft.tileentity.TileEntity createNewTileEntity(net.minecraft.world.World world,
int meta)
createNewTileEntity in interface net.minecraft.block.ITileEntityProviderprotected void getLeafDrop(net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> drops,
net.minecraft.world.World world,
@Nullable
com.mojang.authlib.GameProfile playerProfile,
net.minecraft.util.math.BlockPos pos,
float saplingModifier,
int fortune)
getLeafDrop in class BlockAbstractLeavespublic void registerModel(net.minecraft.item.Item item,
IModelManager manager)
registerModel in interface IItemModelRegisterpublic boolean onBlockActivated(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand,
net.minecraft.util.EnumFacing facing,
float hitX,
float hitY,
float hitZ)
onBlockActivated in class net.minecraft.block.Blockpublic boolean canGrow(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
boolean isClient)
canGrow in interface net.minecraft.block.IGrowablepublic boolean canUseBonemeal(net.minecraft.world.World worldIn,
java.util.Random rand,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state)
canUseBonemeal in interface net.minecraft.block.IGrowablepublic void grow(net.minecraft.world.World world,
java.util.Random rand,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state)
grow in interface net.minecraft.block.IGrowablepublic int colorMultiplier(net.minecraft.block.state.IBlockState state,
@Nullable
net.minecraft.world.IBlockAccess worldIn,
@Nullable
net.minecraft.util.math.BlockPos pos,
int tintIndex)
colorMultiplier in interface IColoredBlock