public class BlockFluidFinite extends BlockFluidBase
Block.EnumOffsetTypeIForgeRegistryEntry.Impl<T extends IForgeRegistryEntry<T>>defaultDisplacements, definedFluid, density, densityDir, displacements, FLOW_DIRECTION, FLUID_RENDER_PROPS, fluidName, LEVEL, LEVEL_CORNERS, maxScaledLight, quantaPerBlock, quantaPerBlockFloat, renderLayer, temperature, tickRateBLOCK_STATE_IDS, blockHardness, blockMapColor, blockMaterial, blockParticleGravity, blockResistance, blockSoundType, blockState, capturedDrops, captureDrops, enableStats, FULL_BLOCK_AABB, fullBlock, harvesters, isBlockContainer, lightOpacity, lightValue, needsRandomTick, NULL_AABB, RANDOM, REGISTRY, slipperiness, translucent, useNeighborBrightnessdelegate| Constructor and Description |
|---|
BlockFluidFinite(Fluid fluid,
Material material) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCollideCheck(IBlockState state,
boolean fullHit) |
boolean |
canDrain(World world,
BlockPos pos)
Check to see if a block can be drained.
|
FluidStack |
drain(World world,
BlockPos pos,
boolean doDrain)
Attempt to drain the block.
|
int |
getMaxRenderHeightMeta() |
int |
getQuantaValue(IBlockAccess world,
BlockPos pos) |
int |
tryToFlowVerticallyInto(World world,
BlockPos pos,
int amtToInput) |
void |
updateTick(World world,
BlockPos pos,
IBlockState state,
java.util.Random rand) |
canDisplace, createBlockState, displaceIfPossible, getBlockLayer, getDensity, getExtendedState, getFilledPercentage, getFlowDirection, getFlowVector, getFluid, getFluidHeightAverage, getFluidHeightForRender, getItemDropped, getLightValue, getMetaFromState, getPackedLightmapCoords, getQuantaPercentage, getQuantaValueAbove, getQuantaValueBelow, getSelectedBoundingBox, getTemperature, isFullCube, isOpaqueCube, isPassable, modifyAcceleration, neighborChanged, onBlockAdded, quantityDropped, requiresUpdates, setDensity, setMaxScaledLight, setQuantaPerBlock, setRenderLayer, setTemperature, setTickRate, shouldSideBeRendered, tickRateaddCollisionBoxToList, addCollisionBoxToList, addDestroyEffects, addHitEffects, addInformation, addLandingEffects, beginLeavesDecay, breakBlock, canBeReplacedByLeaves, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canRenderInLayer, canReplace, canSilkHarvest, canSilkHarvest, canSpawnInBlock, canSustainLeaves, canSustainPlant, captureDrops, collisionRayTrace, createStackedBlock, createTileEntity, damageDropped, disableStats, doesSideBlockRendering, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, eventReceived, fillWithRain, getActualState, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockState, getBoundingBox, getCollisionBoundingBox, getComparatorInputOverride, getCreativeTabToDisplayOn, getDefaultState, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getLightOpacity, getLightOpacity, getLightValue, getLocalizedName, getMapColor, getMaterial, getMobilityFlag, getOffsetType, getPickBlock, getPlayerRelativeBlockHardness, getRenderType, getSoundType, getStateById, getStateFromMeta, getStateId, getStrongPower, getSubBlocks, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, getWeakPower, harvestBlock, hasComparatorInputOverride, hasTileEntity, hasTileEntity, isAABBInsideMaterial, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBlockSolid, isBurning, isCollidable, isEntityInsideMaterial, isEqualTo, isFertile, isFireSource, isFlammable, isFoliage, isFullBlock, isFullyOpaque, isLadder, isLeaves, isNormalCube, isNormalCube, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isTranslucent, isVisuallyOpaque, isWood, onBlockActivated, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockExploded, onBlockHarvested, onBlockPlaced, onBlockPlacedBy, onEntityCollidedWithBlock, onEntityWalk, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, randomTick, rayTrace, recolorBlock, registerBlocks, removedByPlayer, rotateBlock, setBedOccupied, setBlockUnbreakable, setCreativeTab, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, spawnAsEntity, toString, withMirror, withRotationgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNamepublic int getQuantaValue(IBlockAccess world, BlockPos pos)
getQuantaValue in class BlockFluidBasepublic boolean canCollideCheck(IBlockState state, boolean fullHit)
canCollideCheck in class BlockFluidBasepublic int getMaxRenderHeightMeta()
getMaxRenderHeightMeta in class BlockFluidBasepublic void updateTick(World world, BlockPos pos, IBlockState state, java.util.Random rand)
updateTick in class Blockpublic int tryToFlowVerticallyInto(World world, BlockPos pos, int amtToInput)
public FluidStack drain(World world, BlockPos pos, boolean doDrain)
IFluidBlockdoDrain - If false, the drain will only be simulated.public boolean canDrain(World world, BlockPos pos)
IFluidBlock