public class ExcrementPile extends ConfigurableBlock implements IInformationProvider
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 |
canHarvestBlock(net.minecraft.entity.player.EntityPlayer player,
int meta) |
static boolean |
canHeightenPileAt(net.minecraft.world.World world,
int x,
int y,
int z)
If the height of this block can be increased.
|
boolean |
canPlaceBlockAt(net.minecraft.world.World world,
int x,
int y,
int z) |
net.minecraft.util.AxisAlignedBB |
getCollisionBoundingBoxFromPool(net.minecraft.world.World world,
int x,
int y,
int z) |
java.lang.String |
getInfo(net.minecraft.item.ItemStack itemStack)
Get info for a given itemStack.
|
static ExcrementPile |
getInstance()
Get the unique instance.
|
net.minecraft.item.Item |
getItemDropped(int par1,
java.util.Random random,
int zero) |
void |
harvestBlock(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
int x,
int y,
int z,
int meta) |
static void |
heightenPileAt(net.minecraft.world.World world,
int x,
int y,
int z)
Set the height of a pile.
|
static void |
initInstance(ExtendedConfig<BlockConfig> eConfig)
Initialise the configurable.
|
boolean |
isOpaqueCube() |
boolean |
isReplaceable(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z) |
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 neighbourBlock) |
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(int meta,
int fortune,
java.util.Random random) |
int |
quantityDropped(java.util.Random random) |
void |
randomDisplayTick(net.minecraft.world.World world,
int x,
int y,
int z,
java.util.Random random) |
boolean |
renderAsNormalBlock() |
void |
setBlockBoundsBasedOnState(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z) |
void |
setBlockBoundsForItemRender() |
protected void |
setBlockBoundsForPileDepth(int meta) |
boolean |
shouldSideBeRendered(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z,
int side) |
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, getIcon, getRenderBlocks, getRenderPasses, getRenderType, getTextureName, registerBlockIcons, setHarvestLevelDefined, setInventoryBlock, setRenderBlocks, setRenderPass, shouldRender, updateTileEntityaddCollisionBoxesToList, addDestroyEffects, addHitEffects, beginLeavesDecay, breakBlock, canBeReplacedByLeaves, canBlockStay, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, 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, getComparatorInputOverride, getCreativeTabToDisplayOn, getDamageValue, getDrops, 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, hasComparatorInputOverride, hasTileEntity, hasTileEntity, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBlockSolid, isBurning, isCollidable, isEqualTo, isFertile, isFireSource, isFlammable, isFlowerPot, isFoliage, isLadder, isLeaves, isNormalCube, isNormalCube, isProvidingStrongPower, isProvidingWeakPower, isReplaceableOreGen, isSideSolid, isToolEffective, isWood, onBlockActivated, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockEventReceived, onBlockExploded, onBlockHarvested, onBlockPlaced, onBlockPlacedBy, onBlockPreDestroy, onEntityWalking, onFallenUpon, onNeighborChange, onPlantGrow, onPostBlockPlaced, quantityDroppedWithBonus, recolourBlock, registerBlocks, removedByPlayer, removedByPlayer, rotateBlock, setBedOccupied, setBlockBounds, setBlockName, setBlockTextureName, setBlockUnbreakable, setCreativeTab, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, shouldCheckWeakPower, velocityToAddToEntitypublic static void initInstance(ExtendedConfig<BlockConfig> eConfig)
eConfig - The config.public static ExcrementPile getInstance()
public net.minecraft.item.Item getItemDropped(int par1,
java.util.Random random,
int zero)
getItemDropped in class net.minecraft.block.Blockpublic net.minecraft.util.AxisAlignedBB getCollisionBoundingBoxFromPool(net.minecraft.world.World world,
int x,
int y,
int z)
getCollisionBoundingBoxFromPool in class net.minecraft.block.Blockpublic boolean isOpaqueCube()
isOpaqueCube in class net.minecraft.block.Blockpublic boolean renderAsNormalBlock()
renderAsNormalBlock in class net.minecraft.block.Blockpublic void setBlockBoundsForItemRender()
setBlockBoundsForItemRender in class net.minecraft.block.Blockpublic void setBlockBoundsBasedOnState(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z)
setBlockBoundsBasedOnState in class net.minecraft.block.Blockprotected void setBlockBoundsForPileDepth(int meta)
public boolean canPlaceBlockAt(net.minecraft.world.World world,
int x,
int y,
int z)
canPlaceBlockAt in class net.minecraft.block.Blockpublic boolean canHarvestBlock(net.minecraft.entity.player.EntityPlayer player,
int meta)
canHarvestBlock in class net.minecraft.block.Blockpublic void harvestBlock(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
int x,
int y,
int z,
int meta)
harvestBlock in class net.minecraft.block.Blockpublic int quantityDropped(java.util.Random random)
quantityDropped in class net.minecraft.block.Blockpublic int tickRate(net.minecraft.world.World world)
tickRate 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 shouldSideBeRendered(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z,
int side)
shouldSideBeRendered in class net.minecraft.block.Blockpublic int quantityDropped(int meta,
int fortune,
java.util.Random random)
quantityDropped in class net.minecraft.block.Blockpublic boolean isReplaceable(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z)
isReplaceable in class net.minecraft.block.Blockpublic void onNeighborBlockChange(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.block.Block neighbourBlock)
onNeighborBlockChange 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 static boolean canHeightenPileAt(net.minecraft.world.World world,
int x,
int y,
int z)
world - the Worldx - X coordinatey - Y coordinatez - Z coordinatepublic static void heightenPileAt(net.minecraft.world.World world,
int x,
int y,
int z)
world - the Worldx - X coordinatey - Y coordinatez - Z coordinatepublic 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...