Class ColouredFluidKey.ColouredFluidKeyBuilder
java.lang.Object
alexiil.mc.lib.attributes.fluid.volume.FluidKey.FluidKeyBuilder
alexiil.mc.lib.attributes.fluid.volume.ColouredFluidKey.ColouredFluidKeyBuilder
- Enclosing class:
- ColouredFluidKey
public static class ColouredFluidKey.ColouredFluidKeyBuilder extends FluidKey.FluidKeyBuilder
-
Constructor Summary
Constructors Constructor Description ColouredFluidKeyBuilder()
ColouredFluidKeyBuilder(FluidRegistryEntry<?> registryEntry, net.minecraft.util.Identifier spriteId, net.minecraft.util.Identifier flowingSpriteId, net.minecraft.text.Text name)
ColouredFluidKeyBuilder(net.minecraft.fluid.Fluid fluid)
ColouredFluidKeyBuilder(net.minecraft.util.Identifier id)
-
Method Summary
Modifier and Type Method Description ColouredFluidKey.ColouredFluidKeyBuilder
copyFrom(FluidKey.FluidKeyBuilder from)
ColouredFluidKey.ColouredFluidKeyBuilder
setAlphaBounds(float min, float max)
ColouredFluidKey.ColouredFluidKeyBuilder
setBlueBounds(float min, float max)
ColouredFluidKey.ColouredFluidKeyBuilder
setDefaultColour(float red, float green, float blue)
ColouredFluidKey.ColouredFluidKeyBuilder
setDefaultColour(float red, float green, float blue, float alpha)
ColouredFluidKey.ColouredFluidKeyBuilder
setGreenBounds(float min, float max)
ColouredFluidKey.ColouredFluidKeyBuilder
setRedBounds(float min, float max)
ColouredFluidKey.ColouredFluidKeyBuilder
setRgbBounds(float min, float max)
Methods inherited from class alexiil.mc.lib.attributes.fluid.volume.FluidKey.FluidKeyBuilder
addUnit, setCohesion, setDensity, setGas, setIdEntry, setLiquid, setLuminosity, setName, setNetherCohesion, setNetherViscosity, setRawFluid, setRegistryEntry, setRenderColor, setSprites, setTemperature, setTemperature, setThermalCapacity, setUnit, setViscosity
-
Constructor Details
-
ColouredFluidKeyBuilder
public ColouredFluidKeyBuilder() -
ColouredFluidKeyBuilder
public ColouredFluidKeyBuilder(net.minecraft.util.Identifier id) -
ColouredFluidKeyBuilder
public ColouredFluidKeyBuilder(net.minecraft.fluid.Fluid fluid) -
ColouredFluidKeyBuilder
public ColouredFluidKeyBuilder(FluidRegistryEntry<?> registryEntry, net.minecraft.util.Identifier spriteId, net.minecraft.util.Identifier flowingSpriteId, net.minecraft.text.Text name)
-
-
Method Details
-
copyFrom
- Overrides:
copyFrom
in classFluidKey.FluidKeyBuilder
-
setDefaultColour
public ColouredFluidKey.ColouredFluidKeyBuilder setDefaultColour(float red, float green, float blue) -
setDefaultColour
public ColouredFluidKey.ColouredFluidKeyBuilder setDefaultColour(float red, float green, float blue, float alpha) -
setRgbBounds
-
setRedBounds
-
setGreenBounds
-
setBlueBounds
-
setAlphaBounds
-