Interface Fluid

All Superinterfaces:
net.kyori.adventure.key.Keyed, ProtocolObject, StaticProtocolObject
All Known Implementing Classes:
FluidImpl

public sealed interface Fluid extends StaticProtocolObject permits FluidImpl
  • Field Details

    • EMPTY

      static final Fluid EMPTY
    • FLOWING_WATER

      static final Fluid FLOWING_WATER
    • WATER

      static final Fluid WATER
    • FLOWING_LAVA

      static final Fluid FLOWING_LAVA
    • LAVA

      static final Fluid LAVA
  • Method Details

    • registry

      @Contract(pure=true) @Nullable Registry.FluidEntry registry()
      Returns the entity registry.
      Returns:
      the entity registry or null if it was created with a builder
    • namespace

      @NotNull @NotNull NamespaceID namespace()
      Specified by:
      namespace in interface ProtocolObject
    • values

      @NotNull static @NotNull Collection<@NotNull Fluid> values()
    • fromNamespaceId

      @Nullable static @Nullable Fluid fromNamespaceId(@NotNull @NotNull String namespaceID)
    • fromNamespaceId

      @Nullable static @Nullable Fluid fromNamespaceId(@NotNull @NotNull NamespaceID namespaceID)