public class LightningBomb extends ConfigurableBlock
eConfig, isInventoryBlock, pass, rendererblockConstructorCalled, 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 and Type | Method and Description |
|---|---|
boolean |
canDropFromExplosion(net.minecraft.world.Explosion explosion) |
net.minecraft.util.IIcon |
getIcon(int side,
int meta) |
static LightningBomb |
getInstance()
Get the unique instance.
|
static void |
initInstance(ExtendedConfig<BlockConfig> eConfig)
Initialise the configurable.
|
boolean |
onBlockActivated(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.entity.player.EntityPlayer player,
int meta,
float coordX,
float coordY,
float coordZ) |
void |
onBlockAdded(net.minecraft.world.World world,
int x,
int y,
int z) |
void |
onBlockDestroyedByExplosion(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.world.Explosion explosion) |
void |
onBlockDestroyedByPlayer(net.minecraft.world.World world,
int x,
int y,
int z,
int meta) |
void |
onEntityCollidedWithBlock(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.entity.Entity entity) |
void |
onNeighborBlockChange(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.block.Block neighbour) |
void |
primeBomb(net.minecraft.world.World world,
int x,
int y,
int z,
int meta,
net.minecraft.entity.EntityLivingBase placer)
spawns the primed bomb and plays the fuse sound.
|
int |
quantityDropped(java.util.Random random) |
void |
registerBlockIcons(net.minecraft.client.renderer.texture.IIconRegister ironRegister) |
getConfig, getIcon, getRenderBlocks, getRenderPasses, getRenderType, getTextureName, setHarvestLevelDefined, setInventoryBlock, setRenderBlocks, setRenderPass, shouldRender, updateTileEntityaddCollisionBoxesToList, addDestroyEffects, addHitEffects, beginLeavesDecay, breakBlock, canBeReplacedByLeaves, canBlockStay, canCollideCheck, canConnectRedstone, canCreatureSpawn, 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, getIcon, getIdFromBlock, getItem, getItemDropped, getItemIconName, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMixedBrightnessForBlock, getMobilityFlag, getPickBlock, getPickBlock, getPlayerRelativeBlockHardness, getRenderBlockPass, getRenderColor, getSelectedBoundingBoxFromPool, getSubBlocks, 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, onBlockEventReceived, onBlockExploded, onBlockHarvested, onBlockPlaced, onBlockPlacedBy, onBlockPreDestroy, onEntityWalking, onFallenUpon, onNeighborChange, onPlantGrow, onPostBlockPlaced, 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, shouldSideBeRendered, tickRate, updateTick, velocityToAddToEntitypublic static void initInstance(ExtendedConfig<BlockConfig> eConfig)
eConfig - The config.public static LightningBomb getInstance()
public void onBlockAdded(net.minecraft.world.World world,
int x,
int y,
int z)
onBlockAdded in class net.minecraft.block.Blockpublic void onNeighborBlockChange(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.block.Block neighbour)
onNeighborBlockChange in class net.minecraft.block.Blockpublic void onBlockDestroyedByExplosion(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.world.Explosion explosion)
onBlockDestroyedByExplosion in class net.minecraft.block.Blockpublic void onBlockDestroyedByPlayer(net.minecraft.world.World world,
int x,
int y,
int z,
int meta)
onBlockDestroyedByPlayer in class net.minecraft.block.Blockpublic void primeBomb(net.minecraft.world.World world,
int x,
int y,
int z,
int meta,
net.minecraft.entity.EntityLivingBase placer)
world - The world.x - X coordinate.y - Y coordinate.z - Z coordinate.meta - Meta of this block.placer - The entity that primed the bomb.public int quantityDropped(java.util.Random random)
quantityDropped in class net.minecraft.block.Blockpublic net.minecraft.util.IIcon getIcon(int side,
int meta)
getIcon in class ConfigurableBlockpublic void registerBlockIcons(net.minecraft.client.renderer.texture.IIconRegister ironRegister)
registerBlockIcons in class ConfigurableBlockpublic boolean onBlockActivated(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.entity.player.EntityPlayer player,
int meta,
float coordX,
float coordY,
float coordZ)
onBlockActivated in class net.minecraft.block.Blockpublic void onEntityCollidedWithBlock(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.entity.Entity entity)
onEntityCollidedWithBlock in class net.minecraft.block.Blockpublic boolean canDropFromExplosion(net.minecraft.world.Explosion explosion)
canDropFromExplosion in class net.minecraft.block.Block