Package net.minecraft.world.block
Class MushroomBlock
- java.lang.Object
-
- net.minecraft.world.block.Block
-
- net.minecraft.world.block.PlantBlock
-
- net.minecraft.world.block.MushroomBlock
-
public class MushroomBlock 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
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MushroomBlock(int var1, int var2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canBlockStay(World var1, int var2, int var3, int var4)
boolean
canPlaceBlockAt(World var1, int var2, int var3, int var4)
protected boolean
canThisPlantGrowOnThisBlockID(int var1)
boolean
fertilizeMushroom(World var1, int var2, int var3, int var4, java.util.Random var5)
void
updateTick(World var1, int var2, int var3, int var4, java.util.Random var5)
-
Methods inherited from class net.minecraft.world.block.PlantBlock
checkFlowerChange, getCollisionBoundingBoxFromPool, getRenderType, isOpaqueCube, onNeighborBlockChange, renderAsNormalBlock
-
Methods inherited from class net.minecraft.world.block.Block
blockActivated, blockStrength, canCollideCheck, canPlaceBlockOnSide, canProvidePower, collisionRayTrace, colorMultiplier, createStackedBlock, damageDropped, disableStats, dropBlockAsItem, dropBlockAsItem_do, dropBlockAsItemWithChance, func_50074_q, getAmbientOcclusionLightValue, getBlockBrightness, getBlockColor, getBlockName, getBlocksMovement, getBlockTexture, getBlockTextureFromSide, getBlockTextureFromSideAndMetadata, getCollidingBoundingBoxes, getEnableStats, getExplosionResistance, getHardness, getMetadataInfo, getMixedBrightnessForBlock, getMobilityFlag, getRenderBlockPass, getRenderColor, getSelectedBoundingBoxFromPool, getSubBlocks, getTickRandomly, harvestBlock, hasTileEntity, idDropped, initializeBlock, isBlockSolid, isCollidable, isIndirectlyPoweringTo, isNormalCube, isPoweringTo, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockPlaced, onBlockPlacedBy, onBlockRemoval, onEntityCollidedWithBlock, onEntityWalking, onFallenUpon, postRegister, powerBlock, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, registerVanilla, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockName, setBlockUnbreakable, setHardness, setLightOpacity, setLightValue, setRequiresSelfNotify, setResistance, setStepSound, setTickRandomly, shouldSideBeRendered, tickRate, toString, translateBlockName, velocityToAddToEntity
-
-
-
-
Method Detail
-
updateTick
public void updateTick(World var1, int var2, int var3, int var4, java.util.Random var5)
- Overrides:
updateTick
in classPlantBlock
-
canPlaceBlockAt
public boolean canPlaceBlockAt(World var1, int var2, int var3, int var4)
- Overrides:
canPlaceBlockAt
in classPlantBlock
-
canThisPlantGrowOnThisBlockID
protected boolean canThisPlantGrowOnThisBlockID(int var1)
- Overrides:
canThisPlantGrowOnThisBlockID
in classPlantBlock
-
canBlockStay
public boolean canBlockStay(World var1, int var2, int var3, int var4)
- Overrides:
canBlockStay
in classPlantBlock
-
fertilizeMushroom
public boolean fertilizeMushroom(World var1, int var2, int var3, int var4, java.util.Random var5)
-
-