Modifier and Type | Field and Description |
---|---|
private Fluid |
ModelFluid.fluid |
private Fluid |
ModelDynBucket.fluid |
Constructor and Description |
---|
ModelDynBucket(ResourceLocation baseLocation,
ResourceLocation liquidLocation,
ResourceLocation coverLocation,
Fluid fluid,
boolean flipGas)
|
ModelDynBucket(ResourceLocation baseLocation,
ResourceLocation liquidLocation,
ResourceLocation coverLocation,
Fluid fluid,
boolean flipGas,
boolean tint) |
ModelFluid(Fluid fluid) |
Modifier and Type | Field and Description |
---|---|
(package private) com.google.common.collect.BiMap<Fluid,java.lang.Integer> |
ForgeMessage.FluidIdMapMessage.fluidIds |
Modifier and Type | Field and Description |
---|---|
protected Fluid |
BlockFluidBase.definedFluid
This is the fluid used in the constructor.
|
private Fluid |
FluidRegistry.FluidDelegate.fluid |
static Fluid |
FluidRegistry.LAVA |
static Fluid |
FluidRegistry.WATER |
Modifier and Type | Field and Description |
---|---|
(package private) static java.util.Set<Fluid> |
FluidRegistry.currentBucketFluids |
(package private) static java.util.Map<Fluid,FluidRegistry.FluidDelegate> |
FluidRegistry.delegates |
(package private) static com.google.common.collect.BiMap<Block,Fluid> |
FluidRegistry.fluidBlocks |
private IRegistryDelegate<Fluid> |
FluidStack.fluidDelegate |
(package private) static com.google.common.collect.BiMap<Fluid,java.lang.Integer> |
FluidRegistry.fluidIDs |
(package private) static com.google.common.collect.BiMap<java.lang.String,Fluid> |
FluidRegistry.fluids |
(package private) static com.google.common.collect.BiMap<java.lang.String,Fluid> |
FluidRegistry.masterFluidReference |
Modifier and Type | Method and Description |
---|---|
Fluid |
FluidRegistry.FluidDelegate.get() |
Fluid |
IFluidBlock.getFluid()
Returns the Fluid associated with this Block.
|
Fluid |
BlockFluidBase.getFluid() |
Fluid |
FluidStack.getFluid() |
private static Fluid |
BlockFluidBase.getFluid(IBlockState state) |
static Fluid |
FluidRegistry.getFluid(java.lang.String fluidName) |
static Fluid |
FluidRegistry.lookupFluidForBlock(Block block) |
Fluid |
Fluid.setBlock(Block block) |
Fluid |
Fluid.setColor(java.awt.Color color) |
Fluid |
Fluid.setColor(int color) |
Fluid |
Fluid.setDensity(int density) |
Fluid |
Fluid.setEmptySound(SoundEvent emptySound) |
Fluid |
Fluid.setFillSound(SoundEvent fillSound) |
Fluid |
Fluid.setGaseous(boolean isGaseous) |
Fluid |
Fluid.setLuminosity(int luminosity) |
Fluid |
Fluid.setRarity(EnumRarity rarity) |
Fluid |
Fluid.setTemperature(int temperature) |
Fluid |
Fluid.setUnlocalizedName(java.lang.String unlocalizedName) |
Fluid |
Fluid.setViscosity(int viscosity) |
Modifier and Type | Method and Description |
---|---|
static java.util.Set<Fluid> |
FluidRegistry.getBucketFluids()
All fluids registered with the universal bucket
|
static java.util.Map<Fluid,java.lang.Integer> |
FluidRegistry.getRegisteredFluidIDs()
Deprecated.
|
static java.util.Map<java.lang.String,Fluid> |
FluidRegistry.getRegisteredFluids()
Returns a read-only map containing Fluid Names and their associated Fluids.
|
(package private) static IRegistryDelegate<Fluid> |
FluidRegistry.makeDelegate(Fluid fl) |
java.lang.Class<Fluid> |
FluidRegistry.FluidDelegate.type() |
Modifier and Type | Method and Description |
---|---|
static boolean |
FluidRegistry.addBucketForFluid(Fluid fluid)
Registers a fluid with the universal bucket.
|
static java.lang.String |
FluidRegistry.getDefaultFluidName(Fluid key) |
static ItemStack |
UniversalBucket.getFilledBucket(UniversalBucket item,
Fluid fluid)
Deprecated.
use the NBT-sensitive version
FluidUtil.getFilledBucket(FluidStack) |
private static IFluidHandler |
FluidUtil.getFluidBlockHandler(Fluid fluid,
World world,
BlockPos pos)
Internal method for getting a fluid block handler for placing a fluid.
|
static java.lang.String |
FluidRegistry.getFluidName(Fluid fluid) |
static boolean |
FluidRegistry.hasBucket(Fluid fluid) |
static boolean |
FluidRegistry.isFluidDefault(Fluid fluid)
Is the supplied fluid the current default fluid for it's name
|
static boolean |
FluidRegistry.isFluidRegistered(Fluid fluid)
Does the supplied fluid have an entry for it's name (whether or not the fluid itself is default)
|
(package private) static IRegistryDelegate<Fluid> |
FluidRegistry.makeDelegate(Fluid fl) |
static boolean |
FluidRegistry.registerFluid(Fluid fluid)
Register a new Fluid.
|
private static java.lang.String |
FluidRegistry.uniqueName(Fluid fluid) |
Modifier and Type | Method and Description |
---|---|
static void |
FluidRegistry.initFluidIDs(com.google.common.collect.BiMap<Fluid,java.lang.Integer> newfluidIDs,
java.util.Set<java.lang.String> defaultNames)
Called by Forge to prepare the ID map for server -> client sync.
|
private static void |
FluidRegistry.loadFluidDefaults(com.google.common.collect.BiMap<Fluid,java.lang.Integer> localFluidIDs,
java.util.Set<java.lang.String> defaultNames)
Called by forge to load default fluid IDs from the world or from server -> client for syncing
DO NOT call this and expect useful behaviour.
|
Constructor and Description |
---|
BlockFluidBase(Fluid fluid,
Material material) |
BlockFluidBase(Fluid fluid,
Material material,
MapColor mapColor) |
BlockFluidClassic(Fluid fluid,
Material material) |
BlockFluidClassic(Fluid fluid,
Material material,
MapColor mapColor) |
BlockFluidFinite(Fluid fluid,
Material material) |
BlockFluidFinite(Fluid fluid,
Material material,
MapColor mapColor) |
FluidDelegate(Fluid fluid,
java.lang.String name) |
FluidStack(Fluid fluid,
int amount) |
FluidStack(Fluid fluid,
int amount,
NBTTagCompound nbt) |
FluidTank(Fluid fluid,
int amount,
int capacity) |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<Fluid,IFluidHandler> |
FluidHandlerFluidMap.handlers |
Modifier and Type | Method and Description |
---|---|
FluidHandlerFluidMap |
FluidHandlerFluidMap.addHandler(Fluid fluid,
IFluidHandler handler) |
Constructor and Description |
---|
FluidHandlerFluidMap(java.util.Map<Fluid,IFluidHandler> handlers) |
Modifier and Type | Method and Description |
---|---|
protected void |
FluidBucketWrapper.setFluid(Fluid fluid)
Deprecated.
use the NBT-sensitive version
FluidBucketWrapper.setFluid(FluidStack) |