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
-
Constructor Summary
ConstructorDescriptionColouredFluidKeyBuilder(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 TypeMethodDescriptioncopyFrom(FluidKey.FluidKeyBuilder from)
setAlphaBounds(float min, float max)
setBlueBounds(float min, float max)
setDefaultColour(float red, float green, float blue)
setDefaultColour(float red, float green, float blue, float alpha)
setGreenBounds(float min, float max)
setRedBounds(float min, float max)
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
-