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 classColouredFluidKey.ColouredFluidKeyBuilderstatic classNormalFluidKey.NormalFluidKeyBuilderDeprecated.Methods in alexiil.mc.lib.attributes.fluid.volume that return FluidKey.FluidKeyBuilder Modifier and Type Method Description FluidKey.FluidKeyBuilderFluidKey.FluidKeyBuilder. addUnit(FluidUnit unit)Adds the given unit to the set of units used.FluidKey.FluidKeyBuilderFluidKey.FluidKeyBuilder. copyFrom(FluidKey.FluidKeyBuilder from)FluidKey.FluidKeyBuilderFluidKey.FluidKeyBuilder. setCohesion(FluidAmount to)Sets theFluidKey.cohesionproperty to the givenFluidAmount, or null to use the default value.FluidKey.FluidKeyBuilderFluidKey.FluidKeyBuilder. setDensity(FluidAmount to)Sets theFluidKey.densityproperty to the givenFluidAmount, or null to use the default value.FluidKey.FluidKeyBuilderFluidKey.FluidKeyBuilder. setGas()Sets theFluidKey.gaseousproperty to true.FluidKey.FluidKeyBuilderFluidKey.FluidKeyBuilder. setIdEntry(net.minecraft.util.Identifier id)FluidKey.FluidKeyBuilderFluidKey.FluidKeyBuilder. setLiquid()Sets theFluidKey.gaseousproperty to false.FluidKey.FluidKeyBuilderFluidKey.FluidKeyBuilder. setLuminosity(int luminance)Sets theFluidKey.luminosityproperty.FluidKey.FluidKeyBuilderFluidKey.FluidKeyBuilder. setName(net.minecraft.text.Text name)FluidKey.FluidKeyBuilderFluidKey.FluidKeyBuilder. setNetherCohesion(FluidAmount to)Sets theFluidKey.netherCohesionproperty to the givenFluidAmount, or null to use the default value.FluidKey.FluidKeyBuilderFluidKey.FluidKeyBuilder. setNetherViscosity(FluidAmount to)Sets theFluidKey.netherViscosityproperty to the givenFluidAmount, or null to use the default value.FluidKey.FluidKeyBuilderFluidKey.FluidKeyBuilder. setRawFluid(net.minecraft.fluid.Fluid rawFluid)FluidKey.FluidKeyBuilderFluidKey.FluidKeyBuilder. setRegistryEntry(FluidRegistryEntry<?> registryEntry)FluidKey.FluidKeyBuilderFluidKey.FluidKeyBuilder. setRenderColor(int renderColor)FluidKey.FluidKeyBuilderFluidKey.FluidKeyBuilder. setSprites(net.minecraft.util.Identifier stillSprite, net.minecraft.util.Identifier flowingSprite)FluidKey.FluidKeyBuilderFluidKey.FluidKeyBuilder. setTemperature(FluidTemperature.ContinuousFluidTemperature temperature)Sets theFluidKey.thermalCapacityproperty to the givenFluidAmount, or null to allowFluidPropertys to provide the fluid for this fluid.FluidKey.FluidKeyBuilderFluidKey.FluidKeyBuilder. setTemperature(FluidTemperature.DiscreteFluidTemperature temperature)Sets theFluidKey.thermalCapacityproperty to the givenFluidAmount, or null to allowFluidPropertys to provide the fluid for this fluid.FluidKey.FluidKeyBuilderFluidKey.FluidKeyBuilder. setThermalCapacity(FluidAmount to)Sets theFluidKey.thermalCapacityproperty to the givenFluidAmount, or null to use the default value.FluidKey.FluidKeyBuilderFluidKey.FluidKeyBuilder. setUnit(FluidUnit unit)FluidKey.FluidKeyBuilderFluidKey.FluidKeyBuilder. setViscosity(FluidAmount to)Sets theFluidKey.viscosityproperty 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.ColouredFluidKeyBuilderColouredFluidKey.ColouredFluidKeyBuilder. copyFrom(FluidKey.FluidKeyBuilder from)FluidKey.FluidKeyBuilderFluidKey.FluidKeyBuilder. copyFrom(FluidKey.FluidKeyBuilder from)voidFluidKeyCustomiser. customiseKey(FluidKey.FluidKeyBuilder builder)Customises theSimpleFluidKeythat 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.ColouredFluidKeyBuilderinstead and pass that toBiomeSourcedFluidKey(ColouredFluidKeyBuilder).FluidKey(FluidKey.FluidKeyBuilder builder)SimpleFluidKey(FluidKey.FluidKeyBuilder builder)WeightedFluidKey(FluidKey.FluidKeyBuilder builder, java.lang.Class<T> valueClass, T defaultValue)