public class BlockPortal extends BlockBreakable
anvil, beacon, bed, bedrock, blockClay, blockDiamond, blockEmerald, blockGold, blockID, blockLapis, blockMaterial, blockParticleGravity, blocksList, blockSnow, blockSteel, bookShelf, brewingStand, brick, cactus, cake, canBlockGrass, carrot, cauldron, chest, cloth, cobblestone, cobblestoneMossy, cobblestoneWall, cocoaPlant, commandBlock, crops, deadBush, dirt, dispenser, doorSteel, doorWood, dragonEgg, enchantmentTable, enderChest, endPortal, endPortalFrame, fence, fenceGate, fenceIron, field_94337_cv, field_94338_cu, field_94339_ct, field_94340_cs, field_94341_cq, field_94342_cr, field_94343_co, field_94344_cp, field_94345_cm, field_94346_cn, field_94347_ck, field_94348_cl, field_96469_cy, fire, flowerPot, furnaceBurning, furnaceIdle, glass, glowStone, grass, gravel, ice, jukebox, ladder, lavaMoving, lavaStill, leaves, lever, lightOpacity, lightValue, lockedChest, melon, melonStem, mobSpawner, mushroomBrown, mushroomCapBrown, mushroomCapRed, mushroomRed, music, mycelium, netherBrick, netherFence, netherrack, netherStalk, obsidian, opaqueCubeLookup, oreCoal, oreDiamond, oreEmerald, oreGold, oreIron, oreLapis, oreRedstone, oreRedstoneGlowing, pistonBase, pistonExtension, pistonMoving, pistonStickyBase, planks, plantRed, plantYellow, portal, potato, pressurePlatePlanks, pressurePlateStone, pumpkin, pumpkinLantern, pumpkinStem, rail, railDetector, railPowered, redstoneLampActive, redstoneLampIdle, redstoneRepeaterActive, redstoneRepeaterIdle, redstoneWire, reed, sand, sandStone, sapling, signPost, signWall, silverfish, skull, slipperiness, slowSand, snow, soundAnvilFootstep, soundClothFootstep, soundGlassFootstep, soundGrassFootstep, soundGravelFootstep, soundLadderFootstep, soundMetalFootstep, soundPowderFootstep, soundSandFootstep, soundSnowFootstep, soundStoneFootstep, soundWoodFootstep, sponge, stairCompactCobblestone, stairCompactPlanks, stairsBrick, stairsNetherBrick, stairsSandStone, stairsStoneBrickSmooth, stairsWoodBirch, stairsWoodJungle, stairsWoodSpruce, stepSound, stone, stoneBrick, stoneButton, stoneDoubleSlab, stoneSingleSlab, tallGrass, thinGlass, tilledField, tnt, torchRedstoneActive, torchRedstoneIdle, torchWood, trapdoor, tripWire, tripWireSource, useNeighborBrightness, vine, waterlily, waterMoving, waterStill, web, whiteStone, wood, woodDoubleSlab, woodenButton, woodSingleSlab, workbench| Constructor and Description | 
|---|
BlockPortal(int par1)  | 
| Modifier and Type | Method and Description | 
|---|---|
AxisAlignedBB | 
getCollisionBoundingBoxFromPool(World par1World,
                                                              int par2,
                                                              int par3,
                                                              int par4)
Returns a bounding box from the pool of bounding boxes (this means this box can change after the pool has been
 cleared to be reused) 
 | 
int | 
getRenderBlockPass()  | 
int | 
idPicked(World par1World,
                int par2,
                int par3,
                int par4)  | 
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 | 
onEntityCollidedWithBlock(World par1World,
                                                  int par2,
                                                  int par3,
                                                  int par4,
                                                  Entity par5Entity)
Triggered whenever an entity collides with this block (enters into the block). 
 | 
void | 
onNeighborBlockChange(World par1World,
                                          int par2,
                                          int par3,
                                          int par4,
                                          int par5)
Lets the block know when one of its neighbor changes. 
 | 
int | 
quantityDropped(Random par1Random)
Returns the quantity of items to drop on block destruction. 
 | 
void | 
randomDisplayTick(World par1World,
                                  int par2,
                                  int par3,
                                  int par4,
                                  Random par5Random)  | 
boolean | 
renderAsNormalBlock()
If this block doesn't render as an ordinary block it will return False (examples: signs, buttons, stairs, etc) 
 | 
void | 
setBlockBoundsBasedOnState(IBlockAccess par1IBlockAccess,
                                                    int par2,
                                                    int par3,
                                                    int par4)
Updates the blocks bounds based on its current state. 
 | 
boolean | 
shouldSideBeRendered(IBlockAccess par1IBlockAccess,
                                        int par2,
                                        int par3,
                                        int par4,
                                        int par5)  | 
boolean | 
tryToCreatePortal(World par1World,
                                  int par2,
                                  int par3,
                                  int par4)
Checks to see if this location is valid to create a portal and will return True if it does. 
 | 
void | 
updateTick(World par1World,
                    int par2,
                    int par3,
                    int par4,
                    Random par5Random)
Ticks the block if it's been scheduled 
 | 
func_94332_aaddBlockDestroyEffects, addBlockHitEffects, addCollisionBoxesToList, addCreativeItems, beginLeavesDecay, breakBlock, canBeReplacedByLeaves, canBlockStay, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDragonDestroy, canDropFromExplosion, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInPass, canSilkHarvest, canSustainLeaves, canSustainPlant, collisionRayTrace, colorMultiplier, createTileEntity, damageDropped, dropBlockAsItem, dropBlockAsItemWithChance, fillWithRain, func_82505_u_, func_82506_l, func_94327_t_, func_94328_b_, func_94329_b, func_94330_A, func_94331_a, func_94334_h, func_96468_q_, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockBrightness, getBlockColor, getBlockDropped, getBlockHardness, getBlocksMovement, getBlockTexture, getBlockTextureFromSide, getBlockTextureFromSideAndMetadata, getCreativeTabToDisplayOn, getDamageValue, getEnableStats, getExplosionResistance, getExplosionResistance, getFireSpreadSpeed, getFlammability, getLightOpacity, getLightValue, getLocalizedName, getMixedBrightnessForBlock, getMobilityFlag, getPickBlock, getPlayerRelativeBlockHardness, getRenderColor, getRenderType, getSelectedBoundingBoxFromPool, getSubBlocks, getTickRandomly, getUnlocalizedName, harvestBlock, hasTileEntity, hasTileEntity, idDropped, isAirBlock, isBeaconBase, isBed, isBedFoot, isBlockBurning, isBlockFoliage, isBlockNormalCube, isBlockReplaceable, isBlockSolid, isBlockSolidOnSide, isCollidable, isFertile, isFireSource, isFlammable, isGenMineableReplaceable, isLadder, isLeaves, isNormalCube, isProvidingStrongPower, isProvidingWeakPower, isWood, onBlockActivated, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockEventReceived, onBlockHarvested, onBlockPlaced, onBlockPlacedBy, onEntityWalking, onFallenUpon, onPlantGrow, onPostBlockPlaced, onSetBlockIDWithMetaData, quantityDropped, quantityDroppedWithBonus, removeBlockByPlayer, setBedOccupied, setBlockBounds, setBlockBoundsForItemRender, setBlockUnbreakable, setBurnProperties, setCreativeTab, setHardness, setLightOpacity, setLightValue, setResistance, setStepSound, setTickRandomly, setUnlocalizedName, tickRate, velocityToAddToEntitypublic BlockPortal(int par1)
public void updateTick(World par1World, int par2, int par3, int par4, Random par5Random)
updateTick in class Blockpublic AxisAlignedBB getCollisionBoundingBoxFromPool(World par1World, int par2, int par3, int par4)
getCollisionBoundingBoxFromPool in class Blockpublic void setBlockBoundsBasedOnState(IBlockAccess par1IBlockAccess, int par2, int par3, int par4)
setBlockBoundsBasedOnState in class Blockpublic boolean isOpaqueCube()
isOpaqueCube in class BlockBreakablepublic boolean renderAsNormalBlock()
renderAsNormalBlock in class Blockpublic boolean tryToCreatePortal(World par1World, int par2, int par3, int par4)
public void onNeighborBlockChange(World par1World, int par2, int par3, int par4, int par5)
onNeighborBlockChange in class Blockpublic boolean shouldSideBeRendered(IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5)
shouldSideBeRendered in class BlockBreakablepublic int quantityDropped(Random par1Random)
quantityDropped in class Blockpublic void onEntityCollidedWithBlock(World par1World, int par2, int par3, int par4, Entity par5Entity)
onEntityCollidedWithBlock in class Blockpublic int getRenderBlockPass()
getRenderBlockPass in class Blockpublic void randomDisplayTick(World par1World, int par2, int par3, int par4, Random par5Random)
randomDisplayTick in class Block