public class DarkOre extends ConfigurableBlock implements IInformationProvider
DarkGem.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, useNeighborBrightnessBLOCK_PREFIX, INFO_PREFIX, ITEM_PREFIX| Modifier and Type | Method and Description |
|---|---|
boolean |
canSilkHarvest() |
protected net.minecraft.item.ItemStack |
createStackedBlock(int meta) |
void |
dropBlockAsItemWithChance(net.minecraft.world.World world,
int x,
int y,
int z,
int meta,
float dropchance,
int fortune) |
java.util.ArrayList<net.minecraft.item.ItemStack> |
getDrops(net.minecraft.world.World world,
int x,
int y,
int z,
int metadata,
int fortune) |
net.minecraft.util.IIcon |
getIcon(int side,
int meta,
int renderPass)
Get the icon for the given parameters.
|
java.lang.String |
getInfo(net.minecraft.item.ItemStack itemStack)
Get info for a given itemStack.
|
static DarkOre |
getInstance()
Get the unique instance.
|
net.minecraft.item.Item |
getItemDropped(int meta,
java.util.Random random,
int zero) |
int |
getRenderPasses()
Get the amount of required render passes.
|
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 motionX,
float motionY,
float motionZ) |
void |
onBlockClicked(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.entity.player.EntityPlayer player) |
void |
onBlockHarvested(net.minecraft.world.World world,
int x,
int y,
int z,
int meta,
net.minecraft.entity.player.EntityPlayer player) |
void |
onEntityWalking(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.entity.Entity entity) |
void |
provideInformation(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.player.EntityPlayer entityPlayer,
java.util.List list,
boolean par4)
An extended way to provide additional information.
|
int |
quantityDropped(java.util.Random random) |
int |
quantityDroppedWithBonus(int amount,
java.util.Random random) |
void |
randomDisplayTick(net.minecraft.world.World world,
int x,
int y,
int z,
java.util.Random random) |
int |
tickRate(net.minecraft.world.World world) |
void |
updateTick(net.minecraft.world.World world,
int x,
int y,
int z,
java.util.Random random) |
getConfig, getIcon, getRenderBlocks, getRenderType, getTextureName, registerBlockIcons, setHarvestLevelDefined, setInventoryBlock, setRenderBlocks, setRenderPass, shouldRender, updateTileEntityaddCollisionBoxesToList, addDestroyEffects, addHitEffects, beginLeavesDecay, breakBlock, canBeReplacedByLeaves, canBlockStay, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInPass, canReplace, canSilkHarvest, canSustainLeaves, canSustainPlant, captureDrops, collisionRayTrace, colorMultiplier, createTileEntity, damageDropped, disableStats, dropBlockAsItem, dropBlockAsItem, 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, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIcon, getIdFromBlock, getItem, 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, onBlockAdded, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockEventReceived, onBlockExploded, onBlockPlaced, onBlockPlacedBy, onBlockPreDestroy, onEntityCollidedWithBlock, onFallenUpon, onNeighborBlockChange, onNeighborChange, onPlantGrow, onPostBlockPlaced, quantityDropped, recolourBlock, registerBlocks, removedByPlayer, removedByPlayer, renderAsNormalBlock, rotateBlock, setBedOccupied, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockName, setBlockTextureName, setBlockUnbreakable, setCreativeTab, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, shouldCheckWeakPower, shouldSideBeRendered, velocityToAddToEntitypublic static void initInstance(ExtendedConfig<BlockConfig> eConfig)
eConfig - The config.public static DarkOre getInstance()
public net.minecraft.item.Item getItemDropped(int meta,
java.util.Random random,
int zero)
getItemDropped in class net.minecraft.block.Blockpublic int quantityDroppedWithBonus(int amount,
java.util.Random random)
quantityDroppedWithBonus in class net.minecraft.block.Blockpublic int quantityDropped(java.util.Random random)
quantityDropped in class net.minecraft.block.Blockpublic void dropBlockAsItemWithChance(net.minecraft.world.World world,
int x,
int y,
int z,
int meta,
float dropchance,
int fortune)
dropBlockAsItemWithChance in class net.minecraft.block.Blockpublic java.util.ArrayList<net.minecraft.item.ItemStack> getDrops(net.minecraft.world.World world,
int x,
int y,
int z,
int metadata,
int fortune)
getDrops in class net.minecraft.block.Blockprotected net.minecraft.item.ItemStack createStackedBlock(int meta)
createStackedBlock in class net.minecraft.block.Blockpublic int tickRate(net.minecraft.world.World world)
tickRate in class net.minecraft.block.Blockpublic void onBlockHarvested(net.minecraft.world.World world,
int x,
int y,
int z,
int meta,
net.minecraft.entity.player.EntityPlayer player)
onBlockHarvested in class net.minecraft.block.Blockpublic void onBlockClicked(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.entity.player.EntityPlayer player)
onBlockClicked in class net.minecraft.block.Blockpublic void onEntityWalking(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.entity.Entity entity)
onEntityWalking in class net.minecraft.block.Blockpublic boolean onBlockActivated(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.entity.player.EntityPlayer player,
int meta,
float motionX,
float motionY,
float motionZ)
onBlockActivated in class net.minecraft.block.Blockpublic void updateTick(net.minecraft.world.World world,
int x,
int y,
int z,
java.util.Random random)
updateTick in class net.minecraft.block.Blockpublic void randomDisplayTick(net.minecraft.world.World world,
int x,
int y,
int z,
java.util.Random random)
randomDisplayTick in class net.minecraft.block.Blockpublic boolean canSilkHarvest()
canSilkHarvest in class net.minecraft.block.Blockpublic int getRenderPasses()
IMultiRenderPassBlockgetRenderPasses in interface IMultiRenderPassBlockgetRenderPasses in class ConfigurableBlockpublic net.minecraft.util.IIcon getIcon(int side,
int meta,
int renderPass)
IMultiRenderPassBlockgetIcon in interface IMultiRenderPassBlockgetIcon in class ConfigurableBlockside - The side to render for.meta - The metadata of the block that will be rendered.renderPass - The renderpass.public java.lang.String getInfo(net.minecraft.item.ItemStack itemStack)
IInformationProvidergetInfo in interface IInformationProvideritemStack - The itemStack that must be given information.public void provideInformation(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.player.EntityPlayer entityPlayer,
java.util.List list,
boolean par4)
IInformationProviderprovideInformation in interface IInformationProvideritemStack - The itemStack that must be given information.entityPlayer - The player that asks for information.list - The list of information.par4 - No idea...