Package net.minecraft.world.block
Class FluidBlock
- java.lang.Object
-
- net.minecraft.world.block.Block
-
- net.minecraft.world.block.FluidBlock
-
- Direct Known Subclasses:
FlowingFluidBlock
,SourceFluidBlock
public abstract class FluidBlock extends Block
-
-
Field Summary
-
Fields inherited from class net.minecraft.world.block.Block
bed, bedrock, blockClay, blockConstructorCalled, blockDiamond, blockGold, blockHardness, blockID, blockIndexInTexture, blockLapis, blockMaterial, blockParticleGravity, blockResistance, blocksList, blockSnow, blockSteel, bookShelf, brewingStand, brick, button, cactus, cake, canBlockGrass, cauldron, chest, cloth, cobblestone, cobblestoneMossy, crops, deadBush, dirt, dispenser, doorSteel, doorWood, dragonEgg, enableStats, enchantmentTable, endPortal, endPortalFrame, fence, fenceGate, fenceIron, fire, glass, glowStone, grass, gravel, ice, isBlockContainer, jukebox, ladder, lavaMoving, lavaStill, leaves, lever, lightOpacity, lightValue, lockedChest, maxX, maxY, maxZ, melon, melonStem, minX, minY, minZ, mobSpawner, mushroomBrown, mushroomCapBrown, mushroomCapRed, mushroomRed, music, mycelium, needsRandomTick, netherBrick, netherFence, netherrack, netherStalk, obsidian, opaqueCubeLookup, oreCoal, oreDiamond, oreGold, oreIron, oreLapis, oreRedstone, oreRedstoneGlowing, pistonBase, pistonExtension, pistonMoving, pistonStickyBase, planks, plantRed, plantYellow, portal, pressurePlatePlanks, pressurePlateStone, pumpkin, pumpkinLantern, pumpkinStem, rail, railDetector, railPowered, redstoneLampActive, redstoneLampIdle, redstoneRepeaterActive, redstoneRepeaterIdle, redstoneWire, reed, requiresSelfNotify, sand, sandStone, sapling, signPost, signWall, silverfish, slipperiness, slowSand, snow, soundClothFootstep, soundGlassFootstep, soundGrassFootstep, soundGravelFootstep, soundMetalFootstep, soundPowderFootstep, soundSandFootstep, soundStoneFootstep, soundWoodFootstep, sponge, stairCompactCobblestone, stairCompactPlanks, stairDouble, stairsBrick, stairSingle, stairsNetherBrick, stairsStoneBrickSmooth, stepSound, stone, stoneBrick, stoneOvenActive, stoneOvenIdle, tallGrass, thinGlass, tilledField, tnt, torchRedstoneActive, torchRedstoneIdle, torchWood, trapdoor, useNeighborBrightness, vine, waterlily, waterMoving, waterStill, web, whiteStone, wood, workbench
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FluidBlock(int var1, Material var2)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canCollideCheck(int var1, boolean var2)
@net.minecraft.modding.api.Side.Client int
colorMultiplier(IBlockAccess var1, int var2, int var3, int var4)
static @net.minecraft.modding.api.Side.Client double
func_293_a(IBlockAccess var0, int var1, int var2, int var3, Material var4)
@net.minecraft.modding.api.Side.Client float
getBlockBrightness(IBlockAccess var1, int var2, int var3, int var4)
@net.minecraft.modding.api.Side.Client int
getBlockColor()
boolean
getBlocksMovement(IBlockAccess var1, int var2, int var3, int var4)
int
getBlockTextureFromSide(int var1)
AxisAlignedBB
getCollisionBoundingBoxFromPool(World var1, int var2, int var3, int var4)
protected int
getEffectiveFlowDecay(IBlockAccess var1, int var2, int var3, int var4)
protected int
getFlowDecay(World var1, int var2, int var3, int var4)
static float
getFluidHeightPercent(int var0)
@net.minecraft.modding.api.Side.Client int
getMixedBrightnessForBlock(IBlockAccess var1, int var2, int var3, int var4)
@net.minecraft.modding.api.Side.Client int
getRenderBlockPass()
int
getRenderType()
int
idDropped(int var1, java.util.Random var2, int var3)
boolean
isBlockSolid(IBlockAccess var1, int var2, int var3, int var4, int var5)
boolean
isOpaqueCube()
void
onBlockAdded(World var1, int var2, int var3, int var4)
void
onNeighborBlockChange(World var1, int var2, int var3, int var4, int var5)
int
quantityDropped(java.util.Random var1)
void
randomDisplayTick(World var1, int var2, int var3, int var4, java.util.Random var5)
boolean
renderAsNormalBlock()
@net.minecraft.modding.api.Side.Client boolean
shouldSideBeRendered(IBlockAccess var1, int var2, int var3, int var4, int var5)
int
tickRate()
protected void
triggerLavaMixEffects(World var1, int var2, int var3, int var4)
void
updateTick(World var1, int var2, int var3, int var4, java.util.Random var5)
void
velocityToAddToEntity(World var1, int var2, int var3, int var4, Entity var5, Vec3D var6)
-
Methods inherited from class net.minecraft.world.block.Block
blockActivated, blockStrength, canBlockStay, canPlaceBlockAt, canPlaceBlockOnSide, canProvidePower, collisionRayTrace, createStackedBlock, damageDropped, disableStats, dropBlockAsItem, dropBlockAsItem_do, dropBlockAsItemWithChance, func_50074_q, getAmbientOcclusionLightValue, getBlockName, getBlockTexture, getBlockTextureFromSideAndMetadata, getCollidingBoundingBoxes, getEnableStats, getExplosionResistance, getHardness, getMetadataInfo, getMobilityFlag, getRenderColor, getSelectedBoundingBoxFromPool, getSubBlocks, getTickRandomly, harvestBlock, hasTileEntity, initializeBlock, isCollidable, isIndirectlyPoweringTo, isNormalCube, isPoweringTo, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockPlaced, onBlockPlacedBy, onBlockRemoval, onEntityCollidedWithBlock, onEntityWalking, onFallenUpon, postRegister, powerBlock, quantityDroppedWithBonus, registerVanilla, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockName, setBlockUnbreakable, setHardness, setLightOpacity, setLightValue, setRequiresSelfNotify, setResistance, setStepSound, setTickRandomly, toString, translateBlockName
-
-
-
-
Constructor Detail
-
FluidBlock
protected FluidBlock(int var1, Material var2)
-
-
Method Detail
-
getBlocksMovement
public boolean getBlocksMovement(IBlockAccess var1, int var2, int var3, int var4)
- Overrides:
getBlocksMovement
in classBlock
-
getBlockColor
@Client public @net.minecraft.modding.api.Side.Client int getBlockColor()
- Overrides:
getBlockColor
in classBlock
-
colorMultiplier
@Client public @net.minecraft.modding.api.Side.Client int colorMultiplier(IBlockAccess var1, int var2, int var3, int var4)
- Overrides:
colorMultiplier
in classBlock
-
getFluidHeightPercent
public static float getFluidHeightPercent(int var0)
-
getBlockTextureFromSide
public int getBlockTextureFromSide(int var1)
- Overrides:
getBlockTextureFromSide
in classBlock
-
getFlowDecay
protected int getFlowDecay(World var1, int var2, int var3, int var4)
-
getEffectiveFlowDecay
protected int getEffectiveFlowDecay(IBlockAccess var1, int var2, int var3, int var4)
-
renderAsNormalBlock
public boolean renderAsNormalBlock()
- Overrides:
renderAsNormalBlock
in classBlock
-
isOpaqueCube
public boolean isOpaqueCube()
- Overrides:
isOpaqueCube
in classBlock
-
canCollideCheck
public boolean canCollideCheck(int var1, boolean var2)
- Overrides:
canCollideCheck
in classBlock
-
isBlockSolid
public boolean isBlockSolid(IBlockAccess var1, int var2, int var3, int var4, int var5)
- Overrides:
isBlockSolid
in classBlock
-
shouldSideBeRendered
@Client public @net.minecraft.modding.api.Side.Client boolean shouldSideBeRendered(IBlockAccess var1, int var2, int var3, int var4, int var5)
- Overrides:
shouldSideBeRendered
in classBlock
-
getCollisionBoundingBoxFromPool
public AxisAlignedBB getCollisionBoundingBoxFromPool(World var1, int var2, int var3, int var4)
- Overrides:
getCollisionBoundingBoxFromPool
in classBlock
-
getRenderType
public int getRenderType()
- Overrides:
getRenderType
in classBlock
-
idDropped
public int idDropped(int var1, java.util.Random var2, int var3)
-
quantityDropped
public int quantityDropped(java.util.Random var1)
- Overrides:
quantityDropped
in classBlock
-
velocityToAddToEntity
public void velocityToAddToEntity(World var1, int var2, int var3, int var4, Entity var5, Vec3D var6)
- Overrides:
velocityToAddToEntity
in classBlock
-
getMixedBrightnessForBlock
@Client public @net.minecraft.modding.api.Side.Client int getMixedBrightnessForBlock(IBlockAccess var1, int var2, int var3, int var4)
- Overrides:
getMixedBrightnessForBlock
in classBlock
-
getBlockBrightness
@Client public @net.minecraft.modding.api.Side.Client float getBlockBrightness(IBlockAccess var1, int var2, int var3, int var4)
- Overrides:
getBlockBrightness
in classBlock
-
updateTick
public void updateTick(World var1, int var2, int var3, int var4, java.util.Random var5)
- Overrides:
updateTick
in classBlock
-
getRenderBlockPass
@Client public @net.minecraft.modding.api.Side.Client int getRenderBlockPass()
- Overrides:
getRenderBlockPass
in classBlock
-
randomDisplayTick
@Client public void randomDisplayTick(World var1, int var2, int var3, int var4, java.util.Random var5)
- Overrides:
randomDisplayTick
in classBlock
-
func_293_a
@Client public static @net.minecraft.modding.api.Side.Client double func_293_a(IBlockAccess var0, int var1, int var2, int var3, Material var4)
-
onBlockAdded
public void onBlockAdded(World var1, int var2, int var3, int var4)
- Overrides:
onBlockAdded
in classBlock
-
onNeighborBlockChange
public void onNeighborBlockChange(World var1, int var2, int var3, int var4, int var5)
- Overrides:
onNeighborBlockChange
in classBlock
-
triggerLavaMixEffects
protected void triggerLavaMixEffects(World var1, int var2, int var3, int var4)
-
-