Uses of Class
alexiil.mc.lib.attributes.fluid.volume.FluidKey.FluidKeyBuilder
Packages that use FluidKey.FluidKeyBuilder
-
Uses of FluidKey.FluidKeyBuilder in alexiil.mc.lib.attributes.fluid.volume
Subclasses of FluidKey.FluidKeyBuilder in alexiil.mc.lib.attributes.fluid.volumeModifier and TypeClassDescriptionstatic classstatic classDeprecated, for removal: This API element is subject to removal in a future version.Methods in alexiil.mc.lib.attributes.fluid.volume that return FluidKey.FluidKeyBuilderModifier and TypeMethodDescriptionAdds the given unit to the set of units used.FluidKey.FluidKeyBuilder.copyFrom(FluidKey.FluidKeyBuilder from) FluidKey.FluidKeyBuilder.setCohesion(FluidAmount to) Sets theFluidKey.cohesionproperty to the givenFluidAmount, or null to use the default value.FluidKey.FluidKeyBuilder.setDensity(FluidAmount to) Sets theFluidKey.densityproperty to the givenFluidAmount, or null to use the default value.FluidKey.FluidKeyBuilder.setGas()Sets theFluidKey.gaseousproperty to true.FluidKey.FluidKeyBuilder.setIdEntry(net.minecraft.util.Identifier id) FluidKey.FluidKeyBuilder.setLiquid()Sets theFluidKey.gaseousproperty to false.FluidKey.FluidKeyBuilder.setLuminosity(int luminance) Sets theFluidKey.luminosityproperty.FluidKey.FluidKeyBuilder.setName(net.minecraft.text.Text name) FluidKey.FluidKeyBuilder.setNetherCohesion(FluidAmount to) Sets theFluidKey.netherCohesionproperty to the givenFluidAmount, or null to use the default value.FluidKey.FluidKeyBuilder.setNetherViscosity(FluidAmount to) Sets theFluidKey.netherViscosityproperty 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.thermalCapacityproperty to the givenFluidAmount, or null to allowFluidPropertys to provide the fluid for this fluid.FluidKey.FluidKeyBuilder.setTemperature(FluidTemperature.DiscreteFluidTemperature temperature) Sets theFluidKey.thermalCapacityproperty to the givenFluidAmount, or null to allowFluidPropertys to provide the fluid for this fluid.FluidKey.FluidKeyBuilder.setThermalCapacity(FluidAmount to) Sets theFluidKey.thermalCapacityproperty to the givenFluidAmount, or null to use the default value.FluidKey.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.FluidKeyBuilderModifier and TypeMethodDescriptionColouredFluidKey.ColouredFluidKeyBuilder.copyFrom(FluidKey.FluidKeyBuilder from) FluidKey.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.FluidKeyBuilderModifierConstructorDescriptionDeprecated, 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.ColouredFluidKeyBuilderinstead and pass that toBiomeSourcedFluidKey(ColouredFluidKeyBuilder).