Uses of Class
alexiil.mc.lib.attributes.fluid.volume.FluidKey
Packages that use FluidKey
Package
Description
The base package for
fluid management.-
Uses of FluidKey in alexiil.mc.lib.attributes.fluid
Methods in alexiil.mc.lib.attributes.fluid that return FluidKeyModifier and TypeMethodDescriptionstatic FluidKeyFluidItemUtil.getContainedFluid(net.minecraft.item.ItemStack stack) Retrieves the first fluid contained by the givenItemStack.Methods in alexiil.mc.lib.attributes.fluid that return types with arguments of type FluidKeyMethods in alexiil.mc.lib.attributes.fluid with parameters of type FluidKeyModifier and TypeMethodDescriptiondefault FluidVolumeDeprecated, for removal: This API element is subject to removal in a future version.default FluidVolumeFluidExtractable.extract(FluidKey filter, FluidAmount maxAmount) default intDeprecated, for removal: This API element is subject to removal in a future version.Replaced byGroupedFluidInvView.getAmount_F(FluidKey)default FluidAmountGroupedFluidInvView.getAmount_F(FluidKey fluid) default intGroupedFluidInvView.getCapacity(FluidKey fluid) Deprecated, for removal: This API element is subject to removal in a future version.Replaced byGroupedFluidInvView.getCapacity_F(FluidKey)default FluidAmountGroupedFluidInvView.getCapacity_F(FluidKey fluid) static Set<net.minecraft.item.Item>FluidContainerRegistry.getFullContainersFor(FluidKey fluid) Retrieves everyItemthat has been registered withFluidContainerRegistry.mapContainer(Item, Item, FluidVolume)as a direct container that is full of the specified fluid.default intDeprecated, for removal: This API element is subject to removal in a future version.Replaced byGroupedFluidInvView.getSpace_F(FluidKey)default FluidAmountGroupedFluidInvView.getSpace_F(FluidKey fluid) GroupedFluidInvView.getStatistics(FluidKey filter) booleanFixedFluidInv.isFluidValidForTank(int tank, FluidKey fluid) Checks to see if the given fluid would be valid for this tank, ignoring current contents.booleanFixedFluidInvView.isFluidValidForTank(int tank, FluidKey fluid) Checks to see if the given fluid would be valid for this tank, ignoring current contents.final booleanvoidFluidInvAmountChangeListener_F.onChange(GroupedFluidInvView inv, FluidKey fluid, FluidAmount previous, FluidAmount current) voidFluidInvAmountChangeListener.onChange(GroupedFluidInvView inv, FluidKey fluid, int previous, int current) Deprecated, for removal: This API element is subject to removal in a future version.static voidFluidContainerRegistry.registerFillHandler(net.minecraft.item.Item empty, FluidKey fluid, FluidAmount minimum, FluidAmount capacity, FluidContainerRegistry.FluidFillFunction fn) Registers a custom fill handler for the given empty item, which always creates filledItemStacks with differentItems to the original.static voidFluidContainerRegistry.registerFillHandler(net.minecraft.item.Item empty, FluidKey fluid, FluidContainerRegistry.FluidFillHandler handler) Registers a custom fill handler for the given empty item, which always creates filledItemStacks with differentItems to the original. -
Uses of FluidKey in alexiil.mc.lib.attributes.fluid.compat.mod.vanilla
Methods in alexiil.mc.lib.attributes.fluid.compat.mod.vanilla with parameters of type FluidKeyModifier and TypeMethodDescriptionstatic voidVanillaFluidCompat.registerCauldronAttributes(net.minecraft.block.Block cauldron, FluidKey fluid) -
Uses of FluidKey in alexiil.mc.lib.attributes.fluid.filter
Fields in alexiil.mc.lib.attributes.fluid.filter declared as FluidKeyMethods in alexiil.mc.lib.attributes.fluid.filter that return types with arguments of type FluidKeyModifier and TypeMethodDescriptionFluidFilter.asPredicate()FluidFilterUtil.decomposeFilter(FluidFilter filter) Attempts to decompose the given filter down into it's componentFluidKey's, if it implementsReadableFluidFilter.FluidFilterUtil.findIntersection(FluidFilter filter, Set<FluidKey> set) Finds the set ofFluidKeys which are both in the set and match the given filter.FluidFilterUtil.findIntersection(FluidFilter filter, Set<FluidKey> set, boolean resolve) Finds the set ofFluidKeys which are both in the set and match the given filter.FluidSetFilter.getFluids()Methods in alexiil.mc.lib.attributes.fluid.filter with parameters of type FluidKeyModifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanChecks to see if the given filter matches the given fluid key.booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleandefault booleanChecks to see if the given filter matches the given fluid key.static ReadableFluidFilterMethod parameters in alexiil.mc.lib.attributes.fluid.filter with type arguments of type FluidKeyModifier and TypeMethodDescriptionFluidFilterUtil.findIntersection(FluidFilter filter, Set<FluidKey> set) Finds the set ofFluidKeys which are both in the set and match the given filter.FluidFilterUtil.findIntersection(FluidFilter filter, Set<FluidKey> set, boolean resolve) Finds the set ofFluidKeys which are both in the set and match the given filter.Constructors in alexiil.mc.lib.attributes.fluid.filter with parameters of type FluidKeyConstructor parameters in alexiil.mc.lib.attributes.fluid.filter with type arguments of type FluidKey -
Uses of FluidKey in alexiil.mc.lib.attributes.fluid.impl
Methods in alexiil.mc.lib.attributes.fluid.impl that return types with arguments of type FluidKeyModifier and TypeMethodDescriptionCombinedGroupedFluidInvView.getStoredFluids()DelegatingGroupedFluidInv.getStoredFluids()EmptyGroupedFluidInv.getStoredFluids()GroupedFluidInvViewFixedWrapper.getStoredFluids()Methods in alexiil.mc.lib.attributes.fluid.impl with parameters of type FluidKeyModifier and TypeMethodDescriptionbooleanAbstractPartialFixedFluidInvView.isFluidValidForTank(int tank, FluidKey fluid) booleanCombinedFixedFluidInvView.isFluidValidForTank(int tank, FluidKey fluid) booleanDelegatingFixedFluidInv.isFluidValidForTank(int tank, FluidKey fluid) booleanEmptyFixedFluidInv.isFluidValidForTank(int tank, FluidKey item) booleanSimpleFixedFluidInv.isFluidValidForTank(int tank, FluidKey fluid) booleanSimpleLimitedFixedFluidInv.isFluidValidForTank(int tank, FluidKey fluid) -
Uses of FluidKey in alexiil.mc.lib.attributes.fluid.item
Methods in alexiil.mc.lib.attributes.fluid.item that return types with arguments of type FluidKey -
Uses of FluidKey in alexiil.mc.lib.attributes.fluid.mixin.api
Methods in alexiil.mc.lib.attributes.fluid.mixin.api that return FluidKeyModifier and TypeMethodDescriptionIBucketItem.libblockattributes__getFluid(net.minecraft.item.ItemStack stack) Methods in alexiil.mc.lib.attributes.fluid.mixin.api with parameters of type FluidKeyModifier and TypeMethodDescriptionnet.minecraft.item.ItemStackIBucketItem.libblockattributes__withFluid(FluidKey fluid) -
Uses of FluidKey in alexiil.mc.lib.attributes.fluid.volume
Subclasses of FluidKey in alexiil.mc.lib.attributes.fluid.volumeModifier and TypeClassDescriptionclassAColouredFluidKeywhich gets it's colour from aBiomes water colour.classclassDeprecated, for removal: This API element is subject to removal in a future version.Because anyFluidKeycan map to a singleFluid, andSimpleFluidKeyhas a much better name than this.final classclassSimple implementation of aFluidKeythat doesn't do anything special.classFields in alexiil.mc.lib.attributes.fluid.volume declared as FluidKeyModifier and TypeFieldDescriptionstatic final FluidKeyFluidKeys.EMPTYfinal FluidKeyFluidVolume.fluidKeystatic final FluidKeyFluidKeys.LAVAFields in alexiil.mc.lib.attributes.fluid.volume with type parameters of type FluidKeyModifier and TypeFieldDescriptionstatic final com.google.gson.JsonDeserializer<FluidKey>FluidKey.DESERIALIZERMethods in alexiil.mc.lib.attributes.fluid.volume that return FluidKeyModifier and TypeMethodDescriptionstatic FluidKeyFluidKey.fromJson(com.google.gson.JsonObject json) static FluidKeyFluidKey.fromMcBuffer(net.minecraft.network.PacketByteBuf buffer) Reads aFluidKeyfrom a vanilla minecraftPacketByteBuf.static FluidKeyFluidKey.fromTag(net.minecraft.nbt.NbtCompound tag) static FluidKeyFluidKeys.get(FluidEntry entry) static FluidKeyFluidKeys.get(net.minecraft.fluid.Fluid fluid) static FluidKeyFluidKeys.get(net.minecraft.potion.Potion potion) FluidVolume.getFluidKey()Methods in alexiil.mc.lib.attributes.fluid.volume with parameters of type FluidKeyModifier and TypeMethodDescriptiondefault voidFluidTemperature.addTemperatureToTooltip(FluidKey fluid, FluidTooltipContext context, List<net.minecraft.text.Text> tooltip) voidFluidProperty.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.static FluidVolumeDeprecated, for removal: This API element is subject to removal in a future version.doubleFluidTemperature.DiscreteFluidTemperature.getTemperature(FluidKey fluidKey) static voidFluidKeys.put(FluidEntry.FluidFloatingEntry entry, FluidKey fluidKey) static voidFluidKeys.put(FluidRegistryEntry<?> entry, FluidKey fluidKey) static voidstatic voidConstructors in alexiil.mc.lib.attributes.fluid.volume with parameters of type FluidKeyModifierConstructorDescriptionFluidVolume(FluidKey key, int amount) Deprecated, for removal: This API element is subject to removal in a future version.FluidVolume(FluidKey key, FluidAmount amount) FluidVolume(FluidKey key, com.google.gson.JsonObject json) FluidVolume(FluidKey key, net.minecraft.nbt.NbtCompound tag)
FluidExtractable.extract(FluidKey, FluidAmount)