public class BlockPortal extends BlockBreakable
bedrock, blockBed, blockClay, blockConstructorCalled, blockDiamond, blockGold, blockHardness, blockID, blockIndexInTexture, blockLapis, blockMaterial, blockParticleGravity, blockResistance, blocksList, blockSnow, blockSteel, bookShelf, brick, button, cactus, cake, canBlockGrass, chest, cloth, cobblestone, cobblestoneMossy, crops, deadBush, dirt, dispenser, doorSteel, doorWood, enableStats, fence, field_28032_t, fire, glass, glowStone, grass, gravel, ice, isBlockContainer, jukebox, ladder, lavaMoving, lavaStill, leaves, lever, lightOpacity, lightValue, lockedChest, maxX, maxY, maxZ, minX, minY, minZ, mobSpawner, mushroomBrown, mushroomRed, musicBlock, netherrack, obsidian, opaqueCubeLookup, oreCoal, oreDiamond, oreGold, oreIron, oreLapis, oreRedstone, oreRedstoneGlowing, pistonBase, pistonExtension, pistonMoving, pistonStickyBase, planks, plantRed, plantYellow, portal, pressurePlatePlanks, pressurePlateStone, pumpkin, pumpkinLantern, rail, railDetector, railPowered, redstoneRepeaterActive, redstoneRepeaterIdle, redstoneWire, reed, sand, sandStone, sapling, signPost, signWall, slipperiness, slowSand, snow, soundClothFootstep, soundGlassFootstep, soundGrassFootstep, soundGravelFootstep, soundMetalFootstep, soundPowderFootstep, soundSandFootstep, soundStoneFootstep, soundWoodFootstep, sponge, stairCompactCobblestone, stairCompactPlanks, stairDouble, stairSingle, stepSound, stone, stoneOvenActive, stoneOvenIdle, tallGrass, tickOnLoad, tilledField, tnt, torchRedstoneActive, torchRedstoneIdle, torchWood, trapdoor, waterMoving, waterStill, web, wood, workbench| Constructor and Description |
|---|
BlockPortal(int i,
int j) |
| Modifier and Type | Method and Description |
|---|---|
AxisAlignedBB |
getCollisionBoundingBoxFromPool(World world,
int i,
int j,
int k) |
int |
getRenderBlockPass() |
boolean |
isOpaqueCube() |
void |
onEntityCollidedWithBlock(World world,
int i,
int j,
int k,
Entity entity) |
void |
onNeighborBlockChange(World world,
int i,
int j,
int k,
int l) |
int |
quantityDropped(java.util.Random random) |
void |
randomDisplayTick(World world,
int i,
int j,
int k,
java.util.Random random) |
boolean |
renderAsNormalBlock() |
void |
setBlockBoundsBasedOnState(IBlockAccess iblockaccess,
int i,
int j,
int k) |
boolean |
shouldSideBeRendered(IBlockAccess iblockaccess,
int i,
int j,
int k,
int l) |
boolean |
tryToCreatePortal(World world,
int i,
int j,
int k) |
blockActivated, blockStrength, canBlockStay, canCollideCheck, canPlaceBlockAt, canPlaceBlockOnSide, canProvidePower, collisionRayTrace, colorMultiplier, damageDropped, disableNeighborNotifyOnMetadataChange, disableStats, dropBlockAsItem_do, dropBlockAsItem, dropBlockAsItemWithChance, getBlockBrightness, getBlockName, getBlockTexture, getBlockTextureFromSide, getBlockTextureFromSideAndMetadata, getCollidingBoundingBoxes, getEnableStats, getExplosionResistance, getHardness, getIsBlockSolid, getMobilityFlag, getRenderColor, getRenderType, getSelectedBoundingBoxFromPool, harvestBlock, idDropped, initializeBlock, isCollidable, isIndirectlyPoweringTo, isPoweringTo, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockPlaced, onBlockPlacedBy, onBlockRemoval, onEntityWalking, playBlock, setBlockBounds, setBlockBoundsForItemRender, setBlockName, setBlockUnbreakable, setHardness, setLightOpacity, setLightValue, setResistance, setStepSound, setTickOnLoad, tickRate, translateBlockName, updateTick, velocityToAddToEntitypublic AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int i, int j, int k)
getCollisionBoundingBoxFromPool in class Blockpublic void setBlockBoundsBasedOnState(IBlockAccess iblockaccess, int i, int j, int k)
setBlockBoundsBasedOnState in class Blockpublic boolean isOpaqueCube()
isOpaqueCube in class BlockBreakablepublic boolean renderAsNormalBlock()
renderAsNormalBlock in class Blockpublic boolean tryToCreatePortal(World world, int i, int j, int k)
public void onNeighborBlockChange(World world, int i, int j, int k, int l)
onNeighborBlockChange in class Blockpublic boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
shouldSideBeRendered in class BlockBreakablepublic int quantityDropped(java.util.Random random)
quantityDropped in class Blockpublic int getRenderBlockPass()
getRenderBlockPass in class Blockpublic void onEntityCollidedWithBlock(World world, int i, int j, int k, Entity entity)
onEntityCollidedWithBlock in class Blockpublic void randomDisplayTick(World world, int i, int j, int k, java.util.Random random)
randomDisplayTick in class Block