Package net.minecraft.world.block
Class StemBlock
- java.lang.Object
-
- net.minecraft.world.block.Block
-
- net.minecraft.world.block.PlantBlock
-
- net.minecraft.world.block.StemBlock
-
public class StemBlock extends PlantBlock
-
-
Field Summary
-
Fields inherited from class net.minecraft.world.block.Block
bed, bedrock, blockClay, blockConstructorCalled, blockDiamond, blockGold, blockHardness, blockID, blockIndexInTexture, blockLapis, blockMaterial, blockParticleGravity, blockResistance, blocksList, blockSnow, blockSteel, bookShelf, brewingStand, brick, button, cactus, cake, canBlockGrass, cauldron, chest, cloth, cobblestone, cobblestoneMossy, crops, deadBush, dirt, dispenser, doorSteel, doorWood, dragonEgg, enableStats, enchantmentTable, endPortal, endPortalFrame, fence, fenceGate, fenceIron, fire, glass, glowStone, grass, gravel, ice, isBlockContainer, jukebox, ladder, lavaMoving, lavaStill, leaves, lever, lightOpacity, lightValue, lockedChest, maxX, maxY, maxZ, melon, melonStem, minX, minY, minZ, mobSpawner, mushroomBrown, mushroomCapBrown, mushroomCapRed, mushroomRed, music, mycelium, needsRandomTick, netherBrick, netherFence, netherrack, netherStalk, obsidian, opaqueCubeLookup, oreCoal, oreDiamond, oreGold, oreIron, oreLapis, oreRedstone, oreRedstoneGlowing, pistonBase, pistonExtension, pistonMoving, pistonStickyBase, planks, plantRed, plantYellow, portal, pressurePlatePlanks, pressurePlateStone, pumpkin, pumpkinLantern, pumpkinStem, rail, railDetector, railPowered, redstoneLampActive, redstoneLampIdle, redstoneRepeaterActive, redstoneRepeaterIdle, redstoneWire, reed, requiresSelfNotify, sand, sandStone, sapling, signPost, signWall, silverfish, slipperiness, slowSand, snow, soundClothFootstep, soundGlassFootstep, soundGrassFootstep, soundGravelFootstep, soundMetalFootstep, soundPowderFootstep, soundSandFootstep, soundStoneFootstep, soundWoodFootstep, sponge, stairCompactCobblestone, stairCompactPlanks, stairDouble, stairsBrick, stairSingle, stairsNetherBrick, stairsStoneBrickSmooth, stepSound, stone, stoneBrick, stoneOvenActive, stoneOvenIdle, tallGrass, thinGlass, tilledField, tnt, torchRedstoneActive, torchRedstoneIdle, torchWood, trapdoor, useNeighborBrightness, vine, waterlily, waterMoving, waterStill, web, whiteStone, wood, workbench
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canThisPlantGrowOnThisBlockID(int var1)
@net.minecraft.modding.api.Side.Client int
colorMultiplier(IBlockAccess var1, int var2, int var3, int var4)
void
dropBlockAsItemWithChance(World var1, int var2, int var3, int var4, int var5, float var6, int var7)
void
fertilizeStem(World var1, int var2, int var3, int var4)
@net.minecraft.modding.api.Side.Client int
func_35296_f(IBlockAccess var1, int var2, int var3, int var4)
int
getBlockTextureFromSideAndMetadata(int var1, int var2)
@net.minecraft.modding.api.Side.Client int
getRenderColor(int var1)
int
getRenderType()
int
idDropped(int var1, java.util.Random var2, int var3)
int
quantityDropped(java.util.Random var1)
void
setBlockBoundsBasedOnState(IBlockAccess var1, int var2, int var3, int var4)
void
setBlockBoundsForItemRender()
void
updateTick(World var1, int var2, int var3, int var4, java.util.Random var5)
-
Methods inherited from class net.minecraft.world.block.PlantBlock
canBlockStay, canPlaceBlockAt, checkFlowerChange, getCollisionBoundingBoxFromPool, isOpaqueCube, onNeighborBlockChange, renderAsNormalBlock
-
Methods inherited from class net.minecraft.world.block.Block
blockActivated, blockStrength, canCollideCheck, canPlaceBlockOnSide, canProvidePower, collisionRayTrace, createStackedBlock, damageDropped, disableStats, dropBlockAsItem, dropBlockAsItem_do, func_50074_q, getAmbientOcclusionLightValue, getBlockBrightness, getBlockColor, getBlockName, getBlocksMovement, getBlockTexture, getBlockTextureFromSide, getCollidingBoundingBoxes, getEnableStats, getExplosionResistance, getHardness, getMetadataInfo, getMixedBrightnessForBlock, getMobilityFlag, getRenderBlockPass, getSelectedBoundingBoxFromPool, getSubBlocks, getTickRandomly, harvestBlock, hasTileEntity, initializeBlock, isBlockSolid, isCollidable, isIndirectlyPoweringTo, isNormalCube, isPoweringTo, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockPlaced, onBlockPlacedBy, onBlockRemoval, onEntityCollidedWithBlock, onEntityWalking, onFallenUpon, postRegister, powerBlock, quantityDroppedWithBonus, randomDisplayTick, registerVanilla, setBlockBounds, setBlockName, setBlockUnbreakable, setHardness, setLightOpacity, setLightValue, setRequiresSelfNotify, setResistance, setStepSound, setTickRandomly, shouldSideBeRendered, tickRate, toString, translateBlockName, velocityToAddToEntity
-
-
-
-
Constructor Detail
-
StemBlock
protected StemBlock(int var1, Block var2)
-
-
Method Detail
-
canThisPlantGrowOnThisBlockID
protected boolean canThisPlantGrowOnThisBlockID(int var1)
- Overrides:
canThisPlantGrowOnThisBlockID
in classPlantBlock
-
updateTick
public void updateTick(World var1, int var2, int var3, int var4, java.util.Random var5)
- Overrides:
updateTick
in classPlantBlock
-
fertilizeStem
public void fertilizeStem(World var1, int var2, int var3, int var4)
-
getRenderColor
@Client public @net.minecraft.modding.api.Side.Client int getRenderColor(int var1)
- Overrides:
getRenderColor
in classBlock
-
colorMultiplier
@Client public @net.minecraft.modding.api.Side.Client int colorMultiplier(IBlockAccess var1, int var2, int var3, int var4)
- Overrides:
colorMultiplier
in classBlock
-
getBlockTextureFromSideAndMetadata
public int getBlockTextureFromSideAndMetadata(int var1, int var2)
- Overrides:
getBlockTextureFromSideAndMetadata
in classBlock
-
setBlockBoundsForItemRender
public void setBlockBoundsForItemRender()
- Overrides:
setBlockBoundsForItemRender
in classBlock
-
setBlockBoundsBasedOnState
public void setBlockBoundsBasedOnState(IBlockAccess var1, int var2, int var3, int var4)
- Overrides:
setBlockBoundsBasedOnState
in classBlock
-
getRenderType
public int getRenderType()
- Overrides:
getRenderType
in classPlantBlock
-
func_35296_f
@Client public @net.minecraft.modding.api.Side.Client int func_35296_f(IBlockAccess var1, int var2, int var3, int var4)
-
dropBlockAsItemWithChance
public void dropBlockAsItemWithChance(World var1, int var2, int var3, int var4, int var5, float var6, int var7)
- Overrides:
dropBlockAsItemWithChance
in classBlock
-
idDropped
public int idDropped(int var1, java.util.Random var2, int var3)
-
quantityDropped
public int quantityDropped(java.util.Random var1)
- Overrides:
quantityDropped
in classBlock
-
-