public abstract class FiniteLiquid
extends net.minecraft.block.BlockDynamicLiquid
| Modifier and Type | Class and Description |
|---|---|
static class |
FiniteLiquid.FloodFill |
static class |
FiniteLiquid.SpreadData |
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
name |
static int |
renderId |
blockConstructorCalled, blockHardness, blockIcon, blockMaterial, blockParticleGravity, blockRegistry, blockResistance, capturedDrops, captureDrops, delegate, enableStats, fullBlock, harvesters, isBlockContainer, lightOpacity, lightValue, maxX, maxY, maxZ, minX, minY, minZ, needsRandomTick, slipperiness, soundTypeAnvil, soundTypeCloth, soundTypeGlass, soundTypeGrass, soundTypeGravel, soundTypeLadder, soundTypeMetal, soundTypePiston, soundTypeSand, soundTypeSnow, soundTypeStone, soundTypeWood, stepSound, textureName, translucent, useNeighborBrightness| Constructor and Description |
|---|
FiniteLiquid(net.minecraft.block.material.Material material) |
| Modifier and Type | Method and Description |
|---|---|
int |
addAmount(net.minecraft.world.World world,
BlockState state,
int amount) |
void |
addCollisionBoxesToList(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.util.AxisAlignedBB mask,
java.util.List list,
net.minecraft.entity.Entity entity) |
boolean |
canRenderInPass(int pass) |
net.minecraft.util.MovingObjectPosition |
collisionRayTrace(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.util.Vec3 src,
net.minecraft.util.Vec3 dest) |
int |
getAmount(BlockState state) |
net.minecraft.util.AxisAlignedBB[] |
getBoundingBox(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z,
BoundingBoxType type) |
java.lang.String |
getName() |
int |
getRenderBlockPass() |
int |
getRenderType() |
net.minecraft.util.AxisAlignedBB |
getSelectedBoundingBoxFromPool(net.minecraft.world.World world,
int x,
int y,
int z) |
boolean |
isOpaqueCube() |
void |
onBlockAdded(net.minecraft.world.World world,
int x,
int y,
int z) |
void |
onBlockPlacedBy(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.entity.EntityLivingBase player,
net.minecraft.item.ItemStack itemStack) |
void |
onNeighborBlockChange(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.block.Block neighbor) |
void |
register() |
void |
setAmount(net.minecraft.world.World world,
BlockState state,
int amount) |
void |
setDelay(int delay) |
net.minecraft.block.Block |
setUnlocalizedName(java.lang.String name) |
boolean |
shouldSideBeRendered(net.minecraft.world.IBlockAccess worldIn,
int x,
int y,
int z,
int side) |
void |
updateTick(net.minecraft.world.World world,
int x,
int y,
int z,
java.util.Random rand) |
canStopRayTrace, colorMultiplier, func_149799_m, func_149804_e, getBlockColor, getCollisionBoundingBoxFromPool, getEffectiveFlowDecay, getFlowDirection, getIcon, getItemDropped, getLiquidHeightPercent, getLiquidIcon, getMixedBrightnessForBlock, isBlockSolid, isPassable, modifyEntityVelocity, quantityDropped, randomDisplayTick, registerIcons, renderAsNormalBlock, tickRateaddDestroyEffects, addHitEffects, beginLeavesDecay, breakBlock, canBeReplacedByLeaves, canBlockStay, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canReplace, canSilkHarvest, canSilkHarvest, canSustainLeaves, canSustainPlant, captureDrops, createStackedBlock, createTileEntity, damageDropped, disableStats, dropBlockAsItem, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, fillWithRain, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockById, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockTextureFromSide, getComparatorInputOverride, getCreativeTabToDisplayOn, getDamageValue, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIcon, getIdFromBlock, getItem, getItemIcon, getItemIconName, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMobilityFlag, getPickBlock, getPickBlock, getPlayerRelativeBlockHardness, getRenderColor, getSubBlocks, getTextureName, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, harvestBlock, hasComparatorInputOverride, hasTileEntity, hasTileEntity, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBurning, isCollidable, isEqualTo, isFertile, isFireSource, isFlammable, isFlowerPot, isFoliage, isFullBlock, isLadder, isLeaves, isNormalCube, isNormalCube, isProvidingStrongPower, isProvidingWeakPower, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isTranslucent, isWood, onBlockActivated, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockEventReceived, onBlockExploded, onBlockHarvested, onBlockPlaced, onBlockPreDestroy, onEntityCollidedWithBlock, onEntityWalking, onFallenUpon, onNeighborChange, onPlantGrow, onPostBlockPlaced, quantityDropped, quantityDroppedWithBonus, recolourBlock, registerBlocks, removedByPlayer, removedByPlayer, rotateBlock, setBedOccupied, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockUnbreakable, setCreativeTab, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setStepSound, setTextureName, setTickRandomly, shouldCheckWeakPowerpublic net.minecraft.block.Block setUnlocalizedName(java.lang.String name)
setUnlocalizedName in class net.minecraft.block.Blockpublic java.lang.String getName()
public void setDelay(int delay)
public void register()
public void onBlockAdded(net.minecraft.world.World world,
int x,
int y,
int z)
onBlockAdded in class net.minecraft.block.BlockDynamicLiquidpublic void onBlockPlacedBy(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.entity.EntityLivingBase player,
net.minecraft.item.ItemStack itemStack)
onBlockPlacedBy in class net.minecraft.block.Blockpublic void onNeighborBlockChange(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.block.Block neighbor)
onNeighborBlockChange in class net.minecraft.block.BlockLiquidpublic void updateTick(net.minecraft.world.World world,
int x,
int y,
int z,
java.util.Random rand)
updateTick in class net.minecraft.block.BlockDynamicLiquidpublic int getAmount(BlockState state)
public void setAmount(net.minecraft.world.World world,
BlockState state,
int amount)
public int addAmount(net.minecraft.world.World world,
BlockState state,
int amount)
public net.minecraft.util.AxisAlignedBB[] getBoundingBox(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z,
BoundingBoxType type)
public void addCollisionBoxesToList(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.util.AxisAlignedBB mask,
java.util.List list,
net.minecraft.entity.Entity entity)
addCollisionBoxesToList in class net.minecraft.block.Blockpublic net.minecraft.util.MovingObjectPosition collisionRayTrace(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.util.Vec3 src,
net.minecraft.util.Vec3 dest)
collisionRayTrace in class net.minecraft.block.Blockpublic net.minecraft.util.AxisAlignedBB getSelectedBoundingBoxFromPool(net.minecraft.world.World world,
int x,
int y,
int z)
getSelectedBoundingBoxFromPool in class net.minecraft.block.Blockpublic boolean shouldSideBeRendered(net.minecraft.world.IBlockAccess worldIn,
int x,
int y,
int z,
int side)
shouldSideBeRendered in class net.minecraft.block.BlockLiquidpublic boolean isOpaqueCube()
isOpaqueCube in class net.minecraft.block.BlockLiquidpublic boolean canRenderInPass(int pass)
canRenderInPass in class net.minecraft.block.Blockpublic int getRenderBlockPass()
getRenderBlockPass in class net.minecraft.block.BlockLiquidpublic int getRenderType()
getRenderType in class net.minecraft.block.BlockLiquid