Uses of Class
alexiil.mc.lib.attributes.fluid.volume.FluidTooltipContext
-
Uses of FluidTooltipContext in alexiil.mc.lib.attributes.fluid.volume
Modifier and TypeFieldDescriptionstatic final FluidTooltipContext
FluidTooltipContext.USE_CONFIG
The default context, that lets the user decide how they want to see tooltips.Modifier and TypeMethodDescriptionFluidTooltipContext.forceAdvanced
(boolean enable) FluidTooltipContext.forceDisableEmphasisColours
(boolean disable) FluidTooltipContext.forceDisableFluidColours
(boolean disable) FluidTooltipContext.forceJoinedName
(boolean enable) FluidTooltipContext.forceShortDesc
(boolean enable) FluidTooltipContext.forceSymbols
(boolean enable) FluidTooltipContext.forceTicks
(boolean enable) static FluidTooltipContext
FluidTooltipContext.fromMinecraft
(net.minecraft.client.item.TooltipContext ctx) FluidTooltipContext.usingConfigForEmphasisColours()
FluidTooltipContext.usingConfigForFluidColours()
FluidTooltipContext.usingConfigForJoinedName()
FluidTooltipContext.usingConfigForShortDesc()
FluidTooltipContext.usingConfigForSymbols()
FluidTooltipContext.usingConfigForTicks()
FluidTooltipContext.usingMcAdvanced()
Modifier and TypeMethodDescriptionfinal void
FluidKey.addFullTooltip
(List<net.minecraft.text.Text> tooltip, FluidTooltipContext context) final void
FluidVolume.addFullTooltip
(FluidAmount capacity, FluidTooltipContext context, List<net.minecraft.text.Text> tooltip) Adds the complete tooltip for thisFluidVolume
to the given tooltip.default void
FluidTemperature.addTemperatureToTooltip
(FluidKey fluid, FluidTooltipContext context, List<net.minecraft.text.Text> tooltip) default void
FluidTemperature.addTemperatureToTooltip
(FluidVolume fluid, FluidTooltipContext context, List<net.minecraft.text.Text> tooltip) void
ColouredFluidVolume.addTooltipExtras
(FluidTooltipContext context, List<net.minecraft.text.Text> tooltip) void
FluidKey.addTooltipExtras
(FluidTooltipContext context, List<net.minecraft.text.Text> tooltip) Add extra data to the tooltip.void
FluidProperty.addTooltipExtras
(FluidKey fluid, FluidTooltipContext context, List<net.minecraft.text.Text> tooltip) Adds tooltip extras for this fluid property when getting the tooltip for just theFluidKey
.void
FluidProperty.addTooltipExtras
(FluidVolume fluid, FluidTooltipContext context, List<net.minecraft.text.Text> tooltip) Adds tooltip extras for this fluid property when getting the tooltip for a fullFluidVolume
.void
FluidVolume.addTooltipExtras
(FluidTooltipContext context, List<net.minecraft.text.Text> tooltip) Adds any additional data that thisFluidVolume
has.void
PotionFluidKey.addTooltipExtras
(FluidTooltipContext context, List<net.minecraft.text.Text> tooltip) final void
FluidVolume.addTooltipNameAmount
(FluidAmount capacity, FluidTooltipContext context, List<net.minecraft.text.Text> tooltip) Adds the name and amount to the given tooltip.final void
FluidKey.addTooltipProperties
(FluidTooltipContext context, List<net.minecraft.text.Text> tooltip) final void
FluidVolume.addTooltipProperties
(FluidTooltipContext context, List<net.minecraft.text.Text> tooltip) final void
FluidKey.addTooltipTemperature
(FluidTooltipContext context, List<net.minecraft.text.Text> tooltip) final void
FluidVolume.addTooltipTemperature
(FluidTooltipContext context, List<net.minecraft.text.Text> tooltip) net.minecraft.text.Text
FluidUnit.getAmount
(FluidAmount amount, boolean forceSingular, net.minecraft.text.Text fluidName, FluidTooltipContext ctx) final net.minecraft.text.Text
FluidUnitBase.getAmount
(FluidAmount amount, boolean forceSingular, FluidTooltipContext ctx) abstract net.minecraft.text.Text
FluidUnitBase.getAmount
(FluidAmount amount, boolean forceSingular, net.minecraft.text.Text fluidName, FluidTooltipContext ctx) final net.minecraft.text.Text
FluidUnitBase.getAmount
(FluidAmount amount, FluidTooltipContext ctx) final net.minecraft.text.Text
FluidUnitBase.getAmount
(FluidAmount amount, net.minecraft.text.Text fluidName, FluidTooltipContext ctx) net.minecraft.text.Text
FluidUnitSet.getAmount
(FluidAmount amount, boolean forceLastSingular, net.minecraft.text.Text fluidName, FluidTooltipContext ctx) net.minecraft.text.Text
FluidUnit.getEmptyTank
(FluidAmount capacity, FluidTooltipContext ctx) abstract net.minecraft.text.Text
FluidUnitBase.getEmptyTank
(FluidAmount capacity, FluidTooltipContext ctx) net.minecraft.text.Text
FluidUnitSet.getEmptyTank
(FluidAmount capacity, FluidTooltipContext ctx) net.minecraft.text.Text
FluidUnit.getFlowRate
(FluidAmount amountPerTick, net.minecraft.text.Text fluidName, FluidTooltipContext ctx) final net.minecraft.text.Text
FluidUnitBase.getFlowRate
(FluidAmount amountPerTick, FluidTooltipContext ctx) abstract net.minecraft.text.Text
FluidUnitBase.getFlowRate
(FluidAmount amountPerTick, net.minecraft.text.Text fluidName, FluidTooltipContext ctx) net.minecraft.text.Text
FluidUnitSet.getFlowRate
(FluidAmount amountPerTick, net.minecraft.text.Text fluidName, FluidTooltipContext ctx) net.minecraft.text.Text
FluidUnit.getFullTank
(FluidAmount capacity, net.minecraft.text.Text fluidName, FluidTooltipContext ctx) final net.minecraft.text.Text
FluidUnitBase.getFullTank
(FluidAmount capacity, FluidTooltipContext ctx) abstract net.minecraft.text.Text
FluidUnitBase.getFullTank
(FluidAmount capacity, net.minecraft.text.Text fluidName, FluidTooltipContext ctx) net.minecraft.text.Text
FluidUnitSet.getFullTank
(FluidAmount capacity, net.minecraft.text.Text fluidName, FluidTooltipContext ctx) final List<net.minecraft.text.Text>
FluidKey.getFullTooltip
(FluidTooltipContext context) final List<net.minecraft.text.Text>
FluidVolume.getFullTooltip
(FluidAmount capacity, FluidTooltipContext context) Simple getter for retrieving the entire fluid tooltip, instead of adding it to an already-existing list.net.minecraft.text.Text
FluidUnit.getPartialTank
(FluidAmount amount, FluidAmount capacity, net.minecraft.text.Text fluidName, FluidTooltipContext ctx) final net.minecraft.text.Text
FluidUnitBase.getPartialTank
(FluidAmount amount, FluidAmount capacity, FluidTooltipContext ctx) abstract net.minecraft.text.Text
FluidUnitBase.getPartialTank
(FluidAmount amount, FluidAmount capacity, net.minecraft.text.Text fluidName, FluidTooltipContext ctx) net.minecraft.text.Text
FluidUnitSet.getPartialTank
(FluidAmount amount, FluidAmount capacity, net.minecraft.text.Text fluidName, FluidTooltipContext ctx) final net.minecraft.text.Text
FluidUnitBase.getTank
(FluidAmount amount, FluidAmount capacity, FluidTooltipContext ctx) final net.minecraft.text.Text
FluidUnitBase.getTank
(FluidAmount amount, FluidAmount capacity, net.minecraft.text.Text fluidName, FluidTooltipContext ctx) FluidUnit.localizeAmount
(FluidAmount amount, boolean forceSingular, net.minecraft.text.Text fluidName, FluidTooltipContext ctx) final String
FluidUnitBase.localizeAmount
(FluidAmount amount, boolean forceSingular, FluidTooltipContext ctx) abstract String
FluidUnitBase.localizeAmount
(FluidAmount amount, boolean forceSingular, net.minecraft.text.Text fluidName, FluidTooltipContext ctx) final String
FluidUnitBase.localizeAmount
(FluidAmount amount, FluidTooltipContext ctx) final String
FluidUnitBase.localizeAmount
(FluidAmount amount, net.minecraft.text.Text fluidName, FluidTooltipContext ctx) FluidUnitSet.localizeAmount
(FluidAmount amount, boolean forceLastSingular, net.minecraft.text.Text fluidName, FluidTooltipContext ctx) final String
FluidVolume.localizeAmount
(FluidTooltipContext ctx) FluidUnit.localizeEmptyTank
(FluidAmount capacity, FluidTooltipContext ctx) abstract String
FluidUnitBase.localizeEmptyTank
(FluidAmount capacity, FluidTooltipContext ctx) FluidUnitSet.localizeEmptyTank
(FluidAmount capacity, FluidTooltipContext ctx) FluidUnit.localizeFlowRate
(FluidAmount amountPerTick, net.minecraft.text.Text fluidName, FluidTooltipContext ctx) final String
FluidUnitBase.localizeFlowRate
(FluidAmount amountPerTick, FluidTooltipContext ctx) abstract String
FluidUnitBase.localizeFlowRate
(FluidAmount amountPerTick, net.minecraft.text.Text fluidName, FluidTooltipContext ctx) FluidUnitSet.localizeFlowRate
(FluidAmount amountPerTick, net.minecraft.text.Text fluidName, FluidTooltipContext ctx) FluidUnit.localizeFullTank
(FluidAmount capacity, net.minecraft.text.Text fluidName, FluidTooltipContext ctx) final String
FluidUnitBase.localizeFullTank
(FluidAmount capacity, FluidTooltipContext ctx) abstract String
FluidUnitBase.localizeFullTank
(FluidAmount capacity, net.minecraft.text.Text fluidName, FluidTooltipContext ctx) FluidUnitSet.localizeFullTank
(FluidAmount capacity, net.minecraft.text.Text fluidName, FluidTooltipContext ctx) final String
FluidVolume.localizeInTank
(FluidAmount capacity, FluidTooltipContext ctx) FluidUnit.localizePartialTank
(FluidAmount amount, FluidAmount capacity, net.minecraft.text.Text fluidName, FluidTooltipContext ctx) final String
FluidUnitBase.localizePartialTank
(FluidAmount amount, FluidAmount capacity, FluidTooltipContext ctx) abstract String
FluidUnitBase.localizePartialTank
(FluidAmount amount, FluidAmount capacity, net.minecraft.text.Text fluidName, FluidTooltipContext ctx) FluidUnitSet.localizePartialTank
(FluidAmount amount, FluidAmount capacity, net.minecraft.text.Text fluidName, FluidTooltipContext ctx) final String
FluidUnitBase.localizeTank
(FluidAmount amount, FluidAmount capacity, FluidTooltipContext ctx) final String
FluidUnitBase.localizeTank
(FluidAmount amount, FluidAmount capacity, net.minecraft.text.Text fluidName, FluidTooltipContext ctx)