public class BlockBuildCraftFluid
extends net.minecraftforge.fluids.BlockFluidClassic
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
dense |
protected int |
flammability |
protected boolean |
flammable |
protected float |
particleBlue |
protected float |
particleGreen |
protected float |
particleRed |
protected net.minecraft.util.IIcon[] |
theIcon |
flowCost, isOptimalFlowDirection, stackdefaultDisplacements, definedFluid, density, densityDir, displacements, fluidName, maxScaledLight, quantaPerBlock, quantaPerBlockFloat, renderPass, temperature, tickRateblockConstructorCalled, blockHardness, blockIcon, blockMaterial, blockParticleGravity, blockRegistry, blockResistance, canBlockGrass, capturedDrops, captureDrops, delegate, enableStats, harvesters, isBlockContainer, lightOpacity, lightValue, maxX, maxY, maxZ, minX, minY, minZ, needsRandomTick, opaque, slipperiness, soundTypeAnvil, soundTypeCloth, soundTypeGlass, soundTypeGrass, soundTypeGravel, soundTypeLadder, soundTypeMetal, soundTypePiston, soundTypeSand, soundTypeSnow, soundTypeStone, soundTypeWood, stepSound, textureName, useNeighborBrightness| Constructor and Description |
|---|
BlockBuildCraftFluid(net.minecraftforge.fluids.Fluid fluid,
net.minecraft.block.material.Material material,
net.minecraft.block.material.MapColor iMapColor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDisplace(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z) |
boolean |
displaceIfPossible(net.minecraft.world.World world,
int x,
int y,
int z) |
int |
getFireSpreadSpeed(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z,
net.minecraftforge.common.util.ForgeDirection face) |
int |
getFlammability(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z,
net.minecraftforge.common.util.ForgeDirection face) |
net.minecraft.util.IIcon |
getIcon(int side,
int meta) |
net.minecraft.block.material.MapColor |
getMapColor(int meta) |
boolean |
isFireSource(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraftforge.common.util.ForgeDirection side) |
boolean |
isFlammable(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z,
net.minecraftforge.common.util.ForgeDirection face) |
void |
onEntityCollidedWithBlock(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.entity.Entity entity) |
void |
onNeighborBlockChange(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.block.Block block) |
void |
randomDisplayTick(net.minecraft.world.World world,
int x,
int y,
int z,
java.util.Random rand) |
void |
registerBlockIcons(net.minecraft.client.renderer.texture.IIconRegister iconRegister) |
BlockBuildCraftFluid |
setDense(boolean dense) |
BlockBuildCraftFluid |
setFlammability(int flammability) |
BlockBuildCraftFluid |
setFlammable(boolean flammable) |
BlockBuildCraftFluid |
setParticleColor(float particleRed,
float particleGreen,
float particleBlue) |
calculateFlowCost, canCollideCheck, canDrain, canFlowInto, drain, flowIntoBlock, getLargerQuanta, getLightValue, getMaxRenderHeightMeta, getOptimalFlowDirections, getQuantaValue, isFlowingVertically, isSourceBlock, setFluidStack, setFluidStackAmount, updateTickcanPlaceBlockAt, func_149698_L, getBlocksMovement, getCollisionBoundingBoxFromPool, getDensity, getFilledPercentage, getFlowDirection, getFlowVector, getFluid, getItemDropped, getMixedBrightnessForBlock, getQuantaPercentage, getQuantaValueAbove, getQuantaValueBelow, getRenderBlockPass, getRenderType, getTemperature, isOpaqueCube, onBlockAdded, quantityDropped, renderAsNormalBlock, setDensity, setMaxScaledLight, setQuantaPerBlock, setRenderPass, setTemperature, setTickRate, shouldSideBeRendered, tickRate, velocityToAddToEntityaddCollisionBoxesToList, addDestroyEffects, addHitEffects, beginLeavesDecay, breakBlock, canBeReplacedByLeaves, canBlockStay, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInPass, canReplace, canSilkHarvest, canSilkHarvest, canSustainLeaves, canSustainPlant, captureDrops, collisionRayTrace, colorMultiplier, createStackedBlock, createTileEntity, damageDropped, disableStats, dropBlockAsItem, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, fillWithRain, func_149730_j, func_149735_b, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockById, getBlockColor, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockTextureFromSide, getCanBlockGrass, getComparatorInputOverride, getCreativeTabToDisplayOn, getDamageValue, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getHarvestLevel, getHarvestTool, getIcon, getIdFromBlock, getItem, getItemIconName, getLightOpacity, getLightOpacity, getLightValue, getLocalizedName, getMaterial, getMobilityFlag, getPickBlock, getPickBlock, getPlayerRelativeBlockHardness, getRenderColor, getSelectedBoundingBoxFromPool, getSubBlocks, getTextureName, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, harvestBlock, hasComparatorInputOverride, hasTileEntity, hasTileEntity, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBlockSolid, isBurning, isCollidable, isEqualTo, isFertile, isFlowerPot, isFoliage, isLadder, isLeaves, isNormalCube, isNormalCube, isProvidingStrongPower, isProvidingWeakPower, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isWood, onBlockActivated, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockEventReceived, onBlockExploded, onBlockHarvested, onBlockPlaced, onBlockPlacedBy, onBlockPreDestroy, onEntityWalking, onFallenUpon, onNeighborChange, onPlantGrow, onPostBlockPlaced, quantityDropped, quantityDroppedWithBonus, recolourBlock, registerBlocks, removedByPlayer, removedByPlayer, rotateBlock, setBedOccupied, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockName, setBlockTextureName, setBlockUnbreakable, setCreativeTab, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, shouldCheckWeakPowerprotected float particleRed
protected float particleGreen
protected float particleBlue
protected net.minecraft.util.IIcon[] theIcon
protected boolean flammable
protected boolean dense
protected int flammability
public BlockBuildCraftFluid(net.minecraftforge.fluids.Fluid fluid,
net.minecraft.block.material.Material material,
net.minecraft.block.material.MapColor iMapColor)
public net.minecraft.util.IIcon getIcon(int side,
int meta)
getIcon in class net.minecraft.block.Blockpublic void registerBlockIcons(net.minecraft.client.renderer.texture.IIconRegister iconRegister)
registerBlockIcons in class net.minecraft.block.Blockpublic void onNeighborBlockChange(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.block.Block block)
onNeighborBlockChange in class net.minecraftforge.fluids.BlockFluidBasepublic void onEntityCollidedWithBlock(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.entity.Entity entity)
onEntityCollidedWithBlock in class net.minecraft.block.Blockpublic BlockBuildCraftFluid setDense(boolean dense)
public BlockBuildCraftFluid setFlammable(boolean flammable)
public BlockBuildCraftFluid setFlammability(int flammability)
public int getFireSpreadSpeed(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z,
net.minecraftforge.common.util.ForgeDirection face)
getFireSpreadSpeed in class net.minecraft.block.Blockpublic int getFlammability(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z,
net.minecraftforge.common.util.ForgeDirection face)
getFlammability in class net.minecraft.block.Blockpublic boolean isFlammable(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z,
net.minecraftforge.common.util.ForgeDirection face)
isFlammable in class net.minecraft.block.Blockpublic boolean isFireSource(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraftforge.common.util.ForgeDirection side)
isFireSource in class net.minecraft.block.Blockpublic BlockBuildCraftFluid setParticleColor(float particleRed, float particleGreen, float particleBlue)
public void randomDisplayTick(net.minecraft.world.World world,
int x,
int y,
int z,
java.util.Random rand)
randomDisplayTick in class net.minecraft.block.Blockpublic boolean canDisplace(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z)
canDisplace in class net.minecraftforge.fluids.BlockFluidBasepublic boolean displaceIfPossible(net.minecraft.world.World world,
int x,
int y,
int z)
displaceIfPossible in class net.minecraftforge.fluids.BlockFluidBasepublic net.minecraft.block.material.MapColor getMapColor(int meta)
getMapColor in class net.minecraft.block.Block