public class BlockCactus extends Block
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 |
BlockCactus(int i,
int j) |
Modifier and Type | Method and Description |
---|---|
boolean |
canBlockStay(World world,
int i,
int j,
int k) |
boolean |
canPlaceBlockAt(World world,
int i,
int j,
int k) |
int |
getBlockTextureFromSide(int i) |
AxisAlignedBB |
getCollisionBoundingBoxFromPool(World world,
int i,
int j,
int k) |
int |
getRenderType() |
AxisAlignedBB |
getSelectedBoundingBoxFromPool(World world,
int i,
int j,
int k) |
boolean |
isOpaqueCube() |
void |
onEntityCollidedWithBlock(World world,
int i,
int j,
int k,
Entity entity) |
void |
onNeighborBlockChange(World world,
int i,
int j,
int k,
int l) |
boolean |
renderAsNormalBlock() |
void |
updateTick(World world,
int i,
int j,
int k,
java.util.Random random) |
blockActivated, blockStrength, canCollideCheck, canPlaceBlockOnSide, canProvidePower, collisionRayTrace, colorMultiplier, damageDropped, disableNeighborNotifyOnMetadataChange, disableStats, dropBlockAsItem_do, dropBlockAsItem, dropBlockAsItemWithChance, getBlockBrightness, getBlockName, getBlockTexture, getBlockTextureFromSideAndMetadata, getCollidingBoundingBoxes, getEnableStats, getExplosionResistance, getHardness, getIsBlockSolid, getMobilityFlag, getRenderBlockPass, getRenderColor, harvestBlock, idDropped, initializeBlock, isCollidable, isIndirectlyPoweringTo, isPoweringTo, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockPlaced, onBlockPlacedBy, onBlockRemoval, onEntityWalking, playBlock, quantityDropped, randomDisplayTick, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockName, setBlockUnbreakable, setHardness, setLightOpacity, setLightValue, setResistance, setStepSound, setTickOnLoad, shouldSideBeRendered, tickRate, translateBlockName, velocityToAddToEntity
public void updateTick(World world, int i, int j, int k, java.util.Random random)
updateTick
in class Block
public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int i, int j, int k)
getCollisionBoundingBoxFromPool
in class Block
public AxisAlignedBB getSelectedBoundingBoxFromPool(World world, int i, int j, int k)
getSelectedBoundingBoxFromPool
in class Block
public int getBlockTextureFromSide(int i)
getBlockTextureFromSide
in class Block
public boolean renderAsNormalBlock()
renderAsNormalBlock
in class Block
public boolean isOpaqueCube()
isOpaqueCube
in class Block
public int getRenderType()
getRenderType
in class Block
public boolean canPlaceBlockAt(World world, int i, int j, int k)
canPlaceBlockAt
in class Block
public void onNeighborBlockChange(World world, int i, int j, int k, int l)
onNeighborBlockChange
in class Block
public boolean canBlockStay(World world, int i, int j, int k)
canBlockStay
in class Block
public void onEntityCollidedWithBlock(World world, int i, int j, int k, Entity entity)
onEntityCollidedWithBlock
in class Block