public class BlockFluidFinite extends BlockFluidBase
Block.SoundTypedefaultDisplacements, density, densityDir, displacements, fluidName, maxScaledLight, quantaPerBlock, quantaPerBlockFloat, renderPass, temperature, tickRateblockConstructorCalled, blockHardness, blockIcon, blockMaterial, blockParticleGravity, blockRegistry, blockResistance, canBlockGrass, capturedDrops, captureDrops, enableStats, harvesters, isBlockContainer, lightOpacity, lightValue, maxX, maxY, maxZ, minX, minY, minZ, needsRandomTick, opaque, slipperiness, soundTypeAnvil, soundTypeCloth, soundTypeGlass, soundTypeGrass, soundTypeGravel, soundTypeLadder, soundTypeMetal, soundTypePiston, soundTypeSand, soundTypeSnow, soundTypeStone, soundTypeWood, stepSound, textureName, useNeighborBrightness| Constructor and Description |
|---|
BlockFluidFinite(Fluid fluid,
Material material) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCollideCheck(int meta,
boolean fullHit) |
boolean |
canDrain(World world,
int x,
int y,
int z)
Check to see if a block can be drained.
|
FluidStack |
drain(World world,
int x,
int y,
int z,
boolean doDrain)
Attempt to drain the block.
|
int |
getMaxRenderHeightMeta() |
int |
getQuantaValue(IBlockAccess world,
int x,
int y,
int z) |
int |
tryToFlowVerticallyInto(World world,
int x,
int y,
int z,
int amtToInput) |
void |
updateTick(World world,
int x,
int y,
int z,
java.util.Random rand) |
canDisplace, displaceIfPossible, func_149698_L, getBlocksMovement, getCollisionBoundingBoxFromPool, getDensity, getFilledPercentage, getFlowDirection, getFlowVector, getFluid, getItemDropped, getLightValue, getMixedBrightnessForBlock, getQuantaPercentage, getQuantaValueAbove, getQuantaValueBelow, getRenderBlockPass, getRenderType, getTemperature, isOpaqueCube, onBlockAdded, onNeighborBlockChange, quantityDropped, renderAsNormalBlock, setDensity, setMaxScaledLight, setQuantaPerBlock, setRenderPass, setTemperature, setTickRate, shouldSideBeRendered, tickRate, velocityToAddToEntityaddCollisionBoxesToList, addDestroyEffects, addHitEffects, beginLeavesDecay, breakBlock, canBeReplacedByLeaves, canBlockStay, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInPass, canReplace, canSilkHarvest, canSilkHarvest, canSustainLeaves, canSustainPlant, captureDrops, collisionRayTrace, colorMultiplier, createStackedBlock, createTileEntity, damageDropped, disableStats, dropBlockAsItem, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, fillWithRain, func_149730_j, func_149735_b, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockById, getBlockColor, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockTextureFromSide, getCanBlockGrass, getComparatorInputOverride, getCreativeTabToDisplayOn, getDamageValue, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIcon, getIcon, getIdFromBlock, getItem, getItemIconName, getLightOpacity, getLightOpacity, getLightValue, getLocalizedName, getMapColor, getMaterial, getMobilityFlag, getPickBlock, getPlayerRelativeBlockHardness, getRenderColor, getSelectedBoundingBoxFromPool, getSubBlocks, getTextureName, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, harvestBlock, hasComparatorInputOverride, hasTileEntity, hasTileEntity, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBlockSolid, isBurning, isCollidable, isEqualTo, isFertile, isFireSource, isFlammable, isFlowerPot, isFoliage, isLadder, isLeaves, isNormalCube, isNormalCube, isProvidingStrongPower, isProvidingWeakPower, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isWood, onBlockActivated, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockEventReceived, onBlockExploded, onBlockHarvested, onBlockPlaced, onBlockPlacedBy, onBlockPreDestroy, onEntityCollidedWithBlock, onEntityWalking, onFallenUpon, onNeighborChange, onPlantGrow, onPostBlockPlaced, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, recolourBlock, registerBlockIcons, registerBlocks, removedByPlayer, rotateBlock, setBedOccupied, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockName, setBlockTextureName, setBlockUnbreakable, setCreativeTab, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, shouldCheckWeakPowerpublic int getQuantaValue(IBlockAccess world, int x, int y, int z)
getQuantaValue in class BlockFluidBasepublic boolean canCollideCheck(int meta,
boolean fullHit)
canCollideCheck in class BlockFluidBasepublic int getMaxRenderHeightMeta()
getMaxRenderHeightMeta in class BlockFluidBasepublic void updateTick(World world, int x, int y, int z, java.util.Random rand)
updateTick in class Blockpublic int tryToFlowVerticallyInto(World world, int x, int y, int z, int amtToInput)
public FluidStack drain(World world, int x, int y, int z, boolean doDrain)
IFluidBlockdoDrain - If false, the drain will only be simulated.public boolean canDrain(World world, int x, int y, int z)
IFluidBlock