Class FluidKeys

java.lang.Object
io.papermc.paper.registry.keys.FluidKeys

@GeneratedFrom("1.21.4") @NullMarked @Experimental public final class FluidKeys extends Object
Vanilla keys for RegistryKey.FLUID.
API Note:
The fields provided here are a direct representation of what is available from the vanilla game source. They may be changed (including removals) on any Minecraft version bump, so cross-version compatibility is not provided on the same level as it is on most of the other API.
  • Field Details

    • EMPTY

      public static final TypedKey<Fluid> EMPTY
      minecraft:empty
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • FLOWING_LAVA

      public static final TypedKey<Fluid> FLOWING_LAVA
      minecraft:flowing_lava
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • FLOWING_WATER

      public static final TypedKey<Fluid> FLOWING_WATER
      minecraft:flowing_water
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • LAVA

      public static final TypedKey<Fluid> LAVA
      minecraft:lava
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • WATER

      public static final TypedKey<Fluid> WATER
      minecraft:water
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions