public abstract class BlockDecorativeLeaves extends net.minecraft.block.Block implements IItemModelRegister, IColoredBlock, net.minecraftforge.common.IShearable
BLOCK_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 |
|---|
BlockDecorativeLeaves(int blockNumber) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
causesSuffocation(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) |
static java.util.List<BlockDecorativeLeaves> |
create() |
protected net.minecraft.block.state.BlockStateContainer |
createBlockState() |
int |
damageDropped(net.minecraft.block.state.IBlockState state) |
int |
getBlockNumber() |
net.minecraft.util.math.AxisAlignedBB |
getCollisionBoundingBox(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.IBlockAccess worldIn,
net.minecraft.util.math.BlockPos pos) |
void |
getDrops(net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> drops,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
int fortune) |
int |
getFireSpreadSpeed(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing face) |
int |
getFlammability(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing face) |
int |
getMetaFromState(net.minecraft.block.state.IBlockState state) |
net.minecraft.util.BlockRenderLayer |
getRenderLayer() |
net.minecraft.block.state.IBlockState |
getStateForPlacement(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing facing,
float hitX,
float hitY,
float hitZ,
int meta,
net.minecraft.entity.EntityLivingBase placer,
net.minecraft.util.EnumHand hand) |
net.minecraft.block.state.IBlockState |
getStateFromMeta(int meta) |
void |
getSubBlocks(net.minecraft.creativetab.CreativeTabs tab,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> list) |
TreeDefinition |
getTreeType(int meta) |
abstract PropertyTreeType |
getVariant() |
boolean |
isFlammable(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing face) |
boolean |
isOpaqueCube(net.minecraft.block.state.IBlockState state) |
boolean |
isShearable(net.minecraft.item.ItemStack item,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos) |
void |
onEntityCollision(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
net.minecraft.entity.Entity entityIn) |
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) |
void |
registerModel(net.minecraft.item.Item item,
IModelManager manager) |
boolean |
shouldSideBeRendered(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.IBlockAccess blockAccess,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side) |
addCollisionBoxToList, addCollisionBoxToList, addDestroyEffects, addHitEffects, addInformation, addLandingEffects, addRunningEffects, beginLeavesDecay, breakBlock, 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, dropBlockAsItemWithChance, 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, getExtendedState, getFogColor, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemDropped, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getOffset, getOffsetType, getPackedLightmapCoords, getPickBlock, getPlayerRelativeBlockHardness, getPushReaction, getRenderType, getSelectedBoundingBox, getSilkTouchDrop, getSlipperiness, getSoundType, getSoundType, getStateAtViewpoint, getStateById, 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, isLeaves, isNormalCube, isNormalCube, isPassable, isReplaceable, isReplaceableOreGen, isSideSolid, isStickyBlock, isToolEffective, isTopSolid, isTranslucent, isWood, modifyAcceleration, neighborChanged, observedNeighborChange, onBlockActivated, onBlockAdded, onBlockClicked, onBlockExploded, onBlockHarvested, onBlockPlacedBy, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, onPlayerDestroy, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, 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, updateTick, withMirror, withRotationpublic static java.util.List<BlockDecorativeLeaves> create()
public int getBlockNumber()
public abstract PropertyTreeType getVariant()
protected net.minecraft.block.state.BlockStateContainer createBlockState()
createBlockState in class net.minecraft.block.Blockpublic void getSubBlocks(net.minecraft.creativetab.CreativeTabs tab,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> list)
getSubBlocks in class net.minecraft.block.Block@Nullable
public net.minecraft.util.math.AxisAlignedBB getCollisionBoundingBox(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.IBlockAccess worldIn,
net.minecraft.util.math.BlockPos pos)
getCollisionBoundingBox in class net.minecraft.block.Blockpublic void onEntityCollision(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
net.minecraft.entity.Entity entityIn)
onEntityCollision in class net.minecraft.block.Blockpublic boolean isOpaqueCube(net.minecraft.block.state.IBlockState state)
isOpaqueCube in class net.minecraft.block.Blockpublic boolean causesSuffocation(net.minecraft.block.state.IBlockState state)
causesSuffocation in class net.minecraft.block.Blockpublic boolean shouldSideBeRendered(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.IBlockAccess blockAccess,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side)
shouldSideBeRendered in class net.minecraft.block.Blockpublic net.minecraft.util.BlockRenderLayer getRenderLayer()
getRenderLayer in class net.minecraft.block.Blockpublic void registerModel(net.minecraft.item.Item item,
IModelManager manager)
registerModel in interface IItemModelRegisterpublic net.minecraft.block.state.IBlockState getStateFromMeta(int meta)
getStateFromMeta in class net.minecraft.block.Blockpublic TreeDefinition getTreeType(int meta)
public int getMetaFromState(net.minecraft.block.state.IBlockState state)
getMetaFromState in class net.minecraft.block.Blockpublic int damageDropped(net.minecraft.block.state.IBlockState state)
damageDropped in class net.minecraft.block.Blockpublic void getDrops(net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> drops,
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.block.state.IBlockState getStateForPlacement(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing facing,
float hitX,
float hitY,
float hitZ,
int meta,
net.minecraft.entity.EntityLivingBase placer,
net.minecraft.util.EnumHand hand)
getStateForPlacement in class net.minecraft.block.Blockpublic int getFlammability(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing face)
getFlammability in class net.minecraft.block.Blockpublic boolean isFlammable(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing face)
isFlammable in class net.minecraft.block.Blockpublic int getFireSpreadSpeed(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing face)
getFireSpreadSpeed in class net.minecraft.block.Blockpublic boolean isShearable(net.minecraft.item.ItemStack item,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos)
isShearable in interface net.minecraftforge.common.IShearablepublic 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 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