YATS/Forge Documentation
|
Public Member Functions | |
AxisAlignedBB | getCollisionBoundingBoxFromPool (World par1World, int par2, int par3, int par4) |
int | tickRate (World par1World) |
boolean | isOpaqueCube () |
boolean | renderAsNormalBlock () |
boolean | canPlaceBlockOnSide (World par1World, int par2, int par3, int par4, int par5) |
boolean | canPlaceBlockAt (World par1World, int par2, int par3, int par4) |
int | onBlockPlaced (World par1World, int par2, int par3, int par4, int par5, float par6, float par7, float par8, int par9) |
void | onNeighborBlockChange (World par1World, int par2, int par3, int par4, int par5) |
void | setBlockBoundsBasedOnState (IBlockAccess par1IBlockAccess, int par2, int par3, int par4) |
void | onBlockClicked (World par1World, int par2, int par3, int par4, EntityPlayer par5EntityPlayer) |
boolean | onBlockActivated (World par1World, int par2, int par3, int par4, EntityPlayer par5EntityPlayer, int par6, float par7, float par8, float par9) |
void | breakBlock (World par1World, int par2, int par3, int par4, int par5, int par6) |
int | isProvidingWeakPower (IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5) |
int | isProvidingStrongPower (IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5) |
boolean | canProvidePower () |
void | updateTick (World par1World, int par2, int par3, int par4, Random par5Random) |
void | setBlockBoundsForItemRender () |
void | onEntityCollidedWithBlock (World par1World, int par2, int par3, int par4, Entity par5Entity) |
void | registerIcons (IconRegister par1IconRegister) |
![]() | |
Block (int par1, Material par2Material) | |
Block | setStepSound (StepSound par1StepSound) |
Block | setLightOpacity (int par1) |
Block | setLightValue (float par1) |
Block | setResistance (float par1) |
boolean | renderAsNormalBlock () |
boolean | getBlocksMovement (IBlockAccess par1IBlockAccess, int par2, int par3, int par4) |
int | getRenderType () |
Block | setHardness (float par1) |
Block | setBlockUnbreakable () |
float | getBlockHardness (World par1World, int par2, int par3, int par4) |
Block | setTickRandomly (boolean par1) |
boolean | getTickRandomly () |
boolean | hasTileEntity () |
final void | setBlockBounds (float par1, float par2, float par3, float par4, float par5, float par6) |
float | getBlockBrightness (IBlockAccess par1IBlockAccess, int par2, int par3, int par4) |
int | getMixedBrightnessForBlock (IBlockAccess par1IBlockAccess, int par2, int par3, int par4) |
boolean | shouldSideBeRendered (IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5) |
boolean | isBlockSolid (IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5) |
Icon | getBlockTexture (IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5) |
Icon | getIcon (int par1, int par2) |
void | addCollisionBoxesToList (World par1World, int par2, int par3, int par4, AxisAlignedBB par5AxisAlignedBB, List par6List, Entity par7Entity) |
final Icon | getBlockTextureFromSide (int par1) |
AxisAlignedBB | getSelectedBoundingBoxFromPool (World par1World, int par2, int par3, int par4) |
AxisAlignedBB | getCollisionBoundingBoxFromPool (World par1World, int par2, int par3, int par4) |
boolean | isOpaqueCube () |
boolean | canCollideCheck (int par1, boolean par2) |
boolean | isCollidable () |
void | updateTick (World par1World, int par2, int par3, int par4, Random par5Random) |
void | randomDisplayTick (World par1World, int par2, int par3, int par4, Random par5Random) |
void | onBlockDestroyedByPlayer (World par1World, int par2, int par3, int par4, int par5) |
void | onNeighborBlockChange (World par1World, int par2, int par3, int par4, int par5) |
int | tickRate (World par1World) |
void | onBlockAdded (World par1World, int par2, int par3, int par4) |
void | breakBlock (World par1World, int par2, int par3, int par4, int par5, int par6) |
int | quantityDropped (Random par1Random) |
int | idDropped (int par1, Random par2Random, int par3) |
float | getPlayerRelativeBlockHardness (EntityPlayer par1EntityPlayer, World par2World, int par3, int par4, int par5) |
final void | dropBlockAsItem (World par1World, int par2, int par3, int par4, int par5, int par6) |
void | dropBlockAsItemWithChance (World par1World, int par2, int par3, int par4, int par5, float par6, int par7) |
int | damageDropped (int par1) |
float | getExplosionResistance (Entity par1Entity) |
MovingObjectPosition | collisionRayTrace (World par1World, int par2, int par3, int par4, Vec3 par5Vec3, Vec3 par6Vec3) |
void | onBlockDestroyedByExplosion (World par1World, int par2, int par3, int par4, Explosion par5Explosion) |
boolean | canPlaceBlockOnSide (World par1World, int par2, int par3, int par4, int par5, ItemStack par6ItemStack) |
int | getRenderBlockPass () |
boolean | canPlaceBlockOnSide (World par1World, int par2, int par3, int par4, int par5) |
boolean | canPlaceBlockAt (World par1World, int par2, int par3, int par4) |
boolean | onBlockActivated (World par1World, int par2, int par3, int par4, EntityPlayer par5EntityPlayer, int par6, float par7, float par8, float par9) |
void | onEntityWalking (World par1World, int par2, int par3, int par4, Entity par5Entity) |
int | onBlockPlaced (World par1World, int par2, int par3, int par4, int par5, float par6, float par7, float par8, int par9) |
void | onBlockClicked (World par1World, int par2, int par3, int par4, EntityPlayer par5EntityPlayer) |
void | velocityToAddToEntity (World par1World, int par2, int par3, int par4, Entity par5Entity, Vec3 par6Vec3) |
void | setBlockBoundsBasedOnState (IBlockAccess par1IBlockAccess, int par2, int par3, int par4) |
final double | getBlockBoundsMinX () |
final double | getBlockBoundsMaxX () |
final double | getBlockBoundsMinY () |
final double | getBlockBoundsMaxY () |
final double | getBlockBoundsMinZ () |
final double | getBlockBoundsMaxZ () |
int | getBlockColor () |
int | getRenderColor (int par1) |
int | isProvidingWeakPower (IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5) |
int | colorMultiplier (IBlockAccess par1IBlockAccess, int par2, int par3, int par4) |
boolean | canProvidePower () |
void | onEntityCollidedWithBlock (World par1World, int par2, int par3, int par4, Entity par5Entity) |
int | isProvidingStrongPower (IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5) |
void | setBlockBoundsForItemRender () |
void | harvestBlock (World par1World, EntityPlayer par2EntityPlayer, int par3, int par4, int par5, int par6) |
int | quantityDroppedWithBonus (int par1, Random par2Random) |
boolean | canBlockStay (World par1World, int par2, int par3, int par4) |
void | onBlockPlacedBy (World par1World, int par2, int par3, int par4, EntityLiving par5EntityLiving, ItemStack par6ItemStack) |
void | onPostBlockPlaced (World par1World, int par2, int par3, int par4, int par5) |
Block | setUnlocalizedName (String par1Str) |
String | getLocalizedName () |
String | getUnlocalizedName () |
String | getUnlocalizedName2 () |
boolean | onBlockEventReceived (World par1World, int par2, int par3, int par4, int par5, int par6) |
boolean | getEnableStats () |
int | getMobilityFlag () |
float | getAmbientOcclusionLightValue (IBlockAccess par1IBlockAccess, int par2, int par3, int par4) |
void | onFallenUpon (World par1World, int par2, int par3, int par4, Entity par5Entity, float par6) |
int | idPicked (World par1World, int par2, int par3, int par4) |
int | getDamageValue (World par1World, int par2, int par3, int par4) |
void | getSubBlocks (int par1, CreativeTabs par2CreativeTabs, List par3List) |
Block | setCreativeTab (CreativeTabs par1CreativeTabs) |
void | onBlockHarvested (World par1World, int par2, int par3, int par4, int par5, EntityPlayer par6EntityPlayer) |
CreativeTabs | getCreativeTabToDisplayOn () |
void | onSetBlockIDWithMetaData (World par1World, int par2, int par3, int par4, int par5) |
void | fillWithRain (World par1World, int par2, int par3, int par4) |
boolean | isFlowerPot () |
boolean | func_82506_l () |
boolean | canDropFromExplosion (Explosion par1Explosion) |
boolean | isAssociatedBlockID (int par1) |
boolean | hasComparatorInputOverride () |
int | getComparatorInputOverride (World par1World, int par2, int par3, int par4, int par5) |
void | registerIcons (IconRegister par1IconRegister) |
String | getItemIconName () |
int | getLightValue (IBlockAccess world, int x, int y, int z) |
boolean | isLadder (World world, int x, int y, int z, EntityLiving entity) |
boolean | isLadder (World world, int x, int y, int z) |
boolean | isBlockNormalCube (World world, int x, int y, int z) |
boolean | isBlockSolidOnSide (World world, int x, int y, int z, ForgeDirection side) |
boolean | isBlockReplaceable (World world, int x, int y, int z) |
boolean | isBlockBurning (World world, int x, int y, int z) |
boolean | isAirBlock (World world, int x, int y, int z) |
boolean | canHarvestBlock (EntityPlayer player, int meta) |
boolean | removeBlockByPlayer (World world, EntityPlayer player, int x, int y, int z) |
void | addCreativeItems (ArrayList itemList) |
int | getFlammability (IBlockAccess world, int x, int y, int z, int metadata, ForgeDirection face) |
boolean | isFlammable (IBlockAccess world, int x, int y, int z, int metadata, ForgeDirection face) |
int | getFireSpreadSpeed (World world, int x, int y, int z, int metadata, ForgeDirection face) |
boolean | isFireSource (World world, int x, int y, int z, int metadata, ForgeDirection side) |
boolean | hasTileEntity (int metadata) |
TileEntity | createTileEntity (World world, int metadata) |
int | quantityDropped (int meta, int fortune, Random random) |
ArrayList< ItemStack > | getBlockDropped (World world, int x, int y, int z, int metadata, int fortune) |
boolean | canSilkHarvest (World world, EntityPlayer player, int x, int y, int z, int metadata) |
boolean | canCreatureSpawn (EnumCreatureType type, World world, int x, int y, int z) |
boolean | isBed (World world, int x, int y, int z, EntityLiving player) |
ChunkCoordinates | getBedSpawnPosition (World world, int x, int y, int z, EntityPlayer player) |
void | setBedOccupied (World world, int x, int y, int z, EntityPlayer player, boolean occupied) |
int | getBedDirection (IBlockAccess world, int x, int y, int z) |
boolean | isBedFoot (IBlockAccess world, int x, int y, int z) |
void | beginLeavesDecay (World world, int x, int y, int z) |
boolean | canSustainLeaves (World world, int x, int y, int z) |
boolean | isLeaves (World world, int x, int y, int z) |
boolean | canBeReplacedByLeaves (World world, int x, int y, int z) |
boolean | isWood (World world, int x, int y, int z) |
boolean | isGenMineableReplaceable (World world, int x, int y, int z, int target) |
float | getExplosionResistance (Entity par1Entity, World world, int x, int y, int z, double explosionX, double explosionY, double explosionZ) |
void | onBlockExploded (World world, int x, int y, int z, Explosion explosion) |
boolean | canConnectRedstone (IBlockAccess world, int x, int y, int z, int side) |
boolean | canPlaceTorchOnTop (World world, int x, int y, int z) |
boolean | canRenderInPass (int pass) |
ItemStack | getPickBlock (MovingObjectPosition target, World world, int x, int y, int z) |
boolean | isBlockFoliage (World world, int x, int y, int z) |
boolean | addBlockHitEffects (World worldObj, MovingObjectPosition target, EffectRenderer effectRenderer) |
boolean | addBlockDestroyEffects (World world, int x, int y, int z, int meta, EffectRenderer effectRenderer) |
boolean | canSustainPlant (World world, int x, int y, int z, ForgeDirection direction, IPlantable plant) |
void | onPlantGrow (World world, int x, int y, int z, int sourceX, int sourceY, int sourceZ) |
boolean | isFertile (World world, int x, int y, int z) |
int | getLightOpacity (World world, int x, int y, int z) |
boolean | canDragonDestroy (World world, int x, int y, int z) |
boolean | isBeaconBase (World worldObj, int x, int y, int z, int beaconX, int beaconY, int beaconZ) |
boolean | rotateBlock (World worldObj, int x, int y, int z, ForgeDirection axis) |
ForgeDirection[] | getValidRotations (World worldObj, int x, int y, int z) |
float | getEnchantPowerBonus (World world, int x, int y, int z) |
int | getEnchantPower (World world, int x, int y, int z) |
boolean | recolourBlock (World world, int x, int y, int z, ForgeDirection side, int colour) |
Protected Member Functions | |
BlockButton (int par1, boolean par2) | |
void | func_82535_o (World par1World, int par2, int par3, int par4) |
![]() | |
void | initializeBlock () |
void | dropBlockAsItem_do (World par1World, int par2, int par3, int par4, ItemStack par5ItemStack) |
void | dropXpOnBlockBreak (World par1World, int par2, int par3, int par4, int par5) |
boolean | canSilkHarvest () |
ItemStack | createStackedBlock (int par1) |
Block | disableStats () |
Protected Attributes | |
boolean | sensible |
![]() | |
boolean | blockConstructorCalled = true |
boolean | enableStats = true |
boolean | needsRandomTick |
boolean | isBlockContainer |
double | minX |
double | minY |
double | minZ |
double | maxX |
double | maxY |
double | maxZ |
Icon | blockIcon |
Additional Inherited Members | |
![]() | |
static boolean | isNormalCube (int par0) |
static boolean | isAssociatedBlockID (int par0, int par1) |
static void | setBurnProperties (int id, int encouragement, int flammability) |
![]() | |
final int | blockID |
float | blockHardness |
float | blockResistance |
StepSound | stepSound |
float | blockParticleGravity |
final Material | blockMaterial |
float | slipperiness |
![]() | |
static final StepSound | soundPowderFootstep = new StepSound("stone", 1.0F, 1.0F) |
static final StepSound | soundWoodFootstep = new StepSound("wood", 1.0F, 1.0F) |
static final StepSound | soundGravelFootstep = new StepSound("gravel", 1.0F, 1.0F) |
static final StepSound | soundGrassFootstep = new StepSound("grass", 1.0F, 1.0F) |
static final StepSound | soundStoneFootstep = new StepSound("stone", 1.0F, 1.0F) |
static final StepSound | soundMetalFootstep = new StepSound("stone", 1.0F, 1.5F) |
static final StepSound | soundGlassFootstep = new StepSoundStone("stone", 1.0F, 1.0F) |
static final StepSound | soundClothFootstep = new StepSound("cloth", 1.0F, 1.0F) |
static final StepSound | soundSandFootstep = new StepSound("sand", 1.0F, 1.0F) |
static final StepSound | soundSnowFootstep = new StepSound("snow", 1.0F, 1.0F) |
static final StepSound | soundLadderFootstep = new StepSoundSand("ladder", 1.0F, 1.0F) |
static final StepSound | soundAnvilFootstep = new StepSoundAnvil("anvil", 0.3F, 1.0F) |
static final Block[] | blocksList = new Block[4096] |
static final boolean[] | opaqueCubeLookup = new boolean[4096] |
static final int[] | lightOpacity = new int[4096] |
static final boolean[] | canBlockGrass = new boolean[4096] |
static final int[] | lightValue = new int[4096] |
static boolean[] | useNeighborBrightness = new boolean[4096] |
static final Block | stone = (new BlockStone(1)).setHardness(1.5F).setResistance(10.0F).setStepSound(soundStoneFootstep).setUnlocalizedName("stone") |
static final BlockGrass | grass = (BlockGrass)(new BlockGrass(2)).setHardness(0.6F).setStepSound(soundGrassFootstep).setUnlocalizedName("grass") |
static final Block | dirt = (new BlockDirt(3)).setHardness(0.5F).setStepSound(soundGravelFootstep).setUnlocalizedName("dirt") |
static final Block | cobblestone = (new Block(4, Material.rock)).setHardness(2.0F).setResistance(10.0F).setStepSound(soundStoneFootstep).setUnlocalizedName("stonebrick").setCreativeTab(CreativeTabs.tabBlock) |
static final Block | planks = (new BlockWood(5)).setHardness(2.0F).setResistance(5.0F).setStepSound(soundWoodFootstep).setUnlocalizedName("wood") |
static final Block | sapling = (new BlockSapling(6)).setHardness(0.0F).setStepSound(soundGrassFootstep).setUnlocalizedName("sapling") |
static final Block | bedrock = (new Block(7, Material.rock)).setBlockUnbreakable().setResistance(6000000.0F).setStepSound(soundStoneFootstep).setUnlocalizedName("bedrock").disableStats().setCreativeTab(CreativeTabs.tabBlock) |
static final BlockFluid | waterMoving = (BlockFluid)(new BlockFlowing(8, Material.water)).setHardness(100.0F).setLightOpacity(3).setUnlocalizedName("water").disableStats() |
static final Block | waterStill = (new BlockStationary(9, Material.water)).setHardness(100.0F).setLightOpacity(3).setUnlocalizedName("water").disableStats() |
static final BlockFluid | lavaMoving = (BlockFluid)(new BlockFlowing(10, Material.lava)).setHardness(0.0F).setLightValue(1.0F).setUnlocalizedName("lava").disableStats() |
static final Block | lavaStill = (new BlockStationary(11, Material.lava)).setHardness(100.0F).setLightValue(1.0F).setUnlocalizedName("lava").disableStats() |
static final Block | sand = (new BlockSand(12)).setHardness(0.5F).setStepSound(soundSandFootstep).setUnlocalizedName("sand") |
static final Block | gravel = (new BlockGravel(13)).setHardness(0.6F).setStepSound(soundGravelFootstep).setUnlocalizedName("gravel") |
static final Block | oreGold = (new BlockOre(14)).setHardness(3.0F).setResistance(5.0F).setStepSound(soundStoneFootstep).setUnlocalizedName("oreGold") |
static final Block | oreIron = (new BlockOre(15)).setHardness(3.0F).setResistance(5.0F).setStepSound(soundStoneFootstep).setUnlocalizedName("oreIron") |
static final Block | oreCoal = (new BlockOre(16)).setHardness(3.0F).setResistance(5.0F).setStepSound(soundStoneFootstep).setUnlocalizedName("oreCoal") |
static final Block | wood = (new BlockLog(17)).setHardness(2.0F).setStepSound(soundWoodFootstep).setUnlocalizedName("log") |
static final BlockLeaves | leaves = (BlockLeaves)(new BlockLeaves(18)).setHardness(0.2F).setLightOpacity(1).setStepSound(soundGrassFootstep).setUnlocalizedName("leaves") |
static final Block | sponge = (new BlockSponge(19)).setHardness(0.6F).setStepSound(soundGrassFootstep).setUnlocalizedName("sponge") |
static final Block | glass = (new BlockGlass(20, Material.glass, false)).setHardness(0.3F).setStepSound(soundGlassFootstep).setUnlocalizedName("glass") |
static final Block | oreLapis = (new BlockOre(21)).setHardness(3.0F).setResistance(5.0F).setStepSound(soundStoneFootstep).setUnlocalizedName("oreLapis") |
static final Block | blockLapis = (new Block(22, Material.rock)).setHardness(3.0F).setResistance(5.0F).setStepSound(soundStoneFootstep).setUnlocalizedName("blockLapis").setCreativeTab(CreativeTabs.tabBlock) |
static final Block | dispenser = (new BlockDispenser(23)).setHardness(3.5F).setStepSound(soundStoneFootstep).setUnlocalizedName("dispenser") |
static final Block | sandStone = (new BlockSandStone(24)).setStepSound(soundStoneFootstep).setHardness(0.8F).setUnlocalizedName("sandStone") |
static final Block | music = (new BlockNote(25)).setHardness(0.8F).setUnlocalizedName("musicBlock") |
static final Block | bed = (new BlockBed(26)).setHardness(0.2F).setUnlocalizedName("bed").disableStats() |
static final Block | railPowered = (new BlockRailPowered(27)).setHardness(0.7F).setStepSound(soundMetalFootstep).setUnlocalizedName("goldenRail") |
static final Block | railDetector = (new BlockDetectorRail(28)).setHardness(0.7F).setStepSound(soundMetalFootstep).setUnlocalizedName("detectorRail") |
static final BlockPistonBase | pistonStickyBase = (BlockPistonBase)(new BlockPistonBase(29, true)).setUnlocalizedName("pistonStickyBase") |
static final Block | web = (new BlockWeb(30)).setLightOpacity(1).setHardness(4.0F).setUnlocalizedName("web") |
static final BlockTallGrass | tallGrass = (BlockTallGrass)(new BlockTallGrass(31)).setHardness(0.0F).setStepSound(soundGrassFootstep).setUnlocalizedName("tallgrass") |
static final BlockDeadBush | deadBush = (BlockDeadBush)(new BlockDeadBush(32)).setHardness(0.0F).setStepSound(soundGrassFootstep).setUnlocalizedName("deadbush") |
static final BlockPistonBase | pistonBase = (BlockPistonBase)(new BlockPistonBase(33, false)).setUnlocalizedName("pistonBase") |
static final BlockPistonExtension | pistonExtension = new BlockPistonExtension(34) |
static final Block | cloth = (new BlockCloth()).setHardness(0.8F).setStepSound(soundClothFootstep).setUnlocalizedName("cloth") |
static final BlockPistonMoving | pistonMoving = new BlockPistonMoving(36) |
static final BlockFlower | plantYellow = (BlockFlower)(new BlockFlower(37)).setHardness(0.0F).setStepSound(soundGrassFootstep).setUnlocalizedName("flower") |
static final BlockFlower | plantRed = (BlockFlower)(new BlockFlower(38)).setHardness(0.0F).setStepSound(soundGrassFootstep).setUnlocalizedName("rose") |
static final BlockFlower | mushroomBrown = (BlockFlower)(new BlockMushroom(39, "mushroom_brown")).setHardness(0.0F).setStepSound(soundGrassFootstep).setLightValue(0.125F).setUnlocalizedName("mushroom") |
static final BlockFlower | mushroomRed = (BlockFlower)(new BlockMushroom(40, "mushroom_red")).setHardness(0.0F).setStepSound(soundGrassFootstep).setUnlocalizedName("mushroom") |
static final Block | blockGold = (new BlockOreStorage(41)).setHardness(3.0F).setResistance(10.0F).setStepSound(soundMetalFootstep).setUnlocalizedName("blockGold") |
static final Block | blockIron = (new BlockOreStorage(42)).setHardness(5.0F).setResistance(10.0F).setStepSound(soundMetalFootstep).setUnlocalizedName("blockIron") |
static final BlockHalfSlab | stoneDoubleSlab = (BlockHalfSlab)(new BlockStep(43, true)).setHardness(2.0F).setResistance(10.0F).setStepSound(soundStoneFootstep).setUnlocalizedName("stoneSlab") |
static final BlockHalfSlab | stoneSingleSlab = (BlockHalfSlab)(new BlockStep(44, false)).setHardness(2.0F).setResistance(10.0F).setStepSound(soundStoneFootstep).setUnlocalizedName("stoneSlab") |
static final Block | brick = (new Block(45, Material.rock)).setHardness(2.0F).setResistance(10.0F).setStepSound(soundStoneFootstep).setUnlocalizedName("brick").setCreativeTab(CreativeTabs.tabBlock) |
static final Block | tnt = (new BlockTNT(46)).setHardness(0.0F).setStepSound(soundGrassFootstep).setUnlocalizedName("tnt") |
static final Block | bookShelf = (new BlockBookshelf(47)).setHardness(1.5F).setStepSound(soundWoodFootstep).setUnlocalizedName("bookshelf") |
static final Block | cobblestoneMossy = (new Block(48, Material.rock)).setHardness(2.0F).setResistance(10.0F).setStepSound(soundStoneFootstep).setUnlocalizedName("stoneMoss").setCreativeTab(CreativeTabs.tabBlock) |
static final Block | obsidian = (new BlockObsidian(49)).setHardness(50.0F).setResistance(2000.0F).setStepSound(soundStoneFootstep).setUnlocalizedName("obsidian") |
static final Block | torchWood = (new BlockTorch(50)).setHardness(0.0F).setLightValue(0.9375F).setStepSound(soundWoodFootstep).setUnlocalizedName("torch") |
static final BlockFire | fire = (BlockFire)(new BlockFire(51)).setHardness(0.0F).setLightValue(1.0F).setStepSound(soundWoodFootstep).setUnlocalizedName("fire").disableStats() |
static final Block | mobSpawner = (new BlockMobSpawner(52)).setHardness(5.0F).setStepSound(soundMetalFootstep).setUnlocalizedName("mobSpawner").disableStats() |
static final Block | stairsWoodOak = (new BlockStairs(53, planks, 0)).setUnlocalizedName("stairsWood") |
static final BlockChest | chest = (BlockChest)(new BlockChest(54, 0)).setHardness(2.5F).setStepSound(soundWoodFootstep).setUnlocalizedName("chest") |
static final BlockRedstoneWire | redstoneWire = (BlockRedstoneWire)(new BlockRedstoneWire(55)).setHardness(0.0F).setStepSound(soundPowderFootstep).setUnlocalizedName("redstoneDust").disableStats() |
static final Block | oreDiamond = (new BlockOre(56)).setHardness(3.0F).setResistance(5.0F).setStepSound(soundStoneFootstep).setUnlocalizedName("oreDiamond") |
static final Block | blockDiamond = (new BlockOreStorage(57)).setHardness(5.0F).setResistance(10.0F).setStepSound(soundMetalFootstep).setUnlocalizedName("blockDiamond") |
static final Block | workbench = (new BlockWorkbench(58)).setHardness(2.5F).setStepSound(soundWoodFootstep).setUnlocalizedName("workbench") |
static final Block | crops = (new BlockCrops(59)).setUnlocalizedName("crops") |
static final Block | tilledField = (new BlockFarmland(60)).setHardness(0.6F).setStepSound(soundGravelFootstep).setUnlocalizedName("farmland") |
static final Block | furnaceIdle = (new BlockFurnace(61, false)).setHardness(3.5F).setStepSound(soundStoneFootstep).setUnlocalizedName("furnace").setCreativeTab(CreativeTabs.tabDecorations) |
static final Block | furnaceBurning = (new BlockFurnace(62, true)).setHardness(3.5F).setStepSound(soundStoneFootstep).setLightValue(0.875F).setUnlocalizedName("furnace") |
static final Block | signPost = (new BlockSign(63, TileEntitySign.class, true)).setHardness(1.0F).setStepSound(soundWoodFootstep).setUnlocalizedName("sign").disableStats() |
static final Block | doorWood = (new BlockDoor(64, Material.wood)).setHardness(3.0F).setStepSound(soundWoodFootstep).setUnlocalizedName("doorWood").disableStats() |
static final Block | ladder = (new BlockLadder(65)).setHardness(0.4F).setStepSound(soundLadderFootstep).setUnlocalizedName("ladder") |
static final Block | rail = (new BlockRail(66)).setHardness(0.7F).setStepSound(soundMetalFootstep).setUnlocalizedName("rail") |
static final Block | stairsCobblestone = (new BlockStairs(67, cobblestone, 0)).setUnlocalizedName("stairsStone") |
static final Block | signWall = (new BlockSign(68, TileEntitySign.class, false)).setHardness(1.0F).setStepSound(soundWoodFootstep).setUnlocalizedName("sign").disableStats() |
static final Block | lever = (new BlockLever(69)).setHardness(0.5F).setStepSound(soundWoodFootstep).setUnlocalizedName("lever") |
static final Block | pressurePlateStone = (new BlockPressurePlate(70, "stone", Material.rock, EnumMobType.mobs)).setHardness(0.5F).setStepSound(soundStoneFootstep).setUnlocalizedName("pressurePlate") |
static final Block | doorIron = (new BlockDoor(71, Material.iron)).setHardness(5.0F).setStepSound(soundMetalFootstep).setUnlocalizedName("doorIron").disableStats() |
static final Block | pressurePlatePlanks = (new BlockPressurePlate(72, "wood", Material.wood, EnumMobType.everything)).setHardness(0.5F).setStepSound(soundWoodFootstep).setUnlocalizedName("pressurePlate") |
static final Block | oreRedstone = (new BlockRedstoneOre(73, false)).setHardness(3.0F).setResistance(5.0F).setStepSound(soundStoneFootstep).setUnlocalizedName("oreRedstone").setCreativeTab(CreativeTabs.tabBlock) |
static final Block | oreRedstoneGlowing = (new BlockRedstoneOre(74, true)).setLightValue(0.625F).setHardness(3.0F).setResistance(5.0F).setStepSound(soundStoneFootstep).setUnlocalizedName("oreRedstone") |
static final Block | torchRedstoneIdle = (new BlockRedstoneTorch(75, false)).setHardness(0.0F).setStepSound(soundWoodFootstep).setUnlocalizedName("notGate") |
static final Block | torchRedstoneActive = (new BlockRedstoneTorch(76, true)).setHardness(0.0F).setLightValue(0.5F).setStepSound(soundWoodFootstep).setUnlocalizedName("notGate").setCreativeTab(CreativeTabs.tabRedstone) |
static final Block | stoneButton = (new BlockButtonStone(77)).setHardness(0.5F).setStepSound(soundStoneFootstep).setUnlocalizedName("button") |
static final Block | snow = (new BlockSnow(78)).setHardness(0.1F).setStepSound(soundSnowFootstep).setUnlocalizedName("snow").setLightOpacity(0) |
static final Block | ice = (new BlockIce(79)).setHardness(0.5F).setLightOpacity(3).setStepSound(soundGlassFootstep).setUnlocalizedName("ice") |
static final Block | blockSnow = (new BlockSnowBlock(80)).setHardness(0.2F).setStepSound(soundSnowFootstep).setUnlocalizedName("snow") |
static final Block | cactus = (new BlockCactus(81)).setHardness(0.4F).setStepSound(soundClothFootstep).setUnlocalizedName("cactus") |
static final Block | blockClay = (new BlockClay(82)).setHardness(0.6F).setStepSound(soundGravelFootstep).setUnlocalizedName("clay") |
static final Block | reed = (new BlockReed(83)).setHardness(0.0F).setStepSound(soundGrassFootstep).setUnlocalizedName("reeds").disableStats() |
static final Block | jukebox = (new BlockJukeBox(84)).setHardness(2.0F).setResistance(10.0F).setStepSound(soundStoneFootstep).setUnlocalizedName("jukebox") |
static final Block | fence = (new BlockFence(85, "wood", Material.wood)).setHardness(2.0F).setResistance(5.0F).setStepSound(soundWoodFootstep).setUnlocalizedName("fence") |
static final Block | pumpkin = (new BlockPumpkin(86, false)).setHardness(1.0F).setStepSound(soundWoodFootstep).setUnlocalizedName("pumpkin") |
static final Block | netherrack = (new BlockNetherrack(87)).setHardness(0.4F).setStepSound(soundStoneFootstep).setUnlocalizedName("hellrock") |
static final Block | slowSand = (new BlockSoulSand(88)).setHardness(0.5F).setStepSound(soundSandFootstep).setUnlocalizedName("hellsand") |
static final Block | glowStone = (new BlockGlowStone(89, Material.glass)).setHardness(0.3F).setStepSound(soundGlassFootstep).setLightValue(1.0F).setUnlocalizedName("lightgem") |
static final BlockPortal | portal = (BlockPortal)(new BlockPortal(90)).setHardness(-1.0F).setStepSound(soundGlassFootstep).setLightValue(0.75F).setUnlocalizedName("portal") |
static final Block | pumpkinLantern = (new BlockPumpkin(91, true)).setHardness(1.0F).setStepSound(soundWoodFootstep).setLightValue(1.0F).setUnlocalizedName("litpumpkin") |
static final Block | cake = (new BlockCake(92)).setHardness(0.5F).setStepSound(soundClothFootstep).setUnlocalizedName("cake").disableStats() |
static final BlockRedstoneRepeater | redstoneRepeaterIdle = (BlockRedstoneRepeater)(new BlockRedstoneRepeater(93, false)).setHardness(0.0F).setStepSound(soundWoodFootstep).setUnlocalizedName("diode").disableStats() |
static final BlockRedstoneRepeater | redstoneRepeaterActive = (BlockRedstoneRepeater)(new BlockRedstoneRepeater(94, true)).setHardness(0.0F).setLightValue(0.625F).setStepSound(soundWoodFootstep).setUnlocalizedName("diode").disableStats() |
static final Block | lockedChest = (new BlockLockedChest(95)).setHardness(0.0F).setLightValue(1.0F).setStepSound(soundWoodFootstep).setUnlocalizedName("lockedchest").setTickRandomly(true) |
static final Block | trapdoor = (new BlockTrapDoor(96, Material.wood)).setHardness(3.0F).setStepSound(soundWoodFootstep).setUnlocalizedName("trapdoor").disableStats() |
static final Block | silverfish = (new BlockSilverfish(97)).setHardness(0.75F).setUnlocalizedName("monsterStoneEgg") |
static final Block | stoneBrick = (new BlockStoneBrick(98)).setHardness(1.5F).setResistance(10.0F).setStepSound(soundStoneFootstep).setUnlocalizedName("stonebricksmooth") |
static final Block | mushroomCapBrown = (new BlockMushroomCap(99, Material.wood, 0)).setHardness(0.2F).setStepSound(soundWoodFootstep).setUnlocalizedName("mushroom") |
static final Block | mushroomCapRed = (new BlockMushroomCap(100, Material.wood, 1)).setHardness(0.2F).setStepSound(soundWoodFootstep).setUnlocalizedName("mushroom") |
static final Block | fenceIron = (new BlockPane(101, "fenceIron", "fenceIron", Material.iron, true)).setHardness(5.0F).setResistance(10.0F).setStepSound(soundMetalFootstep).setUnlocalizedName("fenceIron") |
static final Block | thinGlass = (new BlockPane(102, "glass", "thinglass_top", Material.glass, false)).setHardness(0.3F).setStepSound(soundGlassFootstep).setUnlocalizedName("thinGlass") |
static final Block | melon = (new BlockMelon(103)).setHardness(1.0F).setStepSound(soundWoodFootstep).setUnlocalizedName("melon") |
static final Block | pumpkinStem = (new BlockStem(104, pumpkin)).setHardness(0.0F).setStepSound(soundWoodFootstep).setUnlocalizedName("pumpkinStem") |
static final Block | melonStem = (new BlockStem(105, melon)).setHardness(0.0F).setStepSound(soundWoodFootstep).setUnlocalizedName("pumpkinStem") |
static final Block | vine = (new BlockVine(106)).setHardness(0.2F).setStepSound(soundGrassFootstep).setUnlocalizedName("vine") |
static final Block | fenceGate = (new BlockFenceGate(107)).setHardness(2.0F).setResistance(5.0F).setStepSound(soundWoodFootstep).setUnlocalizedName("fenceGate") |
static final Block | stairsBrick = (new BlockStairs(108, brick, 0)).setUnlocalizedName("stairsBrick") |
static final Block | stairsStoneBrick = (new BlockStairs(109, stoneBrick, 0)).setUnlocalizedName("stairsStoneBrickSmooth") |
static final BlockMycelium | mycelium = (BlockMycelium)(new BlockMycelium(110)).setHardness(0.6F).setStepSound(soundGrassFootstep).setUnlocalizedName("mycel") |
static final Block | waterlily = (new BlockLilyPad(111)).setHardness(0.0F).setStepSound(soundGrassFootstep).setUnlocalizedName("waterlily") |
static final Block | netherBrick = (new Block(112, Material.rock)).setHardness(2.0F).setResistance(10.0F).setStepSound(soundStoneFootstep).setUnlocalizedName("netherBrick").setCreativeTab(CreativeTabs.tabBlock) |
static final Block | netherFence = (new BlockFence(113, "netherBrick", Material.rock)).setHardness(2.0F).setResistance(10.0F).setStepSound(soundStoneFootstep).setUnlocalizedName("netherFence") |
static final Block | stairsNetherBrick = (new BlockStairs(114, netherBrick, 0)).setUnlocalizedName("stairsNetherBrick") |
static final Block | netherStalk = (new BlockNetherStalk(115)).setUnlocalizedName("netherStalk") |
static final Block | enchantmentTable = (new BlockEnchantmentTable(116)).setHardness(5.0F).setResistance(2000.0F).setUnlocalizedName("enchantmentTable") |
static final Block | brewingStand = (new BlockBrewingStand(117)).setHardness(0.5F).setLightValue(0.125F).setUnlocalizedName("brewingStand") |
static final BlockCauldron | cauldron = (BlockCauldron)(new BlockCauldron(118)).setHardness(2.0F).setUnlocalizedName("cauldron") |
static final Block | endPortal = (new BlockEndPortal(119, Material.portal)).setHardness(-1.0F).setResistance(6000000.0F) |
static final Block | endPortalFrame = (new BlockEndPortalFrame(120)).setStepSound(soundGlassFootstep).setLightValue(0.125F).setHardness(-1.0F).setUnlocalizedName("endPortalFrame").setResistance(6000000.0F).setCreativeTab(CreativeTabs.tabDecorations) |
static final Block | whiteStone = (new Block(121, Material.rock)).setHardness(3.0F).setResistance(15.0F).setStepSound(soundStoneFootstep).setUnlocalizedName("whiteStone").setCreativeTab(CreativeTabs.tabBlock) |
static final Block | dragonEgg = (new BlockDragonEgg(122)).setHardness(3.0F).setResistance(15.0F).setStepSound(soundStoneFootstep).setLightValue(0.125F).setUnlocalizedName("dragonEgg") |
static final Block | redstoneLampIdle = (new BlockRedstoneLight(123, false)).setHardness(0.3F).setStepSound(soundGlassFootstep).setUnlocalizedName("redstoneLight").setCreativeTab(CreativeTabs.tabRedstone) |
static final Block | redstoneLampActive = (new BlockRedstoneLight(124, true)).setHardness(0.3F).setStepSound(soundGlassFootstep).setUnlocalizedName("redstoneLight") |
static final BlockHalfSlab | woodDoubleSlab = (BlockHalfSlab)(new BlockWoodSlab(125, true)).setHardness(2.0F).setResistance(5.0F).setStepSound(soundWoodFootstep).setUnlocalizedName("woodSlab") |
static final BlockHalfSlab | woodSingleSlab = (BlockHalfSlab)(new BlockWoodSlab(126, false)).setHardness(2.0F).setResistance(5.0F).setStepSound(soundWoodFootstep).setUnlocalizedName("woodSlab") |
static final Block | cocoaPlant = (new BlockCocoa(127)).setHardness(0.2F).setResistance(5.0F).setStepSound(soundWoodFootstep).setUnlocalizedName("cocoa") |
static final Block | stairsSandStone = (new BlockStairs(128, sandStone, 0)).setUnlocalizedName("stairsSandStone") |
static final Block | oreEmerald = (new BlockOre(129)).setHardness(3.0F).setResistance(5.0F).setStepSound(soundStoneFootstep).setUnlocalizedName("oreEmerald") |
static final Block | enderChest = (new BlockEnderChest(130)).setHardness(22.5F).setResistance(1000.0F).setStepSound(soundStoneFootstep).setUnlocalizedName("enderChest").setLightValue(0.5F) |
static final BlockTripWireSource | tripWireSource = (BlockTripWireSource)(new BlockTripWireSource(131)).setUnlocalizedName("tripWireSource") |
static final Block | tripWire = (new BlockTripWire(132)).setUnlocalizedName("tripWire") |
static final Block | blockEmerald = (new BlockOreStorage(133)).setHardness(5.0F).setResistance(10.0F).setStepSound(soundMetalFootstep).setUnlocalizedName("blockEmerald") |
static final Block | stairsWoodSpruce = (new BlockStairs(134, planks, 1)).setUnlocalizedName("stairsWoodSpruce") |
static final Block | stairsWoodBirch = (new BlockStairs(135, planks, 2)).setUnlocalizedName("stairsWoodBirch") |
static final Block | stairsWoodJungle = (new BlockStairs(136, planks, 3)).setUnlocalizedName("stairsWoodJungle") |
static final Block | commandBlock = (new BlockCommandBlock(137)).setUnlocalizedName("commandBlock") |
static final BlockBeacon | beacon = (BlockBeacon)(new BlockBeacon(138)).setUnlocalizedName("beacon").setLightValue(1.0F) |
static final Block | cobblestoneWall = (new BlockWall(139, cobblestone)).setUnlocalizedName("cobbleWall") |
static final Block | flowerPot = (new BlockFlowerPot(140)).setHardness(0.0F).setStepSound(soundPowderFootstep).setUnlocalizedName("flowerPot") |
static final Block | carrot = (new BlockCarrot(141)).setUnlocalizedName("carrots") |
static final Block | potato = (new BlockPotato(142)).setUnlocalizedName("potatoes") |
static final Block | woodenButton = (new BlockButtonWood(143)).setHardness(0.5F).setStepSound(soundWoodFootstep).setUnlocalizedName("button") |
static final Block | skull = (new BlockSkull(144)).setHardness(1.0F).setStepSound(soundStoneFootstep).setUnlocalizedName("skull") |
static final Block | anvil = (new BlockAnvil(145)).setHardness(5.0F).setStepSound(soundAnvilFootstep).setResistance(2000.0F).setUnlocalizedName("anvil") |
static final Block | chestTrapped = (new BlockChest(146, 1)).setHardness(2.5F).setStepSound(soundWoodFootstep).setUnlocalizedName("chestTrap") |
static final Block | pressurePlateGold = (new BlockPressurePlateWeighted(147, "blockGold", Material.iron, 64)).setHardness(0.5F).setStepSound(soundWoodFootstep).setUnlocalizedName("weightedPlate_light") |
static final Block | pressurePlateIron = (new BlockPressurePlateWeighted(148, "blockIron", Material.iron, 640)).setHardness(0.5F).setStepSound(soundWoodFootstep).setUnlocalizedName("weightedPlate_heavy") |
static final BlockComparator | redstoneComparatorIdle = (BlockComparator)(new BlockComparator(149, false)).setHardness(0.0F).setStepSound(soundWoodFootstep).setUnlocalizedName("comparator").disableStats() |
static final BlockComparator | redstoneComparatorActive = (BlockComparator)(new BlockComparator(150, true)).setHardness(0.0F).setLightValue(0.625F).setStepSound(soundWoodFootstep).setUnlocalizedName("comparator").disableStats() |
static final BlockDaylightDetector | daylightSensor = (BlockDaylightDetector)(new BlockDaylightDetector(151)).setHardness(0.2F).setStepSound(soundWoodFootstep).setUnlocalizedName("daylightDetector") |
static final Block | blockRedstone = (new BlockPoweredOre(152)).setHardness(5.0F).setResistance(10.0F).setStepSound(soundMetalFootstep).setUnlocalizedName("blockRedstone") |
static final Block | oreNetherQuartz = (new BlockOre(153)).setHardness(3.0F).setResistance(5.0F).setStepSound(soundStoneFootstep).setUnlocalizedName("netherquartz") |
static final BlockHopper | hopperBlock = (BlockHopper)(new BlockHopper(154)).setHardness(3.0F).setResistance(8.0F).setStepSound(soundWoodFootstep).setUnlocalizedName("hopper") |
static final Block | blockNetherQuartz = (new BlockQuartz(155)).setStepSound(soundStoneFootstep).setHardness(0.8F).setUnlocalizedName("quartzBlock") |
static final Block | stairsNetherQuartz = (new BlockStairs(156, blockNetherQuartz, 0)).setUnlocalizedName("stairsQuartz") |
static final Block | railActivator = (new BlockRailPowered(157)).setHardness(0.7F).setStepSound(soundMetalFootstep).setUnlocalizedName("activatorRail") |
static final Block | dropper = (new BlockDropper(158)).setHardness(3.5F).setStepSound(soundStoneFootstep).setUnlocalizedName("dropper") |
![]() | |
static int[] | blockFireSpreadSpeed = new int[4096] |
static int[] | blockFlammability = new int[4096] |
|
protected |
void net.minecraft.block.BlockButton.breakBlock | ( | World | par1World, |
int | par2, | ||
int | par3, | ||
int | par4, | ||
int | par5, | ||
int | par6 | ||
) |
ejects contained items into the world, and notifies neighbours of an update, as appropriate
boolean net.minecraft.block.BlockButton.canPlaceBlockAt | ( | World | par1World, |
int | par2, | ||
int | par3, | ||
int | par4 | ||
) |
Checks to see if its valid to put this block at the specified coordinates. Args: world, x, y, z
boolean net.minecraft.block.BlockButton.canPlaceBlockOnSide | ( | World | par1World, |
int | par2, | ||
int | par3, | ||
int | par4, | ||
int | par5 | ||
) |
checks to see if you can place this block can be placed on that side of a block: BlockLever overrides
boolean net.minecraft.block.BlockButton.canProvidePower | ( | ) |
Can this block provide power. Only wire currently seems to have this change based on its state.
|
protected |
AxisAlignedBB net.minecraft.block.BlockButton.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)
boolean net.minecraft.block.BlockButton.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.
int net.minecraft.block.BlockButton.isProvidingStrongPower | ( | IBlockAccess | par1IBlockAccess, |
int | par2, | ||
int | par3, | ||
int | par4, | ||
int | par5 | ||
) |
Returns true if the block is emitting direct/strong redstone power on the specified side. Args: World, X, Y, Z, side. Note that the side is reversed - eg it is 1 (up) when checking the bottom of the block.
int net.minecraft.block.BlockButton.isProvidingWeakPower | ( | IBlockAccess | par1IBlockAccess, |
int | par2, | ||
int | par3, | ||
int | par4, | ||
int | par5 | ||
) |
Returns true if the block is emitting indirect/weak redstone power on the specified side. If isBlockNormalCube returns true, standard redstone propagation rules will apply instead and this will not be called. Args: World, X, Y, Z, side. Note that the side is reversed - eg it is 1 (up) when checking the bottom of the block.
boolean net.minecraft.block.BlockButton.onBlockActivated | ( | World | par1World, |
int | par2, | ||
int | par3, | ||
int | par4, | ||
EntityPlayer | par5EntityPlayer, | ||
int | par6, | ||
float | par7, | ||
float | par8, | ||
float | par9 | ||
) |
Called upon block activation (right click on the block.)
void net.minecraft.block.BlockButton.onBlockClicked | ( | World | par1World, |
int | par2, | ||
int | par3, | ||
int | par4, | ||
EntityPlayer | par5EntityPlayer | ||
) |
Called when the block is clicked by a player. Args: x, y, z, entityPlayer
int net.minecraft.block.BlockButton.onBlockPlaced | ( | World | par1World, |
int | par2, | ||
int | par3, | ||
int | par4, | ||
int | par5, | ||
float | par6, | ||
float | par7, | ||
float | par8, | ||
int | par9 | ||
) |
Called when a block is placed using its ItemBlock. Args: World, X, Y, Z, side, hitX, hitY, hitZ, block metadata
void net.minecraft.block.BlockButton.onEntityCollidedWithBlock | ( | World | par1World, |
int | par2, | ||
int | par3, | ||
int | par4, | ||
Entity | par5Entity | ||
) |
Triggered whenever an entity collides with this block (enters into the block). Args: world, x, y, z, entity
void net.minecraft.block.BlockButton.onNeighborBlockChange | ( | World | par1World, |
int | par2, | ||
int | par3, | ||
int | par4, | ||
int | par5 | ||
) |
Lets the block know when one of its neighbor changes. Doesn't know which neighbor changed (coordinates passed are their own) Args: x, y, z, neighbor blockID
void net.minecraft.block.BlockButton.registerIcons | ( | IconRegister | par1IconRegister) |
When this method is called, your block should register all the icons it needs with the given IconRegister. This is the only chance you get to register icons.
boolean net.minecraft.block.BlockButton.renderAsNormalBlock | ( | ) |
If this block doesn't render as an ordinary block it will return False (examples: signs, buttons, stairs, etc)
void net.minecraft.block.BlockButton.setBlockBoundsBasedOnState | ( | IBlockAccess | par1IBlockAccess, |
int | par2, | ||
int | par3, | ||
int | par4 | ||
) |
Updates the blocks bounds based on its current state. Args: world, x, y, z
void net.minecraft.block.BlockButton.setBlockBoundsForItemRender | ( | ) |
Sets the block's bounds for rendering it as an item
int net.minecraft.block.BlockButton.tickRate | ( | World | par1World) |
How many world ticks before ticking
void net.minecraft.block.BlockButton.updateTick | ( | World | par1World, |
int | par2, | ||
int | par3, | ||
int | par4, | ||
Random | par5Random | ||
) |
Ticks the block if it's been scheduled
|
protected |
Whether this button is sensible to arrows, used by wooden buttons.