Package net.minecraft.world.block
Class LeavesBlock
- java.lang.Object
-
- net.minecraft.world.block.Block
-
- net.minecraft.world.block.BaseLeavesBlock
-
- net.minecraft.world.block.LeavesBlock
-
public class LeavesBlock extends BaseLeavesBlock
-
-
Field Summary
-
Fields inherited from class net.minecraft.world.block.BaseLeavesBlock
graphicsLevel
-
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
LeavesBlock(int var1, int var2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @net.minecraft.modding.api.Side.Client int
colorMultiplier(IBlockAccess var1, int var2, int var3, int var4)
protected int
damageDropped(int var1)
void
dropBlockAsItemWithChance(World var1, int var2, int var3, int var4, int var5, float var6, int var7)
@net.minecraft.modding.api.Side.Client int
getBlockColor()
int
getBlockTextureFromSideAndMetadata(int var1, int var2)
java.util.Map<java.lang.String,java.lang.String>
getMetadataInfo(World world, int x, int y, int z, int blockId, int metadata)
@net.minecraft.modding.api.Side.Client int
getRenderColor(int var1)
void
getSubBlocks(int var1, CreativeTab var2, java.util.List var3)
void
harvestBlock(World var1, Player var2, int var3, int var4, int var5, int var6)
int
idDropped(int var1, java.util.Random var2, int var3)
boolean
isOpaqueCube()
void
onBlockRemoval(World var1, int var2, int var3, int var4)
void
onEntityWalking(World var1, int var2, int var3, int var4, Entity var5)
int
quantityDropped(java.util.Random var1)
void
setGraphicsLevel(boolean var1)
void
updateTick(World var1, int var2, int var3, int var4, java.util.Random var5)
-
Methods inherited from class net.minecraft.world.block.BaseLeavesBlock
shouldSideBeRendered
-
Methods inherited from class net.minecraft.world.block.Block
blockActivated, blockStrength, canBlockStay, canCollideCheck, canPlaceBlockAt, canPlaceBlockOnSide, canProvidePower, collisionRayTrace, createStackedBlock, disableStats, dropBlockAsItem, dropBlockAsItem_do, func_50074_q, getAmbientOcclusionLightValue, getBlockBrightness, getBlockName, getBlocksMovement, getBlockTexture, getBlockTextureFromSide, getCollidingBoundingBoxes, getCollisionBoundingBoxFromPool, getEnableStats, getExplosionResistance, getHardness, getMixedBrightnessForBlock, getMobilityFlag, getRenderBlockPass, getRenderType, getSelectedBoundingBoxFromPool, getTickRandomly, hasTileEntity, initializeBlock, isBlockSolid, isCollidable, isIndirectlyPoweringTo, isNormalCube, isPoweringTo, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockPlaced, onBlockPlacedBy, onEntityCollidedWithBlock, onFallenUpon, onNeighborBlockChange, postRegister, powerBlock, quantityDroppedWithBonus, randomDisplayTick, registerVanilla, renderAsNormalBlock, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockName, setBlockUnbreakable, setHardness, setLightOpacity, setLightValue, setRequiresSelfNotify, setResistance, setStepSound, setTickRandomly, tickRate, toString, translateBlockName, velocityToAddToEntity
-
-
-
-
Method Detail
-
getSubBlocks
public void getSubBlocks(int var1, CreativeTab var2, java.util.List var3)
- Overrides:
getSubBlocks
in classBlock
-
getBlockColor
@Client public @net.minecraft.modding.api.Side.Client int getBlockColor()
- Overrides:
getBlockColor
in classBlock
-
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
-
onBlockRemoval
public void onBlockRemoval(World var1, int var2, int var3, int var4)
- Overrides:
onBlockRemoval
in classBlock
-
updateTick
public void updateTick(World var1, int var2, int var3, int var4, java.util.Random var5)
- Overrides:
updateTick
in classBlock
-
quantityDropped
public int quantityDropped(java.util.Random var1)
- Overrides:
quantityDropped
in classBlock
-
idDropped
public int idDropped(int var1, java.util.Random var2, int var3)
-
dropBlockAsItemWithChance
public void dropBlockAsItemWithChance(World var1, int var2, int var3, int var4, int var5, float var6, int var7)
- Overrides:
dropBlockAsItemWithChance
in classBlock
-
harvestBlock
public void harvestBlock(World var1, Player var2, int var3, int var4, int var5, int var6)
- Overrides:
harvestBlock
in classBlock
-
damageDropped
protected int damageDropped(int var1)
- Overrides:
damageDropped
in classBlock
-
isOpaqueCube
public boolean isOpaqueCube()
- Overrides:
isOpaqueCube
in classBaseLeavesBlock
-
getBlockTextureFromSideAndMetadata
public int getBlockTextureFromSideAndMetadata(int var1, int var2)
- Overrides:
getBlockTextureFromSideAndMetadata
in classBlock
-
setGraphicsLevel
@Client public void setGraphicsLevel(boolean var1)
-
onEntityWalking
public void onEntityWalking(World var1, int var2, int var3, int var4, Entity var5)
- Overrides:
onEntityWalking
in classBlock
-
getMetadataInfo
public java.util.Map<java.lang.String,java.lang.String> getMetadataInfo(World world, int x, int y, int z, int blockId, int metadata)
- Overrides:
getMetadataInfo
in classBlock
-
-