Class NormalFluidKey.NormalFluidKeyBuilder
java.lang.Object
alexiil.mc.lib.attributes.fluid.volume.FluidKey.FluidKeyBuilder
alexiil.mc.lib.attributes.fluid.volume.NormalFluidKey.NormalFluidKeyBuilder
- Enclosing class:
- NormalFluidKey
-
Field Summary
Modifier and TypeFieldDescriptionfinal net.minecraft.fluid.Fluid
Deprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorDescriptionNormalFluidKeyBuilder
(net.minecraft.fluid.Fluid fluid, net.minecraft.util.Identifier spriteId, net.minecraft.text.Text name) Deprecated, for removal: This API element is subject to removal in a future version.As the flowing sprite ID is needed as well.NormalFluidKeyBuilder
(net.minecraft.fluid.Fluid fluid, net.minecraft.util.Identifier spriteId, net.minecraft.util.Identifier flowingSpriteId, net.minecraft.text.Text name) -
Method Summary
Modifier and TypeMethodDescriptionAdds the given unit to the set of units used.build()
setRenderColor
(int renderColor) Methods inherited from class alexiil.mc.lib.attributes.fluid.volume.FluidKey.FluidKeyBuilder
copyFrom, setCohesion, setDensity, setGas, setIdEntry, setLiquid, setLuminosity, setName, setNetherCohesion, setNetherViscosity, setRawFluid, setRegistryEntry, setSprites, setTemperature, setTemperature, setThermalCapacity, setViscosity
-
Field Details
-
fluid
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
NormalFluidKeyBuilder
@Deprecated(since="0.6.0", forRemoval=true) public NormalFluidKeyBuilder(net.minecraft.fluid.Fluid fluid, net.minecraft.util.Identifier spriteId, net.minecraft.text.Text name) Deprecated, for removal: This API element is subject to removal in a future version.As the flowing sprite ID is needed as well. -
NormalFluidKeyBuilder
public NormalFluidKeyBuilder(@Nullable net.minecraft.fluid.Fluid fluid, net.minecraft.util.Identifier spriteId, net.minecraft.util.Identifier flowingSpriteId, net.minecraft.text.Text name)
-
-
Method Details
-
setRenderColor
- Overrides:
setRenderColor
in classFluidKey.FluidKeyBuilder
-
setUnit
- Overrides:
setUnit
in classFluidKey.FluidKeyBuilder
-
addUnit
Description copied from class:FluidKey.FluidKeyBuilder
Adds the given unit to the set of units used.- Overrides:
addUnit
in classFluidKey.FluidKeyBuilder
-
build
-