public abstract class BlockAbstractGearbox extends net.minecraft.block.Block implements ISmashable, net.minecraft.block.ITileEntityProvider, IMetaItemBlock
| Modifier and Type | Field and Description |
|---|---|
java.lang.Class |
gearboxClass |
net.minecraft.util.IIcon[] |
icons |
java.lang.String |
type |
static java.lang.String[] |
types |
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| Constructor and Description |
|---|
BlockAbstractGearbox(java.lang.String type,
java.lang.Class gearboxClass) |
| 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 p_149749_6_) |
net.minecraft.tileentity.TileEntity |
createNewTileEntity(net.minecraft.world.World p_149915_1_,
int p_149915_2_) |
int |
damageDropped(int meta) |
void |
getSubBlocks(net.minecraft.item.Item item,
net.minecraft.creativetab.CreativeTabs tab,
java.util.List list) |
java.lang.String |
getUnlocalizedName(int meta) |
boolean |
hasTileEntity() |
boolean |
isOpaqueCube() |
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 reg) |
boolean |
shouldSideBeRendered(net.minecraft.world.IBlockAccess p_149646_1_,
int p_149646_2_,
int p_149646_3_,
int p_149646_4_,
int p_149646_5_) |
boolean |
smashed(net.minecraft.world.World world,
int x,
int y,
int z,
int dir,
boolean sneaky) |
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, 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, getIcon, getIcon, getIdFromBlock, getItem, getItemDropped, getItemIconName, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMixedBrightnessForBlock, getMobilityFlag, getPickBlock, getPlayerRelativeBlockHardness, getRenderBlockPass, getRenderColor, getRenderType, getSelectedBoundingBoxFromPool, getTextureName, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, harvestBlock, hasComparatorInputOverride, hasTileEntity, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBlockSolid, isBurning, isCollidable, isEqualTo, isFertile, isFireSource, isFlammable, isFlowerPot, isFoliage, isLadder, isLeaves, isNormalCube, isNormalCube, isProvidingStrongPower, isProvidingWeakPower, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isWood, onBlockActivated, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockEventReceived, onBlockExploded, onBlockHarvested, onBlockPlaced, onBlockPreDestroy, onEntityCollidedWithBlock, onEntityWalking, onFallenUpon, onNeighborBlockChange, onNeighborChange, onPlantGrow, onPostBlockPlaced, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, recolourBlock, registerBlocks, removedByPlayer, removedByPlayer, renderAsNormalBlock, rotateBlock, setBedOccupied, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockName, setBlockTextureName, setBlockUnbreakable, setCreativeTab, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, shouldCheckWeakPower, tickRate, updateTick, velocityToAddToEntitypublic net.minecraft.util.IIcon[] icons
public java.lang.String type
public java.lang.Class gearboxClass
public static final java.lang.String[] types
public BlockAbstractGearbox(java.lang.String type,
java.lang.Class gearboxClass)
public net.minecraft.tileentity.TileEntity createNewTileEntity(net.minecraft.world.World p_149915_1_,
int p_149915_2_)
createNewTileEntity in interface net.minecraft.block.ITileEntityProviderpublic boolean hasTileEntity()
hasTileEntity in class net.minecraft.block.Blockpublic 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 void breakBlock(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.block.Block block,
int p_149749_6_)
breakBlock in class net.minecraft.block.Blockpublic void registerBlockIcons(net.minecraft.client.renderer.texture.IIconRegister reg)
registerBlockIcons in class net.minecraft.block.Blockpublic boolean isOpaqueCube()
isOpaqueCube in class net.minecraft.block.Blockpublic boolean shouldSideBeRendered(net.minecraft.world.IBlockAccess p_149646_1_,
int p_149646_2_,
int p_149646_3_,
int p_149646_4_,
int p_149646_5_)
shouldSideBeRendered in class net.minecraft.block.Blockpublic boolean smashed(net.minecraft.world.World world,
int x,
int y,
int z,
int dir,
boolean sneaky)
smashed in interface ISmashablepublic int damageDropped(int meta)
damageDropped in class net.minecraft.block.Blockpublic void getSubBlocks(net.minecraft.item.Item item,
net.minecraft.creativetab.CreativeTabs tab,
java.util.List list)
getSubBlocks in class net.minecraft.block.Blockpublic java.lang.String getUnlocalizedName(int meta)
getUnlocalizedName in interface IMetaItemBlock