public class BlockBamboo
extends net.minecraft.block.Block
implements net.minecraftforge.common.IPlantable
Modifier and Type | Field and Description |
---|---|
static net.minecraft.block.properties.PropertyInteger |
AGE |
BLOCK_STATE_IDS, blockParticleGravity, blockRegistry, delegate, SLIME_SOUND, slipperiness, soundTypeAnvil, soundTypeCloth, soundTypeGlass, soundTypeGrass, soundTypeGravel, soundTypeLadder, soundTypeMetal, soundTypePiston, soundTypeSand, soundTypeSnow, soundTypeStone, soundTypeWood, stepSound
Constructor and Description |
---|
BlockBamboo(boolean type) |
Modifier and Type | Method and Description |
---|---|
boolean |
canBlockStay(net.minecraft.world.World worldIn,
net.minecraft.util.BlockPos pos) |
boolean |
canPlaceBlockAt(net.minecraft.world.World worldIn,
net.minecraft.util.BlockPos pos) |
boolean |
canSustainPlant(net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos pos,
net.minecraft.util.EnumFacing direction,
net.minecraftforge.common.IPlantable plantable) |
net.minecraft.util.EnumWorldBlockLayer |
getBlockLayer() |
net.minecraft.util.AxisAlignedBB |
getCollisionBoundingBox(net.minecraft.world.World worldIn,
net.minecraft.util.BlockPos pos,
net.minecraft.block.state.IBlockState state) |
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 |
getPlant(net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos pos) |
net.minecraftforge.common.EnumPlantType |
getPlantType(net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos pos) |
net.minecraft.util.AxisAlignedBB |
getSelectedBoundingBox(net.minecraft.world.World worldIn,
net.minecraft.util.BlockPos pos) |
net.minecraft.block.state.IBlockState |
getStateFromMeta(int meta) |
boolean |
isFullCube() |
boolean |
isOpaqueCube() |
void |
onNeighborBlockChange(net.minecraft.world.World worldIn,
net.minecraft.util.BlockPos pos,
net.minecraft.block.state.IBlockState state,
net.minecraft.block.Block neighborBlock) |
void |
updateTick(net.minecraft.world.World worldIn,
net.minecraft.util.BlockPos pos,
net.minecraft.block.state.IBlockState state,
java.util.Random rand) |
addCollisionBoxesToList, addDestroyEffects, addHitEffects, beginLeavesDecay, breakBlock, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canReplace, canSilkHarvest, canSustainLeaves, collisionRayTrace, colorMultiplier, colorMultiplier, createTileEntity, damageDropped, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, fillWithRain, getActualState, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockById, getBlockColor, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockState, getComparatorInputOverride, getCreativeTabToDisplayOn, getDamageValue, getDefaultState, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMixedBrightnessForBlock, getMobilityFlag, getOffsetType, getPickBlock, getPickBlock, getPlayerRelativeBlockHardness, getRenderColor, getRenderType, getStateById, getStateForEntityRender, getStateId, getSubBlocks, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, harvestBlock, hasComparatorInputOverride, hasTileEntity, hasTileEntity, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockSolid, isBurning, isCollidable, isEqualTo, isFertile, isFireSource, isFlammable, isFlowerPot, isFoliage, isFullBlock, isLadder, isLeaves, isNormalCube, isNormalCube, isPassable, isProvidingStrongPower, isProvidingWeakPower, isReplaceable, isReplaceableOreGen, isSideSolid, isSolidFullCube, isToolEffective, isTranslucent, isVisuallyOpaque, isWood, modifyAcceleration, onBlockActivated, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockEventReceived, onBlockExploded, onBlockHarvested, onBlockPlaced, onBlockPlacedBy, onEntityCollidedWithBlock, onEntityCollidedWithBlock, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, randomTick, recolorBlock, registerBlocks, removedByPlayer, requiresUpdates, rotateBlock, setBedOccupied, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockUnbreakable, setCreativeTab, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntity, tickRate
public net.minecraft.item.Item getItemDropped(net.minecraft.block.state.IBlockState state, java.util.Random rand, int fortune)
getItemDropped
in class net.minecraft.block.Block
public void updateTick(net.minecraft.world.World worldIn, net.minecraft.util.BlockPos pos, net.minecraft.block.state.IBlockState state, java.util.Random rand)
updateTick
in class net.minecraft.block.Block
public net.minecraft.util.AxisAlignedBB getCollisionBoundingBox(net.minecraft.world.World worldIn, net.minecraft.util.BlockPos pos, net.minecraft.block.state.IBlockState state)
getCollisionBoundingBox
in class net.minecraft.block.Block
public net.minecraft.util.AxisAlignedBB getSelectedBoundingBox(net.minecraft.world.World worldIn, net.minecraft.util.BlockPos pos)
getSelectedBoundingBox
in class net.minecraft.block.Block
public boolean isFullCube()
isFullCube
in class net.minecraft.block.Block
public boolean isOpaqueCube()
isOpaqueCube
in class net.minecraft.block.Block
public boolean canPlaceBlockAt(net.minecraft.world.World worldIn, net.minecraft.util.BlockPos pos)
canPlaceBlockAt
in class net.minecraft.block.Block
public void onNeighborBlockChange(net.minecraft.world.World worldIn, net.minecraft.util.BlockPos pos, net.minecraft.block.state.IBlockState state, net.minecraft.block.Block neighborBlock)
onNeighborBlockChange
in class net.minecraft.block.Block
public boolean canSustainPlant(net.minecraft.world.IBlockAccess world, net.minecraft.util.BlockPos pos, net.minecraft.util.EnumFacing direction, net.minecraftforge.common.IPlantable plantable)
canSustainPlant
in class net.minecraft.block.Block
public boolean canBlockStay(net.minecraft.world.World worldIn, net.minecraft.util.BlockPos pos)
public net.minecraft.block.state.IBlockState getStateFromMeta(int meta)
getStateFromMeta
in class net.minecraft.block.Block
public net.minecraft.util.EnumWorldBlockLayer getBlockLayer()
getBlockLayer
in class net.minecraft.block.Block
public int getMetaFromState(net.minecraft.block.state.IBlockState state)
getMetaFromState
in class net.minecraft.block.Block
public net.minecraftforge.common.EnumPlantType getPlantType(net.minecraft.world.IBlockAccess world, net.minecraft.util.BlockPos pos)
getPlantType
in interface net.minecraftforge.common.IPlantable
public net.minecraft.block.state.IBlockState getPlant(net.minecraft.world.IBlockAccess world, net.minecraft.util.BlockPos pos)
getPlant
in interface net.minecraftforge.common.IPlantable