public abstract class BlockLiquid extends Block
Block.EnumOffsetType, Block.SoundType| Modifier and Type | Field and Description | 
|---|---|
| static PropertyInteger | LEVEL | 
BLOCK_STATE_IDS, blockHardness, blockMaterial, blockParticleGravity, blockRegistry, blockResistance, blockState, enableStats, field_181083_K, fullBlock, isBlockContainer, lightOpacity, lightValue, maxX, maxY, maxZ, minX, minY, minZ, needsRandomTick, SLIME_SOUND, slipperiness, soundTypeAnvil, soundTypeCloth, soundTypeGlass, soundTypeGrass, soundTypeGravel, soundTypeLadder, soundTypeMetal, soundTypePiston, soundTypeSand, soundTypeSnow, soundTypeStone, soundTypeWood, stepSound, translucent, useNeighborBrightness| Modifier | Constructor and Description | 
|---|---|
| protected  | BlockLiquid(Material materialIn) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | canCollideCheck(IBlockState state,
               boolean hitIfLiquid) | 
| boolean | checkForMixing(World worldIn,
              BlockPos pos,
              IBlockState state) | 
| int | colorMultiplier(IBlockAccess worldIn,
               BlockPos pos,
               int renderPass) | 
| protected BlockState | createBlockState() | 
| boolean | func_176364_g(IBlockAccess blockAccess,
             BlockPos pos) | 
| EnumWorldBlockLayer | getBlockLayer() | 
| AxisAlignedBB | getCollisionBoundingBox(World worldIn,
                       BlockPos pos,
                       IBlockState state) | 
| protected int | getEffectiveFlowDecay(IBlockAccess worldIn,
                     BlockPos pos) | 
| static double | getFlowDirection(IBlockAccess worldIn,
                BlockPos pos,
                Material materialIn) | 
| static BlockDynamicLiquid | getFlowingBlock(Material materialIn) | 
| protected Vec3 | getFlowVector(IBlockAccess worldIn,
             BlockPos pos) | 
| Item | getItemDropped(IBlockState state,
              java.util.Random rand,
              int fortune)Get the Item that this Block should drop when harvested. | 
| protected int | getLevel(IBlockAccess worldIn,
        BlockPos pos) | 
| static float | getLiquidHeightPercent(int meta)Returns the percentage of the liquid block that is air, based on the given flow decay of the liquid | 
| int | getMetaFromState(IBlockState state)Convert the BlockState into the correct metadata value | 
| int | getMixedBrightnessForBlock(IBlockAccess worldIn,
                          BlockPos pos) | 
| int | getRenderType()The type of render function called. | 
| IBlockState | getStateFromMeta(int meta)Convert the given metadata into a BlockState for this Block | 
| static BlockStaticLiquid | getStaticBlock(Material materialIn) | 
| boolean | isBlockSolid(IBlockAccess worldIn,
            BlockPos pos,
            EnumFacing side)Whether this Block is solid on the given Side | 
| boolean | isFullCube() | 
| boolean | isOpaqueCube()Used to determine ambient occlusion and culling when rebuilding chunks for render | 
| boolean | isPassable(IBlockAccess worldIn,
          BlockPos pos) | 
| Vec3 | modifyAcceleration(World worldIn,
                  BlockPos pos,
                  Entity entityIn,
                  Vec3 motion) | 
| void | onBlockAdded(World worldIn,
            BlockPos pos,
            IBlockState state) | 
| void | onNeighborBlockChange(World worldIn,
                     BlockPos pos,
                     IBlockState state,
                     Block neighborBlock)Called when a neighboring block changes. | 
| int | quantityDropped(java.util.Random random)Returns the quantity of items to drop on block destruction. | 
| void | randomDisplayTick(World worldIn,
                 BlockPos pos,
                 IBlockState state,
                 java.util.Random rand) | 
| boolean | shouldSideBeRendered(IBlockAccess worldIn,
                    BlockPos pos,
                    EnumFacing side) | 
| int | tickRate(World worldIn)How many world ticks before ticking | 
| protected void | triggerMixEffects(World worldIn,
                 BlockPos pos) | 
addCollisionBoxesToList, breakBlock, canDropFromExplosion, canPlaceBlockAt, canPlaceBlockOnSide, canProvidePower, canReplace, canSilkHarvest, collisionRayTrace, colorMultiplier, createStackedBlock, damageDropped, disableStats, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, fillWithRain, func_181623_g, getActualState, getAmbientOcclusionLightValue, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockById, getBlockColor, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockState, getComparatorInputOverride, getCreativeTabToDisplayOn, getDamageValue, getDefaultState, getEnableStats, getExplosionResistance, getIdFromBlock, getItem, getLightOpacity, getLightValue, getLocalizedName, getMapColor, getMaterial, getMobilityFlag, getOffsetType, getPlayerRelativeBlockHardness, getRenderColor, getSelectedBoundingBox, getStateById, getStateForEntityRender, getStateId, getStrongPower, getSubBlocks, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getWeakPower, harvestBlock, hasComparatorInputOverride, hasTileEntity, isAssociatedBlock, isBlockNormalCube, isCollidable, isEqualTo, isFlowerPot, isFullBlock, isNormalCube, isReplaceable, isTranslucent, isVisuallyOpaque, onBlockActivated, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockEventReceived, onBlockHarvested, onBlockPlaced, onBlockPlacedBy, onEntityCollidedWithBlock, onEntityCollidedWithBlock, onFallenUpon, onLanded, quantityDroppedWithBonus, randomTick, registerBlocks, requiresUpdates, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockUnbreakable, setCreativeTab, setDefaultState, setHardness, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, setUnlocalizedName, spawnAsEntity, toString, updateTickpublic static final PropertyInteger LEVEL
protected BlockLiquid(Material materialIn)
public boolean isPassable(IBlockAccess worldIn, BlockPos pos)
isPassable in class Blockpublic int colorMultiplier(IBlockAccess worldIn, BlockPos pos, int renderPass)
colorMultiplier in class Blockpublic static float getLiquidHeightPercent(int meta)
protected int getLevel(IBlockAccess worldIn, BlockPos pos)
protected int getEffectiveFlowDecay(IBlockAccess worldIn, BlockPos pos)
public boolean isFullCube()
isFullCube in class Blockpublic boolean isOpaqueCube()
isOpaqueCube in class Blockpublic boolean canCollideCheck(IBlockState state, boolean hitIfLiquid)
canCollideCheck in class Blockpublic boolean isBlockSolid(IBlockAccess worldIn, BlockPos pos, EnumFacing side)
isBlockSolid in class Blockpublic boolean shouldSideBeRendered(IBlockAccess worldIn, BlockPos pos, EnumFacing side)
shouldSideBeRendered in class Blockpublic boolean func_176364_g(IBlockAccess blockAccess, BlockPos pos)
public AxisAlignedBB getCollisionBoundingBox(World worldIn, BlockPos pos, IBlockState state)
getCollisionBoundingBox in class Blockpublic int getRenderType()
getRenderType in class Blockpublic Item getItemDropped(IBlockState state, java.util.Random rand, int fortune)
getItemDropped in class Blockpublic int quantityDropped(java.util.Random random)
quantityDropped in class Blockprotected Vec3 getFlowVector(IBlockAccess worldIn, BlockPos pos)
public Vec3 modifyAcceleration(World worldIn, BlockPos pos, Entity entityIn, Vec3 motion)
modifyAcceleration in class Blockpublic int tickRate(World worldIn)
public int getMixedBrightnessForBlock(IBlockAccess worldIn, BlockPos pos)
getMixedBrightnessForBlock in class Blockpublic EnumWorldBlockLayer getBlockLayer()
getBlockLayer in class Blockpublic void randomDisplayTick(World worldIn, BlockPos pos, IBlockState state, java.util.Random rand)
randomDisplayTick in class Blockpublic static double getFlowDirection(IBlockAccess worldIn, BlockPos pos, Material materialIn)
public void onBlockAdded(World worldIn, BlockPos pos, IBlockState state)
onBlockAdded in class Blockpublic void onNeighborBlockChange(World worldIn, BlockPos pos, IBlockState state, Block neighborBlock)
onNeighborBlockChange in class Blockpublic boolean checkForMixing(World worldIn, BlockPos pos, IBlockState state)
public IBlockState getStateFromMeta(int meta)
getStateFromMeta in class Blockpublic int getMetaFromState(IBlockState state)
getMetaFromState in class Blockprotected BlockState createBlockState()
createBlockState in class Blockpublic static BlockDynamicLiquid getFlowingBlock(Material materialIn)
public static BlockStaticLiquid getStaticBlock(Material materialIn)