net.minecraft.block
Class BlockWall

java.lang.Object
  extended by net.minecraft.block.Block
      extended by net.minecraft.block.BlockWall

public class BlockWall
extends Block


Field Summary
static String[] types
          The types of the wall.
 
Fields inherited from class net.minecraft.block.Block
anvil, beacon, bed, bedrock, blockClay, blockDiamond, blockEmerald, blockGold, blockID, blockIndexInTexture, blockLapis, blockMaterial, blockParticleGravity, blocksList, blockSnow, blockSteel, bookShelf, brewingStand, brick, cactus, cake, canBlockGrass, carrot, cauldron, chest, cloth, cobblestone, cobblestoneMossy, cobblestoneWall, cocoaPlant, commandBlock, crops, deadBush, dirt, dispenser, doorSteel, doorWood, dragonEgg, enchantmentTable, enderChest, endPortal, endPortalFrame, fence, fenceGate, fenceIron, fire, flowerPot, glass, glowStone, grass, gravel, ice, isDefaultTexture, jukebox, ladder, lavaMoving, lavaStill, leaves, lever, lightOpacity, lightValue, lockedChest, melon, melonStem, mobSpawner, mushroomBrown, mushroomCapBrown, mushroomCapRed, mushroomRed, music, mycelium, netherBrick, netherFence, netherrack, netherStalk, obsidian, opaqueCubeLookup, oreCoal, oreDiamond, oreEmerald, oreGold, oreIron, oreLapis, oreRedstone, oreRedstoneGlowing, pistonBase, pistonExtension, pistonMoving, pistonStickyBase, planks, plantRed, plantYellow, portal, potato, pressurePlatePlanks, pressurePlateStone, pumpkin, pumpkinLantern, pumpkinStem, rail, railDetector, railPowered, redstoneLampActive, redstoneLampIdle, redstoneRepeaterActive, redstoneRepeaterIdle, redstoneWire, reed, requiresSelfNotify, sand, sandStone, sapling, signPost, signWall, silverfish, skull, slipperiness, slowSand, snow, soundAnvilFootstep, soundClothFootstep, soundGlassFootstep, soundGrassFootstep, soundGravelFootstep, soundLadderFootstep, soundMetalFootstep, soundPowderFootstep, soundSandFootstep, soundSnowFootstep, soundStoneFootstep, soundWoodFootstep, sponge, stairCompactCobblestone, stairCompactPlanks, stairsBrick, stairsNetherBrick, stairsSandStone, stairsStoneBrickSmooth, stairsWoodBirch, stairsWoodJungle, stairsWoodSpruce, stepSound, stone, stoneBrick, stoneButton, stoneDoubleSlab, stoneOvenActive, stoneOvenIdle, stoneSingleSlab, tallGrass, thinGlass, tilledField, tnt, torchRedstoneActive, torchRedstoneIdle, torchWood, trapdoor, tripWire, tripWireSource, useNeighborBrightness, vine, waterlily, waterMoving, waterStill, web, whiteStone, wood, woodDoubleSlab, woodenButton, woodSingleSlab, workbench
 
Constructor Summary
BlockWall(int par1, Block par2Block)
           
 
Method Summary
 boolean canConnectWallTo(IBlockAccess par1IBlockAccess, int par2, int par3, int par4)
          Return whether an adjacent block can connect to a wall.
 int damageDropped(int par1)
          Determines the damage on the item the block drops.
 boolean getBlocksMovement(IBlockAccess par1IBlockAccess, int par2, int par3, int par4)
           
 int getBlockTextureFromSideAndMetadata(int par1, int par2)
          From the specified side and block metadata retrieves the blocks texture.
 AxisAlignedBB getCollisionBoundingBoxFromPool(World par1World, int par2, int par3, int par4)
          Returns a bounding box from the pool of bounding boxes (this means this box can change after the pool has been cleared to be reused)
 int getRenderType()
          The type of render function that is called for this block
 void getSubBlocks(int par1, CreativeTabs par2CreativeTabs, List par3List)
           
 boolean isOpaqueCube()
          Is this block (a) opaque and (b) a full 1m cube? This determines whether or not to render the shared face of two adjacent blocks and also whether the player can attach torches, redstone wire, etc to this block.
 boolean renderAsNormalBlock()
          If this block doesn't render as an ordinary block it will return False (examples: signs, buttons, stairs, etc)
 void setBlockBoundsBasedOnState(IBlockAccess par1IBlockAccess, int par2, int par3, int par4)
          Updates the blocks bounds based on its current state.
 boolean shouldSideBeRendered(IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5)
           
 
Methods inherited from class net.minecraft.block.Block
addBlockDestroyEffects, addBlockHitEffects, addCollidingBlockToList, addCreativeItems, beginLeavesDecay, breakBlock, canBeReplacedByLeaves, canBlockStay, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDragonDestroy, canDropFromExplosion, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInPass, canSilkHarvest, canSustainLeaves, canSustainPlant, collisionRayTrace, colorMultiplier, createTileEntity, dropBlockAsItem, dropBlockAsItemWithChance, fillWithRain, func_82505_u_, func_82506_l, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockBrightness, getBlockColor, getBlockDropped, getBlockHardness, getBlockName, getBlockTexture, getBlockTextureFromSide, getCreativeTabToDisplayOn, getDamageValue, getEnableStats, getExplosionResistance, getExplosionResistance, getFireSpreadSpeed, getFlammability, getLightOpacity, getLightValue, getMixedBrightnessForBlock, getMobilityFlag, getPickBlock, getPlayerRelativeBlockHardness, getRenderBlockPass, getRenderColor, getSelectedBoundingBoxFromPool, getTextureFile, getTickRandomly, harvestBlock, hasTileEntity, hasTileEntity, idDropped, idPicked, isAirBlock, isBeaconBase, isBed, isBedFoot, isBlockBurning, isBlockFoliage, isBlockNormalCube, isBlockReplaceable, isBlockSolid, isBlockSolidOnSide, isCollidable, isFertile, isFireSource, isFlammable, isGenMineableReplaceable, isLadder, isLeaves, isNormalCube, isProvidingStrongPower, isProvidingWeakPower, isWood, onBlockActivated, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockEventReceived, onBlockHarvested, onBlockPlaced, onBlockPlacedBy, onEntityCollidedWithBlock, onEntityWalking, onFallenUpon, onNeighborBlockChange, onPostBlockPlaced, onSetBlockIDWithMetaData, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, removeBlockByPlayer, setBedOccupied, setBlockBounds, setBlockBoundsForItemRender, setBlockName, setBlockUnbreakable, setBurnProperties, setCreativeTab, setHardness, setLightOpacity, setLightValue, setRequiresSelfNotify, setResistance, setStepSound, setTextureFile, setTickRandomly, tickRate, translateBlockName, updateTick, velocityToAddToEntity
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

types

public static final String[] types
The types of the wall.

Constructor Detail

BlockWall

public BlockWall(int par1,
                 Block par2Block)
Method Detail

getBlockTextureFromSideAndMetadata

public int getBlockTextureFromSideAndMetadata(int par1,
                                              int par2)
From the specified side and block metadata retrieves the blocks texture. Args: side, metadata

Overrides:
getBlockTextureFromSideAndMetadata in class Block

getRenderType

public int getRenderType()
The type of render function that is called for this block

Overrides:
getRenderType in class Block

renderAsNormalBlock

public boolean renderAsNormalBlock()
If this block doesn't render as an ordinary block it will return False (examples: signs, buttons, stairs, etc)

Overrides:
renderAsNormalBlock in class Block

getBlocksMovement

public boolean getBlocksMovement(IBlockAccess par1IBlockAccess,
                                 int par2,
                                 int par3,
                                 int par4)
Overrides:
getBlocksMovement in class Block

isOpaqueCube

public boolean isOpaqueCube()
Is this block (a) opaque and (b) a full 1m cube? This determines whether or not to render the shared face of two adjacent blocks and also whether the player can attach torches, redstone wire, etc to this block.

Overrides:
isOpaqueCube in class Block

setBlockBoundsBasedOnState

public void setBlockBoundsBasedOnState(IBlockAccess par1IBlockAccess,
                                       int par2,
                                       int par3,
                                       int par4)
Updates the blocks bounds based on its current state. Args: world, x, y, z

Overrides:
setBlockBoundsBasedOnState in class Block

getCollisionBoundingBoxFromPool

public AxisAlignedBB getCollisionBoundingBoxFromPool(World par1World,
                                                     int par2,
                                                     int par3,
                                                     int par4)
Returns a bounding box from the pool of bounding boxes (this means this box can change after the pool has been cleared to be reused)

Overrides:
getCollisionBoundingBoxFromPool in class Block

canConnectWallTo

public boolean canConnectWallTo(IBlockAccess par1IBlockAccess,
                                int par2,
                                int par3,
                                int par4)
Return whether an adjacent block can connect to a wall.


getSubBlocks

public void getSubBlocks(int par1,
                         CreativeTabs par2CreativeTabs,
                         List par3List)
Overrides:
getSubBlocks in class Block

damageDropped

public int damageDropped(int par1)
Determines the damage on the item the block drops. Used in cloth and wood.

Overrides:
damageDropped in class Block

shouldSideBeRendered

public boolean shouldSideBeRendered(IBlockAccess par1IBlockAccess,
                                    int par2,
                                    int par3,
                                    int par4,
                                    int par5)
Overrides:
shouldSideBeRendered in class Block