YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.block.BlockDropper Class Reference
Inheritance diagram for net.minecraft.block.BlockDropper:
net.minecraft.block.BlockDispenser net.minecraft.block.BlockContainer net.minecraft.block.Block net.minecraft.block.ITileEntityProvider

Public Member Functions

void registerIcons (IconRegister par1IconRegister)
 
TileEntity createNewTileEntity (World par1World)
 
- Public Member Functions inherited from net.minecraft.block.BlockDispenser
int tickRate (World par1World)
 
void onBlockAdded (World par1World, int par2, int par3, int par4)
 
Icon getIcon (int par1, int par2)
 
void registerIcons (IconRegister par1IconRegister)
 
boolean onBlockActivated (World par1World, int par2, int par3, int par4, EntityPlayer par5EntityPlayer, int par6, float par7, float par8, float par9)
 
void onNeighborBlockChange (World par1World, int par2, int par3, int par4, int par5)
 
void updateTick (World par1World, int par2, int par3, int par4, Random par5Random)
 
TileEntity createNewTileEntity (World par1World)
 
void onBlockPlacedBy (World par1World, int par2, int par3, int par4, EntityLiving par5EntityLiving, ItemStack par6ItemStack)
 
void breakBlock (World par1World, int par2, int par3, int par4, int par5, int par6)
 
boolean hasComparatorInputOverride ()
 
int getComparatorInputOverride (World par1World, int par2, int par3, int par4, int par5)
 
- Public Member Functions inherited from net.minecraft.block.BlockContainer
void onBlockAdded (World par1World, int par2, int par3, int par4)
 
void breakBlock (World par1World, int par2, int par3, int par4, int par5, int par6)
 
boolean onBlockEventReceived (World par1World, int par2, int par3, int par4, int par5, int par6)
 
- Public Member Functions inherited from net.minecraft.block.Block
 Block (int par1, Material par2Material)
 
Block setStepSound (StepSound par1StepSound)
 
Block setLightOpacity (int par1)
 
Block setLightValue (float par1)
 
Block setResistance (float par1)
 
boolean renderAsNormalBlock ()
 
boolean getBlocksMovement (IBlockAccess par1IBlockAccess, int par2, int par3, int par4)
 
int getRenderType ()
 
Block setHardness (float par1)
 
Block setBlockUnbreakable ()
 
float getBlockHardness (World par1World, int par2, int par3, int par4)
 
Block setTickRandomly (boolean par1)
 
boolean getTickRandomly ()
 
boolean hasTileEntity ()
 
final void setBlockBounds (float par1, float par2, float par3, float par4, float par5, float par6)
 
float getBlockBrightness (IBlockAccess par1IBlockAccess, int par2, int par3, int par4)
 
int getMixedBrightnessForBlock (IBlockAccess par1IBlockAccess, int par2, int par3, int par4)
 
boolean shouldSideBeRendered (IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5)
 
boolean isBlockSolid (IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5)
 
Icon getBlockTexture (IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5)
 
Icon getIcon (int par1, int par2)
 
void addCollisionBoxesToList (World par1World, int par2, int par3, int par4, AxisAlignedBB par5AxisAlignedBB, List par6List, Entity par7Entity)
 
final Icon getBlockTextureFromSide (int par1)
 
AxisAlignedBB getSelectedBoundingBoxFromPool (World par1World, int par2, int par3, int par4)
 
AxisAlignedBB getCollisionBoundingBoxFromPool (World par1World, int par2, int par3, int par4)
 
boolean isOpaqueCube ()
 
boolean canCollideCheck (int par1, boolean par2)
 
boolean isCollidable ()
 
void updateTick (World par1World, int par2, int par3, int par4, Random par5Random)
 
void randomDisplayTick (World par1World, int par2, int par3, int par4, Random par5Random)
 
void onBlockDestroyedByPlayer (World par1World, int par2, int par3, int par4, int par5)
 
void onNeighborBlockChange (World par1World, int par2, int par3, int par4, int par5)
 
int tickRate (World par1World)
 
void onBlockAdded (World par1World, int par2, int par3, int par4)
 
void breakBlock (World par1World, int par2, int par3, int par4, int par5, int par6)
 
int quantityDropped (Random par1Random)
 
int idDropped (int par1, Random par2Random, int par3)
 
float getPlayerRelativeBlockHardness (EntityPlayer par1EntityPlayer, World par2World, int par3, int par4, int par5)
 
final void dropBlockAsItem (World par1World, int par2, int par3, int par4, int par5, int par6)
 
void dropBlockAsItemWithChance (World par1World, int par2, int par3, int par4, int par5, float par6, int par7)
 
int damageDropped (int par1)
 
float getExplosionResistance (Entity par1Entity)
 
MovingObjectPosition collisionRayTrace (World par1World, int par2, int par3, int par4, Vec3 par5Vec3, Vec3 par6Vec3)
 
void onBlockDestroyedByExplosion (World par1World, int par2, int par3, int par4, Explosion par5Explosion)
 
boolean canPlaceBlockOnSide (World par1World, int par2, int par3, int par4, int par5, ItemStack par6ItemStack)
 
int getRenderBlockPass ()
 
boolean canPlaceBlockOnSide (World par1World, int par2, int par3, int par4, int par5)
 
boolean canPlaceBlockAt (World par1World, int par2, int par3, int par4)
 
boolean onBlockActivated (World par1World, int par2, int par3, int par4, EntityPlayer par5EntityPlayer, int par6, float par7, float par8, float par9)
 
void onEntityWalking (World par1World, int par2, int par3, int par4, Entity par5Entity)
 
int onBlockPlaced (World par1World, int par2, int par3, int par4, int par5, float par6, float par7, float par8, int par9)
 
void onBlockClicked (World par1World, int par2, int par3, int par4, EntityPlayer par5EntityPlayer)
 
void velocityToAddToEntity (World par1World, int par2, int par3, int par4, Entity par5Entity, Vec3 par6Vec3)
 
void setBlockBoundsBasedOnState (IBlockAccess par1IBlockAccess, int par2, int par3, int par4)
 
final double getBlockBoundsMinX ()
 
final double getBlockBoundsMaxX ()
 
final double getBlockBoundsMinY ()
 
final double getBlockBoundsMaxY ()
 
final double getBlockBoundsMinZ ()
 
final double getBlockBoundsMaxZ ()
 
int getBlockColor ()
 
int getRenderColor (int par1)
 
int isProvidingWeakPower (IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5)
 
int colorMultiplier (IBlockAccess par1IBlockAccess, int par2, int par3, int par4)
 
boolean canProvidePower ()
 
void onEntityCollidedWithBlock (World par1World, int par2, int par3, int par4, Entity par5Entity)
 
int isProvidingStrongPower (IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5)
 
void setBlockBoundsForItemRender ()
 
void harvestBlock (World par1World, EntityPlayer par2EntityPlayer, int par3, int par4, int par5, int par6)
 
int quantityDroppedWithBonus (int par1, Random par2Random)
 
boolean canBlockStay (World par1World, int par2, int par3, int par4)
 
void onBlockPlacedBy (World par1World, int par2, int par3, int par4, EntityLiving par5EntityLiving, ItemStack par6ItemStack)
 
void onPostBlockPlaced (World par1World, int par2, int par3, int par4, int par5)
 
Block setUnlocalizedName (String par1Str)
 
String getLocalizedName ()
 
String getUnlocalizedName ()
 
String getUnlocalizedName2 ()
 
boolean onBlockEventReceived (World par1World, int par2, int par3, int par4, int par5, int par6)
 
boolean getEnableStats ()
 
int getMobilityFlag ()
 
float getAmbientOcclusionLightValue (IBlockAccess par1IBlockAccess, int par2, int par3, int par4)
 
void onFallenUpon (World par1World, int par2, int par3, int par4, Entity par5Entity, float par6)
 
int idPicked (World par1World, int par2, int par3, int par4)
 
int getDamageValue (World par1World, int par2, int par3, int par4)
 
void getSubBlocks (int par1, CreativeTabs par2CreativeTabs, List par3List)
 
Block setCreativeTab (CreativeTabs par1CreativeTabs)
 
void onBlockHarvested (World par1World, int par2, int par3, int par4, int par5, EntityPlayer par6EntityPlayer)
 
CreativeTabs getCreativeTabToDisplayOn ()
 
void onSetBlockIDWithMetaData (World par1World, int par2, int par3, int par4, int par5)
 
void fillWithRain (World par1World, int par2, int par3, int par4)
 
boolean isFlowerPot ()
 
boolean func_82506_l ()
 
boolean canDropFromExplosion (Explosion par1Explosion)
 
boolean isAssociatedBlockID (int par1)
 
boolean hasComparatorInputOverride ()
 
int getComparatorInputOverride (World par1World, int par2, int par3, int par4, int par5)
 
void registerIcons (IconRegister par1IconRegister)
 
String getItemIconName ()
 
int getLightValue (IBlockAccess world, int x, int y, int z)
 
boolean isLadder (World world, int x, int y, int z, EntityLiving entity)
 
boolean isLadder (World world, int x, int y, int z)
 
boolean isBlockNormalCube (World world, int x, int y, int z)
 
boolean isBlockSolidOnSide (World world, int x, int y, int z, ForgeDirection side)
 
boolean isBlockReplaceable (World world, int x, int y, int z)
 
boolean isBlockBurning (World world, int x, int y, int z)
 
boolean isAirBlock (World world, int x, int y, int z)
 
boolean canHarvestBlock (EntityPlayer player, int meta)
 
boolean removeBlockByPlayer (World world, EntityPlayer player, int x, int y, int z)
 
void addCreativeItems (ArrayList itemList)
 
int getFlammability (IBlockAccess world, int x, int y, int z, int metadata, ForgeDirection face)
 
boolean isFlammable (IBlockAccess world, int x, int y, int z, int metadata, ForgeDirection face)
 
int getFireSpreadSpeed (World world, int x, int y, int z, int metadata, ForgeDirection face)
 
boolean isFireSource (World world, int x, int y, int z, int metadata, ForgeDirection side)
 
boolean hasTileEntity (int metadata)
 
TileEntity createTileEntity (World world, int metadata)
 
int quantityDropped (int meta, int fortune, Random random)
 
ArrayList< ItemStackgetBlockDropped (World world, int x, int y, int z, int metadata, int fortune)
 
boolean canSilkHarvest (World world, EntityPlayer player, int x, int y, int z, int metadata)
 
boolean canCreatureSpawn (EnumCreatureType type, World world, int x, int y, int z)
 
boolean isBed (World world, int x, int y, int z, EntityLiving player)
 
ChunkCoordinates getBedSpawnPosition (World world, int x, int y, int z, EntityPlayer player)
 
void setBedOccupied (World world, int x, int y, int z, EntityPlayer player, boolean occupied)
 
int getBedDirection (IBlockAccess world, int x, int y, int z)
 
boolean isBedFoot (IBlockAccess world, int x, int y, int z)
 
void beginLeavesDecay (World world, int x, int y, int z)
 
boolean canSustainLeaves (World world, int x, int y, int z)
 
boolean isLeaves (World world, int x, int y, int z)
 
boolean canBeReplacedByLeaves (World world, int x, int y, int z)
 
boolean isWood (World world, int x, int y, int z)
 
boolean isGenMineableReplaceable (World world, int x, int y, int z, int target)
 
float getExplosionResistance (Entity par1Entity, World world, int x, int y, int z, double explosionX, double explosionY, double explosionZ)
 
void onBlockExploded (World world, int x, int y, int z, Explosion explosion)
 
boolean canConnectRedstone (IBlockAccess world, int x, int y, int z, int side)
 
boolean canPlaceTorchOnTop (World world, int x, int y, int z)
 
boolean canRenderInPass (int pass)
 
ItemStack getPickBlock (MovingObjectPosition target, World world, int x, int y, int z)
 
boolean isBlockFoliage (World world, int x, int y, int z)
 
boolean addBlockHitEffects (World worldObj, MovingObjectPosition target, EffectRenderer effectRenderer)
 
boolean addBlockDestroyEffects (World world, int x, int y, int z, int meta, EffectRenderer effectRenderer)
 
boolean canSustainPlant (World world, int x, int y, int z, ForgeDirection direction, IPlantable plant)
 
void onPlantGrow (World world, int x, int y, int z, int sourceX, int sourceY, int sourceZ)
 
boolean isFertile (World world, int x, int y, int z)
 
int getLightOpacity (World world, int x, int y, int z)
 
boolean canDragonDestroy (World world, int x, int y, int z)
 
boolean isBeaconBase (World worldObj, int x, int y, int z, int beaconX, int beaconY, int beaconZ)
 
boolean rotateBlock (World worldObj, int x, int y, int z, ForgeDirection axis)
 
ForgeDirection[] getValidRotations (World worldObj, int x, int y, int z)
 
float getEnchantPowerBonus (World world, int x, int y, int z)
 
int getEnchantPower (World world, int x, int y, int z)
 
boolean recolourBlock (World world, int x, int y, int z, ForgeDirection side, int colour)
 

Protected Member Functions

 BlockDropper (int par1)
 
IBehaviorDispenseItem getBehaviorForItemStack (ItemStack par1ItemStack)
 
void dispense (World par1World, int par2, int par3, int par4)
 
- Protected Member Functions inherited from net.minecraft.block.BlockDispenser
 BlockDispenser (int par1)
 
void dispense (World par1World, int par2, int par3, int par4)
 
IBehaviorDispenseItem getBehaviorForItemStack (ItemStack par1ItemStack)
 
- Protected Member Functions inherited from net.minecraft.block.BlockContainer
 BlockContainer (int par1, Material par2Material)
 
- Protected Member Functions inherited from net.minecraft.block.Block
void initializeBlock ()
 
void dropBlockAsItem_do (World par1World, int par2, int par3, int par4, ItemStack par5ItemStack)
 
void dropXpOnBlockBreak (World par1World, int par2, int par3, int par4, int par5)
 
boolean canSilkHarvest ()
 
ItemStack createStackedBlock (int par1)
 
Block disableStats ()
 

Additional Inherited Members

- Static Public Member Functions inherited from net.minecraft.block.BlockDispenser
static IPosition getIPositionFromBlockSource (IBlockSource par0IBlockSource)
 
static EnumFacing getFacing (int par0)
 
- Public Attributes inherited from net.minecraft.block.Block
final int blockID
 
float blockHardness
 
float blockResistance
 
StepSound stepSound
 
float blockParticleGravity
 
final Material blockMaterial
 
float slipperiness
 
- Static Public Attributes inherited from net.minecraft.block.BlockDispenser
static final IRegistry dispenseBehaviorRegistry = new RegistryDefaulted(new BehaviorDefaultDispenseItem())
 
- Protected Attributes inherited from net.minecraft.block.BlockDispenser
Random random = new Random()
 
Icon furnaceTopIcon
 
Icon furnaceFrontIcon
 
Icon field_96473_e
 
- Static Protected Attributes inherited from net.minecraft.block.Block
static int[] blockFireSpreadSpeed = new int[4096]
 
static int[] blockFlammability = new int[4096]
 

Constructor & Destructor Documentation

net.minecraft.block.BlockDropper.BlockDropper ( int  par1)
protected

Member Function Documentation

TileEntity net.minecraft.block.BlockDropper.createNewTileEntity ( World  par1World)

Returns a new instance of a block's tile entity class. Called on placing the block.

Implements net.minecraft.block.ITileEntityProvider.

void net.minecraft.block.BlockDropper.dispense ( World  par1World,
int  par2,
int  par3,
int  par4 
)
protected
IBehaviorDispenseItem net.minecraft.block.BlockDropper.getBehaviorForItemStack ( ItemStack  par1ItemStack)
protected

Returns the behavior for the given ItemStack.

void net.minecraft.block.BlockDropper.registerIcons ( IconRegister  par1IconRegister)

When this method is called, your block should register all the icons it needs with the given IconRegister. This is the only chance you get to register icons.


The documentation for this class was generated from the following file: