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

Public Member Functions

TileEntity createNewTileEntity (World par1World)
 
void setBlockBoundsBasedOnState (IBlockAccess par1IBlockAccess, int par2, int par3, int par4)
 
boolean shouldSideBeRendered (IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5)
 
void addCollisionBoxesToList (World par1World, int par2, int par3, int par4, AxisAlignedBB par5AxisAlignedBB, List par6List, Entity par7Entity)
 
boolean isOpaqueCube ()
 
boolean renderAsNormalBlock ()
 
int quantityDropped (Random par1Random)
 
void onEntityCollidedWithBlock (World par1World, int par2, int par3, int par4, Entity par5Entity)
 
void randomDisplayTick (World par1World, int par2, int par3, int par4, Random par5Random)
 
int getRenderType ()
 
void onBlockAdded (World par1World, int par2, int par3, int par4)
 
int idPicked (World par1World, int par2, int par3, int par4)
 
void registerIcons (IconRegister par1IconRegister)
 
- 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)
 

Static Public Attributes

static boolean bossDefeated = false
 

Protected Member Functions

 BlockEndPortal (int par1, Material par2Material)
 
- 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.Block
static boolean isNormalCube (int par0)
 
static boolean isAssociatedBlockID (int par0, int par1)
 
static void setBurnProperties (int id, int encouragement, int flammability)
 
- Public Attributes inherited from net.minecraft.block.Block
final int blockID
 
float blockHardness
 
float blockResistance
 
StepSound stepSound
 
float blockParticleGravity
 
final Material blockMaterial
 
float slipperiness
 
- Protected Attributes inherited from net.minecraft.block.Block
boolean blockConstructorCalled = true
 
boolean enableStats = true
 
boolean needsRandomTick
 
boolean isBlockContainer
 
double minX
 
double minY
 
double minZ
 
double maxX
 
double maxY
 
double maxZ
 
Icon blockIcon
 
- 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.BlockEndPortal.BlockEndPortal ( int  par1,
Material  par2Material 
)
protected

Member Function Documentation

void net.minecraft.block.BlockEndPortal.addCollisionBoxesToList ( World  par1World,
int  par2,
int  par3,
int  par4,
AxisAlignedBB  par5AxisAlignedBB,
List  par6List,
Entity  par7Entity 
)

Adds all intersecting collision boxes to a list. (Be sure to only add boxes to the list if they intersect the mask.) Parameters: World, X, Y, Z, mask, list, colliding entity

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

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

Implements net.minecraft.block.ITileEntityProvider.

int net.minecraft.block.BlockEndPortal.getRenderType ( )

The type of render function that is called for this block

int net.minecraft.block.BlockEndPortal.idPicked ( World  par1World,
int  par2,
int  par3,
int  par4 
)

only called by clickMiddleMouseButton , and passed to inventory.setCurrentItem (along with isCreative)

boolean net.minecraft.block.BlockEndPortal.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 net.minecraft.block.BlockEndPortal.onBlockAdded ( World  par1World,
int  par2,
int  par3,
int  par4 
)

Called whenever the block is added into the world. Args: world, x, y, z

void net.minecraft.block.BlockEndPortal.onEntityCollidedWithBlock ( World  par1World,
int  par2,
int  par3,
int  par4,
Entity  par5Entity 
)

Triggered whenever an entity collides with this block (enters into the block). Args: world, x, y, z, entity

int net.minecraft.block.BlockEndPortal.quantityDropped ( Random  par1Random)

Returns the quantity of items to drop on block destruction.

void net.minecraft.block.BlockEndPortal.randomDisplayTick ( World  par1World,
int  par2,
int  par3,
int  par4,
Random  par5Random 
)

A randomly called display update to be able to add particles or other items for display

void net.minecraft.block.BlockEndPortal.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.

boolean net.minecraft.block.BlockEndPortal.renderAsNormalBlock ( )

If this block doesn't render as an ordinary block it will return False (examples: signs, buttons, stairs, etc)

void net.minecraft.block.BlockEndPortal.setBlockBoundsBasedOnState ( IBlockAccess  par1IBlockAccess,
int  par2,
int  par3,
int  par4 
)

Updates the blocks bounds based on its current state. Args: world, x, y, z

boolean net.minecraft.block.BlockEndPortal.shouldSideBeRendered ( IBlockAccess  par1IBlockAccess,
int  par2,
int  par3,
int  par4,
int  par5 
)

Returns true if the given side of this block type should be rendered, if the adjacent block is at the given coordinates. Args: blockAccess, x, y, z, side

Member Data Documentation

boolean net.minecraft.block.BlockEndPortal.bossDefeated = false
static

true if the enderdragon has been killed - allows end portal blocks to be created in the end


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