Package | Description |
---|---|
net.minecraft.fluid | |
net.minecraftforge.common | |
net.minecraftforge.common.extensions | |
net.minecraftforge.fluids |
Modifier and Type | Field and Description |
---|---|
private FluidAttributes |
Fluid.forgeFluidAttributes |
Modifier and Type | Method and Description |
---|---|
protected FluidAttributes |
Fluid.createAttributes()
Creates the fluid attributes object, which will contain all the extended values for the fluid that aren't part of the vanilla system.
|
FluidAttributes |
Fluid.getAttributes() |
Modifier and Type | Method and Description |
---|---|
static FluidAttributes |
ForgeHooks.createVanillaFluidAttributes(Fluid fluid) |
Modifier and Type | Method and Description |
---|---|
FluidAttributes |
IForgeFluid.getAttributes()
Retrieves the non-vanilla fluid attributes, including localized name.
|
Modifier and Type | Class and Description |
---|---|
static class |
FluidAttributes.Water |
Modifier and Type | Field and Description |
---|---|
private java.util.function.BiFunction<FluidAttributes.Builder,Fluid,FluidAttributes> |
FluidAttributes.Builder.factory |
Modifier and Type | Method and Description |
---|---|
FluidAttributes |
FluidAttributes.Builder.build(Fluid fluid) |
protected FluidAttributes |
ForgeFlowingFluid.createAttributes() |
Constructor and Description |
---|
Builder(ResourceLocation stillTexture,
ResourceLocation flowingTexture,
java.util.function.BiFunction<FluidAttributes.Builder,Fluid,FluidAttributes> factory) |