public class BlockFluidClassic extends BlockFluidBase
anvil, beacon, bed, bedrock, blockClay, blockDiamond, blockEmerald, blockGold, blockHardness, blockID, blockIron, blockLapis, blockMaterial, blockNetherQuartz, blockParticleGravity, blockRedstone, blockResistance, blocksList, blockSnow, bookShelf, brewingStand, brick, cactus, cake, canBlockGrass, carrot, cauldron, chest, chestTrapped, cloth, cobblestone, cobblestoneMossy, cobblestoneWall, cocoaPlant, commandBlock, crops, daylightSensor, deadBush, dirt, dispenser, doorIron, doorWood, dragonEgg, dropper, enchantmentTable, enderChest, endPortal, endPortalFrame, fence, fenceGate, fenceIron, field_111031_cC, field_111032_cD, field_111034_cE, field_111038_cB, field_111039_cA, fire, flowerPot, furnaceBurning, furnaceIdle, glass, glowStone, grass, gravel, hopperBlock, 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, oreNetherQuartz, oreRedstone, oreRedstoneGlowing, pistonBase, pistonExtension, pistonMoving, pistonStickyBase, planks, plantRed, plantYellow, portal, potato, pressurePlateGold, pressurePlateIron, pressurePlatePlanks, pressurePlateStone, pumpkin, pumpkinLantern, pumpkinStem, rail, railActivator, railDetector, railPowered, redstoneComparatorActive, redstoneComparatorIdle, 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, stairsBrick, stairsCobblestone, stairsNetherBrick, stairsNetherQuartz, stairsSandStone, stairsStoneBrick, stairsWoodBirch, stairsWoodJungle, stairsWoodOak, 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 |
|---|
BlockFluidClassic(int id,
Fluid fluid,
Material material) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCollideCheck(int meta,
boolean fullHit)
Returns whether this block is collideable based on the arguments passed in Args: blockMetaData, unknownFlag
|
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 |
getLightValue(IBlockAccess world,
int x,
int y,
int z)
Get a light value for the block at the specified coordinates, normal ranges are between 0 and 15
|
int |
getMaxRenderHeightMeta() |
int |
getQuantaValue(IBlockAccess world,
int x,
int y,
int z) |
boolean |
isFlowingVertically(IBlockAccess world,
int x,
int y,
int z) |
boolean |
isSourceBlock(IBlockAccess world,
int x,
int y,
int z) |
BlockFluidClassic |
setFluidStack(FluidStack stack) |
BlockFluidClassic |
setFluidStackAmount(int amount) |
void |
updateTick(World world,
int x,
int y,
int z,
Random rand)
Ticks the block if it's been scheduled
|
canDisplace, displaceIfPossible, func_82506_l, getBlockBrightness, getBlocksMovement, getCollisionBoundingBoxFromPool, getDensity, getFlowDirection, getFlowVector, getFluid, getMixedBrightnessForBlock, getQuantaPercentage, getQuantaValueAbove, getQuantaValueBelow, getRenderBlockPass, getRenderType, idDropped, isOpaqueCube, onBlockAdded, onNeighborBlockChange, quantityDropped, renderAsNormalBlock, setDensity, setMaxScaledLight, setQuantaPerBlock, setRenderPass, setTickRate, shouldSideBeRendered, tickRate, velocityToAddToEntityaddBlockDestroyEffects, addBlockHitEffects, addCollisionBoxesToList, addCreativeItems, beginLeavesDecay, breakBlock, canBeReplacedByLeaves, canBlockStay, canConnectRedstone, canCreatureSpawn, canDragonDestroy, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInPass, canSilkHarvest, canSustainLeaves, canSustainPlant, collisionRayTrace, colorMultiplier, createTileEntity, damageDropped, dropBlockAsItem, dropBlockAsItemWithChance, fillWithRain, func_111022_d, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockColor, getBlockDropped, getBlockHardness, getBlockTexture, getBlockTextureFromSide, getComparatorInputOverride, getCreativeTabToDisplayOn, getDamageValue, getEnableStats, getEnchantPowerBonus, getExplosionResistance, getExplosionResistance, getFireSpreadSpeed, getFlammability, getIcon, getItemIconName, getLightOpacity, getLocalizedName, getMobilityFlag, getPickBlock, getPlayerRelativeBlockHardness, getRenderColor, getSelectedBoundingBoxFromPool, getSubBlocks, getTickRandomly, getUnlocalizedName, getValidRotations, harvestBlock, hasComparatorInputOverride, hasTileEntity, hasTileEntity, idPicked, isAirBlock, isAssociatedBlockID, isAssociatedBlockID, isBeaconBase, isBed, isBedFoot, isBlockBurning, isBlockFoliage, isBlockNormalCube, isBlockReplaceable, isBlockSolid, isBlockSolidOnSide, isCollidable, isFertile, isFireSource, isFlammable, isFlowerPot, isGenMineableReplaceable, isLadder, isLeaves, isNormalCube, isProvidingStrongPower, isProvidingWeakPower, isWood, onBlockActivated, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockEventReceived, onBlockExploded, onBlockHarvested, onBlockPlaced, onBlockPlacedBy, onEntityCollidedWithBlock, onEntityWalking, onFallenUpon, onPlantGrow, onPostBlockPlaced, onSetBlockIDWithMetaData, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, recolourBlock, registerIcons, removeBlockByPlayer, rotateBlock, setBedOccupied, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockUnbreakable, setBurnProperties, setCreativeTab, setHardness, setLightOpacity, setLightValue, setResistance, setStepSound, setTickRandomly, setUnlocalizedNamepublic BlockFluidClassic setFluidStack(FluidStack stack)
public BlockFluidClassic setFluidStackAmount(int amount)
public int getQuantaValue(IBlockAccess world, int x, int y, int z)
getQuantaValue in class BlockFluidBasepublic boolean canCollideCheck(int meta,
boolean fullHit)
BlockcanCollideCheck in class BlockFluidBasepublic int getMaxRenderHeightMeta()
getMaxRenderHeightMeta in class BlockFluidBasepublic int getLightValue(IBlockAccess world, int x, int y, int z)
BlockgetLightValue in class BlockFluidBaseworld - The current worldx - X Positiony - Y positionz - Z positionpublic void updateTick(World world, int x, int y, int z, Random rand)
BlockupdateTick in class Blockpublic boolean isFlowingVertically(IBlockAccess world, int x, int y, int z)
public boolean isSourceBlock(IBlockAccess world, int x, int y, int z)
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