Uses of Class
alexiil.mc.lib.attributes.fluid.volume.FluidKey
| Package | Description |
|---|---|
| alexiil.mc.lib.attributes.fluid |
The base package for
fluid management. |
| alexiil.mc.lib.attributes.fluid.filter | |
| alexiil.mc.lib.attributes.fluid.impl | |
| alexiil.mc.lib.attributes.fluid.item | |
| alexiil.mc.lib.attributes.fluid.mixin.api | |
| alexiil.mc.lib.attributes.fluid.volume |
-
Uses of FluidKey in alexiil.mc.lib.attributes.fluid
Methods in alexiil.mc.lib.attributes.fluid that return FluidKey Modifier and Type Method Description static 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 FluidKey Modifier and Type Method Description java.util.Set<FluidKey>GroupedFluidInvView. getStoredFluids()Methods in alexiil.mc.lib.attributes.fluid with parameters of type FluidKey Modifier and Type Method Description default FluidVolumeFluidExtractable. extract(FluidKey filter, int maxAmount)Deprecated.Replaced byFluidExtractable.extract(FluidKey, FluidAmount)default FluidVolumeFluidExtractable. extract(FluidKey filter, FluidAmount maxAmount)default intGroupedFluidInvView. getAmount(FluidKey fluid)Deprecated.Replaced byGroupedFluidInvView.getAmount_F(FluidKey)default FluidAmountGroupedFluidInvView. getAmount_F(FluidKey fluid)default intGroupedFluidInvView. getCapacity(FluidKey fluid)Deprecated.Replaced byGroupedFluidInvView.getCapacity_F(FluidKey)default FluidAmountGroupedFluidInvView. getCapacity_F(FluidKey fluid)static java.util.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 LimitedGroupedFluidInv.FluidLimitRuleLimitedGroupedFluidInv. getRule(FluidKey key)default intGroupedFluidInvView. getSpace(FluidKey fluid)Deprecated.Replaced byGroupedFluidInvView.getSpace_F(FluidKey)default FluidAmountGroupedFluidInvView. getSpace_F(FluidKey fluid)default GroupedFluidInvView.FluidInvStatisticGroupedFluidInvView. 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.booleanSingleFluidTankView. isValid(FluidKey fluid)voidFluidInvAmountChangeListener_F. onChange(GroupedFluidInvView inv, FluidKey fluid, FluidAmount previous, FluidAmount current)voidFluidInvAmountChangeListener. onChange(GroupedFluidInvView inv, FluidKey fluid, int previous, int current)Deprecated.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.filter
Fields in alexiil.mc.lib.attributes.fluid.filter declared as FluidKey Modifier and Type Field Description FluidKeyExactFluidFilter. fluidMethods in alexiil.mc.lib.attributes.fluid.filter that return types with arguments of type FluidKey Modifier and Type Method Description default java.util.function.Predicate<FluidKey>FluidFilter. asPredicate()static java.util.Set<FluidKey>FluidFilterUtil. decomposeFilter(FluidFilter filter)Attempts to decompose the given filter down into it's componentFluidKey's, if it implementsReadableFluidFilter.static java.util.Set<FluidKey>FluidFilterUtil. findIntersection(FluidFilter filter, java.util.Set<FluidKey> set)Finds the set ofFluidKeys which are both in the set and match the given filter.static java.util.Set<FluidKey>FluidFilterUtil. findIntersection(FluidFilter filter, java.util.Set<FluidKey> set, boolean resolve)Finds the set ofFluidKeys which are both in the set and match the given filter.java.util.Set<FluidKey>FluidSetFilter. getFluids()Methods in alexiil.mc.lib.attributes.fluid.filter with parameters of type FluidKey Modifier and Type Method Description booleanAggregateFluidFilter. matches(FluidKey fluid)booleanConstantFluidFilter. matches(FluidKey fluid)booleanExactFluidFilter. matches(FluidKey other)booleanFluidFilter. matches(FluidKey fluidKey)Checks to see if the given filter matches the given fluid key.booleanFluidInsertableFilter. matches(FluidKey fluidKey)booleanFluidSetFilter. matches(FluidKey fluidKey)booleanFluidTagFilter. matches(FluidKey fluidKey)booleanFluidTypeFilter.FluidFloatingEntryFilter. matches(FluidKey fluid)booleanFluidTypeFilter.RawFluidFilter. matches(FluidKey fluid)booleanFluidTypeFilter.RegisteredTypeFilter. matches(FluidKey fluid)booleanInvertedFluidFilter. matches(FluidKey fluidKey)booleanRawFluidTagFilter. matches(FluidKey fluidKey)default booleanResolvableFluidFilter. matches(FluidKey fluid)Checks to see if the given filter matches the given fluid key.static ReadableFluidFilterExactFluidFilter. of(FluidKey fluid)Method parameters in alexiil.mc.lib.attributes.fluid.filter with type arguments of type FluidKey Modifier and Type Method Description static java.util.Set<FluidKey>FluidFilterUtil. findIntersection(FluidFilter filter, java.util.Set<FluidKey> set)Finds the set ofFluidKeys which are both in the set and match the given filter.static java.util.Set<FluidKey>FluidFilterUtil. findIntersection(FluidFilter filter, java.util.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 FluidKey Constructor Description ExactFluidFilter(FluidKey fluid)Creates a newExactFluidFilter.Constructor parameters in alexiil.mc.lib.attributes.fluid.filter with type arguments of type FluidKey Constructor Description FluidSetFilter(java.util.Set<FluidKey> fluids) -
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 FluidKey Modifier and Type Method Description java.util.Set<FluidKey>CombinedGroupedFluidInvView. getStoredFluids()java.util.Set<FluidKey>DelegatingGroupedFluidInv. getStoredFluids()java.util.Set<FluidKey>EmptyGroupedFluidInv. getStoredFluids()java.util.Set<FluidKey>GroupedFluidInvViewFixedWrapper. getStoredFluids()Methods in alexiil.mc.lib.attributes.fluid.impl with parameters of type FluidKey Modifier and Type Method Description booleanAbstractPartialFixedFluidInvView. 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 Modifier and Type Method Description java.util.Set<FluidKey>ItemBasedSingleFluidInv. getStoredFluids() -
Uses of FluidKey in alexiil.mc.lib.attributes.fluid.mixin.api
Methods in alexiil.mc.lib.attributes.fluid.mixin.api that return FluidKey Modifier and Type Method Description FluidKeyIBucketItem. libblockattributes__getFluid(net.minecraft.item.ItemStack stack)Methods in alexiil.mc.lib.attributes.fluid.mixin.api with parameters of type FluidKey Modifier and Type Method Description net.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.volume Modifier and Type Class Description classBiomeSourcedFluidKeyAColouredFluidKeywhich gets it's colour from aBiomes water colour.classColouredFluidKeyclassNormalFluidKeyDeprecated.Because anyFluidKeycan map to a singleFluid, andSimpleFluidKeyhas a much better name than this.classPotionFluidKeyclassSimpleFluidKeySimple implementation of aFluidKeythat doesn't do anything special.classWeightedFluidKey<T>Fields in alexiil.mc.lib.attributes.fluid.volume declared as FluidKey Modifier and Type Field Description static FluidKeyFluidKeys. EMPTYFluidKeyFluidVolume. fluidKeystatic FluidKeyFluidKeys. LAVAFields in alexiil.mc.lib.attributes.fluid.volume with type parameters of type FluidKey Modifier and Type Field Description static com.google.gson.JsonDeserializer<FluidKey>FluidKey. DESERIALIZERMethods in alexiil.mc.lib.attributes.fluid.volume that return FluidKey Modifier and Type Method Description static 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.CompoundTag tag)static FluidKeyFluidKeys. get(FluidEntry entry)static FluidKeyFluidKeys. get(net.minecraft.fluid.Fluid fluid)static FluidKeyFluidKeys. get(net.minecraft.potion.Potion potion)FluidKeyFluidVolume. getFluidKey()Methods in alexiil.mc.lib.attributes.fluid.volume with parameters of type FluidKey Modifier and Type Method Description default voidFluidTemperature. addTemperatureToTooltip(FluidKey fluid, FluidTooltipContext context, java.util.List<net.minecraft.text.Text> tooltip)voidFluidProperty. addTooltipExtras(FluidKey fluid, FluidTooltipContext context, java.util.List<net.minecraft.text.Text> tooltip)Adds tooltip extras for this fluid property when getting the tooltip for just theFluidKey.static FluidVolumeFluidVolume. create(FluidKey fluid, int amount)Deprecated.doubleFluidTemperature.DiscreteFluidTemperature. getTemperature(FluidKey fluidKey)static voidFluidKeys. put(FluidEntry.FluidFloatingEntry entry, FluidKey fluidKey)static voidFluidKeys. put(FluidRegistryEntry<?> entry, FluidKey fluidKey)static voidFluidKeys. put(net.minecraft.fluid.Fluid fluid, FluidKey fluidKey)static voidFluidKeys. put(net.minecraft.potion.Potion potion, FluidKey fluidKey)Constructors in alexiil.mc.lib.attributes.fluid.volume with parameters of type FluidKey Constructor Description FluidVolume(FluidKey key, int amount)Deprecated.FluidVolume(FluidKey key, FluidAmount amount)FluidVolume(FluidKey key, com.google.gson.JsonObject json)FluidVolume(FluidKey key, net.minecraft.nbt.CompoundTag tag)