Uses of Class
alexiil.mc.lib.attributes.fluid.volume.FluidKey.FluidKeyBuilder
Package | Description |
---|---|
alexiil.mc.lib.attributes.fluid.volume |
-
Uses of FluidKey.FluidKeyBuilder in alexiil.mc.lib.attributes.fluid.volume
Subclasses of FluidKey.FluidKeyBuilder in alexiil.mc.lib.attributes.fluid.volume Modifier and Type Class Description static class
ColouredFluidKey.ColouredFluidKeyBuilder
static class
NormalFluidKey.NormalFluidKeyBuilder
Deprecated.Methods in alexiil.mc.lib.attributes.fluid.volume that return FluidKey.FluidKeyBuilder Modifier and Type Method Description FluidKey.FluidKeyBuilder
FluidKey.FluidKeyBuilder. addUnit(FluidUnit unit)
Adds the given unit to the set of units used.FluidKey.FluidKeyBuilder
FluidKey.FluidKeyBuilder. copyFrom(FluidKey.FluidKeyBuilder from)
FluidKey.FluidKeyBuilder
FluidKey.FluidKeyBuilder. setCohesion(FluidAmount to)
Sets theFluidKey.cohesion
property to the givenFluidAmount
, or null to use the default value.FluidKey.FluidKeyBuilder
FluidKey.FluidKeyBuilder. setDensity(FluidAmount to)
Sets theFluidKey.density
property to the givenFluidAmount
, or null to use the default value.FluidKey.FluidKeyBuilder
FluidKey.FluidKeyBuilder. setGas()
Sets theFluidKey.gaseous
property to true.FluidKey.FluidKeyBuilder
FluidKey.FluidKeyBuilder. setIdEntry(net.minecraft.util.Identifier id)
FluidKey.FluidKeyBuilder
FluidKey.FluidKeyBuilder. setLiquid()
Sets theFluidKey.gaseous
property to false.FluidKey.FluidKeyBuilder
FluidKey.FluidKeyBuilder. setLuminosity(int luminance)
Sets theFluidKey.luminosity
property.FluidKey.FluidKeyBuilder
FluidKey.FluidKeyBuilder. setName(net.minecraft.text.Text name)
FluidKey.FluidKeyBuilder
FluidKey.FluidKeyBuilder. setNetherCohesion(FluidAmount to)
Sets theFluidKey.netherCohesion
property to the givenFluidAmount
, or null to use the default value.FluidKey.FluidKeyBuilder
FluidKey.FluidKeyBuilder. setNetherViscosity(FluidAmount to)
Sets theFluidKey.netherViscosity
property to the givenFluidAmount
, or null to use the default value.FluidKey.FluidKeyBuilder
FluidKey.FluidKeyBuilder. setRawFluid(net.minecraft.fluid.Fluid rawFluid)
FluidKey.FluidKeyBuilder
FluidKey.FluidKeyBuilder. setRegistryEntry(FluidRegistryEntry<?> registryEntry)
FluidKey.FluidKeyBuilder
FluidKey.FluidKeyBuilder. setRenderColor(int renderColor)
FluidKey.FluidKeyBuilder
FluidKey.FluidKeyBuilder. setSprites(net.minecraft.util.Identifier stillSprite, net.minecraft.util.Identifier flowingSprite)
FluidKey.FluidKeyBuilder
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
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
FluidKey.FluidKeyBuilder. setThermalCapacity(FluidAmount to)
Sets theFluidKey.thermalCapacity
property to the givenFluidAmount
, or null to use the default value.FluidKey.FluidKeyBuilder
FluidKey.FluidKeyBuilder. setUnit(FluidUnit unit)
FluidKey.FluidKeyBuilder
FluidKey.FluidKeyBuilder. setViscosity(FluidAmount to)
Sets theFluidKey.viscosity
property to the givenFluidAmount
, or null to use the default value.Methods in alexiil.mc.lib.attributes.fluid.volume with parameters of type FluidKey.FluidKeyBuilder Modifier and Type Method Description ColouredFluidKey.ColouredFluidKeyBuilder
ColouredFluidKey.ColouredFluidKeyBuilder. copyFrom(FluidKey.FluidKeyBuilder from)
FluidKey.FluidKeyBuilder
FluidKey.FluidKeyBuilder. copyFrom(FluidKey.FluidKeyBuilder from)
void
FluidKeyCustomiser. customiseKey(FluidKey.FluidKeyBuilder builder)
Customises theSimpleFluidKey
that is created implicitly for thisFluid
.Constructors in alexiil.mc.lib.attributes.fluid.volume with parameters of type FluidKey.FluidKeyBuilder Constructor Description BiomeSourcedFluidKey(FluidKey.FluidKeyBuilder builder)
Deprecated.because it's recommended to create aColouredFluidKey.ColouredFluidKeyBuilder
instead and pass that toBiomeSourcedFluidKey(ColouredFluidKeyBuilder)
.FluidKey(FluidKey.FluidKeyBuilder builder)
SimpleFluidKey(FluidKey.FluidKeyBuilder builder)
WeightedFluidKey(FluidKey.FluidKeyBuilder builder, java.lang.Class<T> valueClass, T defaultValue)