public abstract class BlockBuildCraft
extends net.minecraft.block.BlockContainer
| Modifier and Type | Field and Description |
|---|---|
net.minecraft.util.IIcon[][] |
icons |
protected static boolean |
keepInventory |
protected int |
maxPasses |
protected java.util.Random |
rand |
protected int |
renderPass |
blockConstructorCalled, blockHardness, blockIcon, blockMaterial, blockParticleGravity, blockRegistry, blockResistance, canBlockGrass, capturedDrops, captureDrops, delegate, enableStats, harvesters, isBlockContainer, lightOpacity, lightValue, maxX, maxY, maxZ, minX, minY, minZ, needsRandomTick, opaque, slipperiness, soundTypeAnvil, soundTypeCloth, soundTypeGlass, soundTypeGrass, soundTypeGravel, soundTypeLadder, soundTypeMetal, soundTypePiston, soundTypeSand, soundTypeSnow, soundTypeStone, soundTypeWood, stepSound, textureName, useNeighborBrightness| Modifier | Constructor and Description |
|---|---|
protected |
BlockBuildCraft(net.minecraft.block.material.Material material) |
protected |
BlockBuildCraft(net.minecraft.block.material.Material material,
net.minecraft.creativetab.CreativeTabs creativeTab) |
| Modifier and Type | Method and Description |
|---|---|
void |
breakBlock(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.block.Block block,
int par6) |
boolean |
canRenderInPassBC(int pass) |
int |
getCurrentRenderPass() |
int |
getFrontSide(int meta) |
net.minecraft.util.IIcon |
getIcon(net.minecraft.world.IBlockAccess access,
int x,
int y,
int z,
int side) |
net.minecraft.util.IIcon |
getIcon(int side,
int metadata) |
net.minecraft.util.IIcon |
getIconAbsolute(net.minecraft.world.IBlockAccess access,
int x,
int y,
int z,
int side,
int metadata) |
net.minecraft.util.IIcon |
getIconAbsolute(int side,
int metadata) |
java.lang.String[] |
getIconBlockNames() |
int |
getIconGlowLevel() |
int |
getIconGlowLevel(net.minecraft.world.IBlockAccess access,
int x,
int y,
int z) |
int |
getLightValue(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z) |
int |
getRenderType() |
boolean |
isRotatable() |
boolean |
onBlockActivated(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.entity.player.EntityPlayer entityplayer,
int par6,
float par7,
float par8,
float par9) |
void |
onBlockPlacedBy(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.entity.EntityLivingBase entity,
net.minecraft.item.ItemStack stack) |
void |
registerBlockIcons(net.minecraft.client.renderer.texture.IIconRegister register) |
protected void |
registerIconsForMeta(int meta,
java.lang.String blockName,
net.minecraft.client.renderer.texture.IIconRegister register) |
boolean |
rotateBlock(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraftforge.common.util.ForgeDirection axis) |
void |
setPassCount(int maxPasses) |
void |
setRotatable(boolean rotatable) |
addCollisionBoxesToList, addDestroyEffects, addHitEffects, beginLeavesDecay, canBeReplacedByLeaves, canBlockStay, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInPass, canReplace, canSilkHarvest, canSilkHarvest, canSustainLeaves, canSustainPlant, captureDrops, collisionRayTrace, colorMultiplier, createStackedBlock, createTileEntity, damageDropped, disableStats, dropBlockAsItem, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, fillWithRain, func_149698_L, func_149730_j, func_149735_b, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockById, getBlockColor, getBlockFromItem, getBlockFromName, getBlockHardness, getBlocksMovement, getBlockTextureFromSide, getCanBlockGrass, getCollisionBoundingBoxFromPool, getComparatorInputOverride, getCreativeTabToDisplayOn, getDamageValue, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemDropped, getItemIconName, getLightOpacity, getLightOpacity, getLightValue, getLocalizedName, getMapColor, getMaterial, getMixedBrightnessForBlock, getMobilityFlag, getPickBlock, getPickBlock, getPlayerRelativeBlockHardness, getRenderBlockPass, getRenderColor, getSelectedBoundingBoxFromPool, getSubBlocks, getTextureName, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, harvestBlock, hasComparatorInputOverride, hasTileEntity, hasTileEntity, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBlockSolid, isBurning, isCollidable, isEqualTo, isFertile, isFireSource, isFlammable, isFlowerPot, isFoliage, isLadder, isLeaves, isNormalCube, isNormalCube, isOpaqueCube, isProvidingStrongPower, isProvidingWeakPower, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isWood, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockExploded, onBlockHarvested, onBlockPlaced, onBlockPreDestroy, onEntityCollidedWithBlock, onEntityWalking, onFallenUpon, onNeighborBlockChange, onNeighborChange, onPlantGrow, onPostBlockPlaced, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, recolourBlock, registerBlocks, removedByPlayer, removedByPlayer, renderAsNormalBlock, setBedOccupied, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockName, setBlockTextureName, setBlockUnbreakable, setCreativeTab, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, shouldCheckWeakPower, shouldSideBeRendered, tickRate, updateTick, velocityToAddToEntitypublic net.minecraft.util.IIcon[][] icons
protected static boolean keepInventory
protected final java.util.Random rand
protected int renderPass
protected int maxPasses
protected BlockBuildCraft(net.minecraft.block.material.Material material)
protected BlockBuildCraft(net.minecraft.block.material.Material material,
net.minecraft.creativetab.CreativeTabs creativeTab)
public boolean isRotatable()
public void setRotatable(boolean rotatable)
public void setPassCount(int maxPasses)
public void onBlockPlacedBy(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.entity.EntityLivingBase entity,
net.minecraft.item.ItemStack stack)
onBlockPlacedBy in class net.minecraft.block.Blockpublic boolean onBlockActivated(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.entity.player.EntityPlayer entityplayer,
int par6,
float par7,
float par8,
float par9)
onBlockActivated in class net.minecraft.block.Blockpublic void breakBlock(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.block.Block block,
int par6)
breakBlock in class net.minecraft.block.BlockContainerpublic int getLightValue(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z)
getLightValue in class net.minecraft.block.Blockpublic boolean rotateBlock(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraftforge.common.util.ForgeDirection axis)
rotateBlock in class net.minecraft.block.Blockpublic net.minecraft.util.IIcon getIconAbsolute(net.minecraft.world.IBlockAccess access,
int x,
int y,
int z,
int side,
int metadata)
public net.minecraft.util.IIcon getIconAbsolute(int side,
int metadata)
public net.minecraft.util.IIcon getIcon(net.minecraft.world.IBlockAccess access,
int x,
int y,
int z,
int side)
getIcon in class net.minecraft.block.Blockpublic net.minecraft.util.IIcon getIcon(int side,
int metadata)
getIcon in class net.minecraft.block.Blockprotected void registerIconsForMeta(int meta,
java.lang.String blockName,
net.minecraft.client.renderer.texture.IIconRegister register)
public java.lang.String[] getIconBlockNames()
public void registerBlockIcons(net.minecraft.client.renderer.texture.IIconRegister register)
registerBlockIcons in class net.minecraft.block.Blockpublic boolean canRenderInPassBC(int pass)
public int getRenderType()
getRenderType in class net.minecraft.block.Blockpublic int getCurrentRenderPass()
public int getIconGlowLevel()
public int getIconGlowLevel(net.minecraft.world.IBlockAccess access,
int x,
int y,
int z)
public int getFrontSide(int meta)