public class BlockCrops extends BlockFlower
bedrock, blockBed, blockClay, blockConstructorCalled, blockDiamond, blockGold, blockHardness, blockID, blockIndexInTexture, blockLapis, blockMaterial, blockParticleGravity, blockResistance, blocksList, blockSnow, blockSteel, bookShelf, brick, button, cactus, cake, canBlockGrass, chest, cloth, cobblestone, cobblestoneMossy, crops, deadBush, dirt, dispenser, doorSteel, doorWood, enableStats, fence, field_28032_t, fire, glass, glowStone, grass, gravel, ice, isBlockContainer, jukebox, ladder, lavaMoving, lavaStill, leaves, lever, lightOpacity, lightValue, lockedChest, maxX, maxY, maxZ, minX, minY, minZ, mobSpawner, mushroomBrown, mushroomRed, musicBlock, netherrack, obsidian, opaqueCubeLookup, oreCoal, oreDiamond, oreGold, oreIron, oreLapis, oreRedstone, oreRedstoneGlowing, pistonBase, pistonExtension, pistonMoving, pistonStickyBase, planks, plantRed, plantYellow, portal, pressurePlatePlanks, pressurePlateStone, pumpkin, pumpkinLantern, rail, railDetector, railPowered, redstoneRepeaterActive, redstoneRepeaterIdle, redstoneWire, reed, sand, sandStone, sapling, signPost, signWall, slipperiness, slowSand, snow, soundClothFootstep, soundGlassFootstep, soundGrassFootstep, soundGravelFootstep, soundMetalFootstep, soundPowderFootstep, soundSandFootstep, soundStoneFootstep, soundWoodFootstep, sponge, stairCompactCobblestone, stairCompactPlanks, stairDouble, stairSingle, stepSound, stone, stoneOvenActive, stoneOvenIdle, tallGrass, tickOnLoad, tilledField, tnt, torchRedstoneActive, torchRedstoneIdle, torchWood, trapdoor, waterMoving, waterStill, web, wood, workbench
Modifier | Constructor and Description |
---|---|
protected |
BlockCrops(int i,
int j) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canThisPlantGrowOnThisBlockID(int i) |
void |
dropBlockAsItemWithChance(World world,
int i,
int j,
int k,
int l,
float f) |
void |
fertilize(World world,
int i,
int j,
int k) |
int |
getBlockTextureFromSideAndMetadata(int i,
int j) |
int |
getRenderType() |
int |
idDropped(int i,
java.util.Random random) |
int |
quantityDropped(java.util.Random random) |
void |
updateTick(World world,
int i,
int j,
int k,
java.util.Random random) |
canBlockStay, canPlaceBlockAt, func_268_h, getCollisionBoundingBoxFromPool, isOpaqueCube, onNeighborBlockChange, renderAsNormalBlock
blockActivated, blockStrength, canCollideCheck, canPlaceBlockOnSide, canProvidePower, collisionRayTrace, colorMultiplier, damageDropped, disableNeighborNotifyOnMetadataChange, disableStats, dropBlockAsItem_do, dropBlockAsItem, getBlockBrightness, getBlockName, getBlockTexture, getBlockTextureFromSide, getCollidingBoundingBoxes, getEnableStats, getExplosionResistance, getHardness, getIsBlockSolid, getMobilityFlag, getRenderBlockPass, getRenderColor, getSelectedBoundingBoxFromPool, harvestBlock, initializeBlock, isCollidable, isIndirectlyPoweringTo, isPoweringTo, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockPlaced, onBlockPlacedBy, onBlockRemoval, onEntityCollidedWithBlock, onEntityWalking, playBlock, randomDisplayTick, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockName, setBlockUnbreakable, setHardness, setLightOpacity, setLightValue, setResistance, setStepSound, setTickOnLoad, shouldSideBeRendered, tickRate, translateBlockName, velocityToAddToEntity
protected boolean canThisPlantGrowOnThisBlockID(int i)
canThisPlantGrowOnThisBlockID
in class BlockFlower
public void updateTick(World world, int i, int j, int k, java.util.Random random)
updateTick
in class BlockFlower
public void fertilize(World world, int i, int j, int k)
public int getBlockTextureFromSideAndMetadata(int i, int j)
getBlockTextureFromSideAndMetadata
in class Block
public int getRenderType()
getRenderType
in class BlockFlower
public void dropBlockAsItemWithChance(World world, int i, int j, int k, int l, float f)
dropBlockAsItemWithChance
in class Block
public int quantityDropped(java.util.Random random)
quantityDropped
in class Block