Class Registries

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

public final class Registries extends Object
AUTOGENERATED
  • Field Details

  • Constructor Details

    • Registries

      public Registries()
  • 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.