public abstract class ConfigurableBlockFluidClassic extends net.minecraftforge.fluids.BlockFluidClassic implements IConfigurable, IEntityDropParticleFXBlock
| Modifier and Type | Field and Description |
|---|---|
protected ExtendedConfig |
eConfig |
protected EntityDropParticleFXBlockComponent |
entityDropParticleFXBlockComponent |
protected net.minecraft.util.IIcon[] |
icon |
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 |
|---|
ConfigurableBlockFluidClassic(ExtendedConfig eConfig,
net.minecraftforge.fluids.Fluid fluid,
net.minecraft.block.material.Material material)
Make a new block instance.
|
| Modifier and Type | Method and Description |
|---|---|
ExtendedConfig<?> |
getConfig() |
net.minecraft.util.IIcon |
getIcon(int side,
int meta) |
java.lang.String |
getTextureName() |
void |
randomDisplayTick(net.minecraft.world.World world,
int x,
int y,
int z,
java.util.Random rand)
Called when a random display tick occurs.
|
void |
registerBlockIcons(net.minecraft.client.renderer.texture.IIconRegister iconRegister) |
ConfigurableBlockFluidClassic |
setParticleColor(float particleRed,
float particleGreen,
float particleBlue)
Set the drop particle color.
|
calculateFlowCost, canCollideCheck, canDrain, canFlowInto, drain, flowIntoBlock, getLargerQuanta, getLightValue, getMaxRenderHeightMeta, getOptimalFlowDirections, getQuantaValue, isFlowingVertically, isSourceBlock, setFluidStack, setFluidStackAmount, updateTickcanDisplace, canPlaceBlockAt, displaceIfPossible, func_149698_L, getBlocksMovement, getCollisionBoundingBoxFromPool, getDensity, getFilledPercentage, getFlowDirection, getFlowVector, getFluid, getItemDropped, getMixedBrightnessForBlock, getQuantaPercentage, getQuantaValueAbove, getQuantaValueBelow, getRenderBlockPass, getRenderType, getTemperature, isOpaqueCube, onBlockAdded, onNeighborBlockChange, 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, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIcon, getIdFromBlock, getItem, getItemIconName, getLightOpacity, getLightOpacity, getLightValue, getLocalizedName, getMapColor, getMaterial, getMobilityFlag, getPickBlock, getPickBlock, getPlayerRelativeBlockHardness, getRenderColor, getSelectedBoundingBoxFromPool, getSubBlocks, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, harvestBlock, hasComparatorInputOverride, hasTileEntity, hasTileEntity, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBlockSolid, isBurning, isCollidable, isEqualTo, isFertile, isFireSource, isFlammable, isFlowerPot, isFoliage, isLadder, isLeaves, isNormalCube, isNormalCube, isProvidingStrongPower, isProvidingWeakPower, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isWood, onBlockActivated, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockEventReceived, onBlockExploded, onBlockHarvested, onBlockPlaced, onBlockPlacedBy, onBlockPreDestroy, onEntityCollidedWithBlock, 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 ExtendedConfig eConfig
protected net.minecraft.util.IIcon[] icon
protected EntityDropParticleFXBlockComponent entityDropParticleFXBlockComponent
public ConfigurableBlockFluidClassic(ExtendedConfig eConfig, net.minecraftforge.fluids.Fluid fluid, net.minecraft.block.material.Material material)
eConfig - Config for this block.fluid - The fluid this block has to representmaterial - Material of this block.public ExtendedConfig<?> getConfig()
getConfig in interface IConfigurablepublic java.lang.String getTextureName()
getTextureName in class net.minecraft.block.Blockpublic void registerBlockIcons(net.minecraft.client.renderer.texture.IIconRegister iconRegister)
registerBlockIcons in class net.minecraft.block.Blockpublic net.minecraft.util.IIcon getIcon(int side,
int meta)
getIcon in class net.minecraft.block.Blockpublic ConfigurableBlockFluidClassic setParticleColor(float particleRed, float particleGreen, float particleBlue)
particleRed - Red color.particleGreen - Green color.particleBlue - Blue color.public void randomDisplayTick(net.minecraft.world.World world,
int x,
int y,
int z,
java.util.Random rand)
IEntityDropParticleFXBlockrandomDisplayTick in interface IEntityDropParticleFXBlockrandomDisplayTick in class net.minecraft.block.Blockworld - The world.x - X coordinate.y - Y coordinate.z - Z coordinate.rand - Random object.