Class FluidRegistries

java.lang.Object
net.minestom.server.registry.FluidRegistries

public final class FluidRegistries extends Object
AUTOGENERATED
  • Field Details

  • Constructor Details

    • FluidRegistries

      public FluidRegistries()
  • Method Details

    • getFluid

      @NotNull public static @NotNull Fluid getFluid(String id)
      Returns the corresponding Fluid matching the given id. Returns 'EMPTY' if none match.
    • getFluid

      @NotNull public static @NotNull Fluid getFluid(NamespaceID id)
      Returns the corresponding Fluid matching the given id. Returns 'EMPTY' if none match.
    • getFluid

      @NotNull public static @NotNull Fluid getFluid(net.kyori.adventure.key.Key key)
      Returns the corresponding Fluid matching the given key. Returns 'EMPTY' if none match.