Uses of Class
alexiil.mc.lib.attributes.fluid.volume.FluidKey.FluidKeyBuilder
-
Uses of FluidKey.FluidKeyBuilder in alexiil.mc.lib.attributes.fluid.volume
Modifier and TypeClassDescriptionstatic class
static class
Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeMethodDescriptionAdds the given unit to the set of units used.FluidKey.FluidKeyBuilder.copyFrom
(FluidKey.FluidKeyBuilder from) FluidKey.FluidKeyBuilder.setCohesion
(FluidAmount to) Sets theFluidKey.cohesion
property to the givenFluidAmount
, or null to use the default value.FluidKey.FluidKeyBuilder.setDensity
(FluidAmount to) Sets theFluidKey.density
property to the givenFluidAmount
, or null to use the default value.FluidKey.FluidKeyBuilder.setGas()
Sets theFluidKey.gaseous
property to true.FluidKey.FluidKeyBuilder.setIdEntry
(net.minecraft.util.Identifier id) FluidKey.FluidKeyBuilder.setLiquid()
Sets theFluidKey.gaseous
property to false.FluidKey.FluidKeyBuilder.setLuminosity
(int luminance) Sets theFluidKey.luminosity
property.FluidKey.FluidKeyBuilder.setName
(net.minecraft.text.Text name) FluidKey.FluidKeyBuilder.setNetherCohesion
(FluidAmount to) Sets theFluidKey.netherCohesion
property to the givenFluidAmount
, or null to use the default value.FluidKey.FluidKeyBuilder.setNetherViscosity
(FluidAmount to) Sets theFluidKey.netherViscosity
property to the givenFluidAmount
, or null to use the default value.FluidKey.FluidKeyBuilder.setRawFluid
(net.minecraft.fluid.Fluid rawFluid) FluidKey.FluidKeyBuilder.setRegistryEntry
(FluidRegistryEntry<?> registryEntry) FluidKey.FluidKeyBuilder.setRenderColor
(int renderColor) FluidKey.FluidKeyBuilder.setSprites
(net.minecraft.util.Identifier stillSprite, net.minecraft.util.Identifier flowingSprite) FluidKey.FluidKeyBuilder.setTemperature
(FluidTemperature.ContinuousFluidTemperature temperature) Sets theFluidKey.thermalCapacity
property to the givenFluidAmount
, or null to allowFluidProperty
s to provide the fluid for this fluid.FluidKey.FluidKeyBuilder.setTemperature
(FluidTemperature.DiscreteFluidTemperature temperature) Sets theFluidKey.thermalCapacity
property to the givenFluidAmount
, or null to allowFluidProperty
s to provide the fluid for this fluid.FluidKey.FluidKeyBuilder.setThermalCapacity
(FluidAmount to) Sets theFluidKey.thermalCapacity
property to the givenFluidAmount
, or null to use the default value.FluidKey.FluidKeyBuilder.setViscosity
(FluidAmount to) Sets theFluidKey.viscosity
property to the givenFluidAmount
, or null to use the default value.Modifier and TypeMethodDescriptionColouredFluidKey.ColouredFluidKeyBuilder.copyFrom
(FluidKey.FluidKeyBuilder from) FluidKey.FluidKeyBuilder.copyFrom
(FluidKey.FluidKeyBuilder from) void
FluidKeyCustomiser.customiseKey
(FluidKey.FluidKeyBuilder builder) Customises theSimpleFluidKey
that is created implicitly for thisFluid
.ModifierConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.FluidKey
(FluidKey.FluidKeyBuilder builder) SimpleFluidKey
(FluidKey.FluidKeyBuilder builder) WeightedFluidKey
(FluidKey.FluidKeyBuilder builder, Class<T> valueClass, T defaultValue)
ColouredFluidKey.ColouredFluidKeyBuilder
instead and pass that toBiomeSourcedFluidKey(ColouredFluidKeyBuilder)
.