|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.block.Block
net.minecraft.block.BlockEndPortalFrame
public class BlockEndPortalFrame
Field Summary |
---|
Constructor Summary | |
---|---|
BlockEndPortalFrame(int par1)
|
Method Summary | |
---|---|
void |
addCollidingBlockToList(World par1World,
int par2,
int par3,
int par4,
AxisAlignedBB par5AxisAlignedBB,
List par6List,
Entity par7Entity)
if the specified block is in the given AABB, add its collision bounding box to the given list |
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 |
int |
idDropped(int par1,
Random par2Random,
int par3)
Returns the ID of the items to drop on destruction. |
static boolean |
isEnderEyeInserted(int par0)
checks if an ender eye has been inserted into the frame block. |
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. |
void |
onBlockPlacedBy(World par1World,
int par2,
int par3,
int par4,
EntityLiving par5EntityLiving)
Called when the block is placed in the world. |
void |
setBlockBoundsForItemRender()
Sets the block's bounds for rendering it as an item |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlockEndPortalFrame(int par1)
Method Detail |
---|
public int getBlockTextureFromSideAndMetadata(int par1, int par2)
getBlockTextureFromSideAndMetadata
in class Block
public boolean isOpaqueCube()
isOpaqueCube
in class Block
public int getRenderType()
getRenderType
in class Block
public void setBlockBoundsForItemRender()
setBlockBoundsForItemRender
in class Block
public void addCollidingBlockToList(World par1World, int par2, int par3, int par4, AxisAlignedBB par5AxisAlignedBB, List par6List, Entity par7Entity)
addCollidingBlockToList
in class Block
public static boolean isEnderEyeInserted(int par0)
public int idDropped(int par1, Random par2Random, int par3)
idDropped
in class Block
public void onBlockPlacedBy(World par1World, int par2, int par3, int par4, EntityLiving par5EntityLiving)
onBlockPlacedBy
in class Block
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |