public abstract class BlockFluid extends Block
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| Modifier | Constructor and Description |
|---|---|
protected |
BlockFluid(int i,
Material material) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCollideCheck(int i,
boolean flag) |
int |
colorMultiplier(IBlockAccess iblockaccess,
int i,
int j,
int k) |
static double |
func_293_a(IBlockAccess iblockaccess,
int i,
int j,
int k,
Material material) |
float |
getBlockBrightness(IBlockAccess iblockaccess,
int i,
int j,
int k) |
int |
getBlockTextureFromSide(int i) |
AxisAlignedBB |
getCollisionBoundingBoxFromPool(World world,
int i,
int j,
int k) |
protected int |
getEffectiveFlowDecay(IBlockAccess iblockaccess,
int i,
int j,
int k) |
protected int |
getFlowDecay(World world,
int i,
int j,
int k) |
boolean |
getIsBlockSolid(IBlockAccess iblockaccess,
int i,
int j,
int k,
int l) |
static float |
getPercentAir(int i) |
int |
getRenderBlockPass() |
int |
getRenderType() |
int |
idDropped(int i,
java.util.Random random) |
boolean |
isOpaqueCube() |
void |
onBlockAdded(World world,
int i,
int j,
int k) |
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() |
boolean |
shouldSideBeRendered(IBlockAccess iblockaccess,
int i,
int j,
int k,
int l) |
int |
tickRate() |
protected void |
triggerLavaMixEffects(World world,
int i,
int j,
int k) |
void |
updateTick(World world,
int i,
int j,
int k,
java.util.Random random) |
void |
velocityToAddToEntity(World world,
int i,
int j,
int k,
Entity entity,
Vec3D vec3d) |
blockActivated, blockStrength, canBlockStay, canPlaceBlockAt, canPlaceBlockOnSide, canProvidePower, collisionRayTrace, damageDropped, disableNeighborNotifyOnMetadataChange, disableStats, dropBlockAsItem_do, dropBlockAsItem, dropBlockAsItemWithChance, getBlockName, getBlockTexture, getBlockTextureFromSideAndMetadata, getCollidingBoundingBoxes, getEnableStats, getExplosionResistance, getHardness, getMobilityFlag, getRenderColor, getSelectedBoundingBoxFromPool, harvestBlock, initializeBlock, isCollidable, isIndirectlyPoweringTo, isPoweringTo, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockPlaced, onBlockPlacedBy, onBlockRemoval, onEntityCollidedWithBlock, onEntityWalking, playBlock, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockName, setBlockUnbreakable, setHardness, setLightOpacity, setLightValue, setResistance, setStepSound, setTickOnLoad, translateBlockNameprotected BlockFluid(int i,
Material material)
public int colorMultiplier(IBlockAccess iblockaccess, int i, int j, int k)
colorMultiplier in class Blockpublic static float getPercentAir(int i)
public int getBlockTextureFromSide(int i)
getBlockTextureFromSide in class Blockprotected int getFlowDecay(World world, int i, int j, int k)
protected int getEffectiveFlowDecay(IBlockAccess iblockaccess, int i, int j, int k)
public boolean renderAsNormalBlock()
renderAsNormalBlock in class Blockpublic boolean isOpaqueCube()
isOpaqueCube in class Blockpublic boolean canCollideCheck(int i,
boolean flag)
canCollideCheck in class Blockpublic boolean getIsBlockSolid(IBlockAccess iblockaccess, int i, int j, int k, int l)
getIsBlockSolid in class Blockpublic boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
shouldSideBeRendered in class Blockpublic AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int i, int j, int k)
getCollisionBoundingBoxFromPool in class Blockpublic int getRenderType()
getRenderType in class Blockpublic int quantityDropped(java.util.Random random)
quantityDropped in class Blockpublic void velocityToAddToEntity(World world, int i, int j, int k, Entity entity, Vec3D vec3d)
velocityToAddToEntity in class Blockpublic float getBlockBrightness(IBlockAccess iblockaccess, int i, int j, int k)
getBlockBrightness in class Blockpublic void updateTick(World world, int i, int j, int k, java.util.Random random)
updateTick in class Blockpublic int getRenderBlockPass()
getRenderBlockPass in class Blockpublic void randomDisplayTick(World world, int i, int j, int k, java.util.Random random)
randomDisplayTick in class Blockpublic static double func_293_a(IBlockAccess iblockaccess, int i, int j, int k, Material material)
public void onBlockAdded(World world, int i, int j, int k)
onBlockAdded in class Blockpublic void onNeighborBlockChange(World world, int i, int j, int k, int l)
onNeighborBlockChange in class Blockprotected void triggerLavaMixEffects(World world, int i, int j, int k)