|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.src.Block
net.minecraft.src.BlockSand
net.minecraft.src.BlockAnvil
public class BlockAnvil
Field Summary | |
---|---|
int |
field_82521_b
|
static String[] |
field_82522_a
|
Fields inherited from class net.minecraft.src.BlockSand |
---|
fallInstantly |
Method Summary | |
---|---|
int |
damageDropped(int par1)
Determines the damage on the item the block drops. |
void |
func_82519_a_(World par1World,
int par2,
int par3,
int par4,
int par5)
|
int |
getBlockTextureFromSide(int par1)
Returns the block texture based on the side being looked at. |
int |
getBlockTextureFromSideAndMetadata(int par1,
int par2)
From the specified side and block metadata retrieves the blocks texture. |
int |
getRenderType()
The type of render function that is called for this block |
void |
getSubBlocks(int par1,
CreativeTabs par2CreativeTabs,
List par3List)
|
boolean |
isOpaqueCube()
Is this block (a) opaque and (b) a full 1m cube? This determines whether or not to render the shared face of two adjacent blocks and also whether the player can attach torches, redstone wire, etc to this block. |
boolean |
onBlockActivated(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer,
int par6,
float par7,
float par8,
float par9)
Called upon block activation (right click on the block.) |
void |
onBlockPlacedBy(World par1World,
int par2,
int par3,
int par4,
EntityLiving par5EntityLiving)
Called when the block is placed in the world. |
boolean |
renderAsNormalBlock()
If this block doesn't render as an ordinary block it will return False (examples: signs, buttons, stairs, etc) |
Methods inherited from class net.minecraft.src.BlockSand |
---|
canFallBelow, onBlockAdded, onNeighborBlockChange, tickRate, updateTick |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String[] field_82522_a
public int field_82521_b
Method Detail |
---|
public boolean renderAsNormalBlock()
renderAsNormalBlock
in class Block
public boolean isOpaqueCube()
isOpaqueCube
in class Block
public int getBlockTextureFromSideAndMetadata(int par1, int par2)
getBlockTextureFromSideAndMetadata
in class Block
public int getBlockTextureFromSide(int par1)
getBlockTextureFromSide
in class Block
public void onBlockPlacedBy(World par1World, int par2, int par3, int par4, EntityLiving par5EntityLiving)
onBlockPlacedBy
in class Block
public boolean onBlockActivated(World par1World, int par2, int par3, int par4, EntityPlayer par5EntityPlayer, int par6, float par7, float par8, float par9)
onBlockActivated
in class Block
public int getRenderType()
getRenderType
in class Block
public int damageDropped(int par1)
damageDropped
in class Block
public void getSubBlocks(int par1, CreativeTabs par2CreativeTabs, List par3List)
getSubBlocks
in class Block
public void func_82519_a_(World par1World, int par2, int par3, int par4, int par5)
func_82519_a_
in class BlockSand
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |