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