Class ConventionalFluidTags

java.lang.Object
net.fabricmc.fabric.api.tag.convention.v2.ConventionalFluidTags

public final class ConventionalFluidTags extends Object
See FluidTags for vanilla tags. Note that addition to some vanilla tags implies having certain functionality.

Note, fluid tags should not be plural to match the vanilla standard. This is the only tag category exempted from many-different-types plural rule.

(See FluidConstants for the correct droplet rates for containers)

  • Field Details

    • LAVA

      public static final TagKey<Fluid> LAVA
      Holds all fluids related to lava without the behaviors attached to the vanilla lava fluid tag.
    • WATER

      public static final TagKey<Fluid> WATER
      Holds all fluids related to water without the behaviors attached to the vanilla water fluid tag.
    • MILK

      public static final TagKey<Fluid> MILK
      Holds all fluids related to milk.
    • HONEY

      public static final TagKey<Fluid> HONEY
      Holds all fluids related to honey.
    • GASEOUS

      public static final TagKey<Fluid> GASEOUS
      Holds all fluids that are gaseous at room temperature.
    • EXPERIENCE

      public static final TagKey<Fluid> EXPERIENCE
      Holds all fluids related to experience.

      (Standard unit for experience is 810 droplet per 1 experience. However, extraction from Bottle o' Enchanting should yield 27000 droplets while smashing yields less)

    • POTION

      public static final TagKey<Fluid> POTION
      Holds all fluids related to potions. The effects of the potion fluid should be read from Data Components. The effects and color of the potion fluid should be read from DataComponentTypes.POTION_CONTENTS component that people should be attaching to the FluidVariant of this fluid.
    • SUSPICIOUS_STEW

      public static final TagKey<Fluid> SUSPICIOUS_STEW
      Holds all fluids related to Suspicious Stew. The effects of the suspicious stew fluid should be read from DataComponentTypes.SUSPICIOUS_STEW_EFFECTS component that people should be attaching to the FluidVariant of this fluid.
    • MUSHROOM_STEW

      public static final TagKey<Fluid> MUSHROOM_STEW
      Holds all fluids related to Mushroom Stew.
    • RABBIT_STEW

      public static final TagKey<Fluid> RABBIT_STEW
      Holds all fluids related to Rabbit Stew.
    • BEETROOT_SOUP

      public static final TagKey<Fluid> BEETROOT_SOUP
      Holds all fluids related to Beetroot Soup.
    • HIDDEN_FROM_RECIPE_VIEWERS

      public static final TagKey<Fluid> HIDDEN_FROM_RECIPE_VIEWERS
      Tag that holds all fluids that recipe viewers should not show to users.