Package net.minestom.server.fluid
Interface Fluid
- All Superinterfaces:
net.kyori.adventure.key.Keyed
,ProtocolObject
,StaticProtocolObject
- All Known Implementing Classes:
FluidImpl
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable Fluid
fromNamespaceId
(@NotNull String namespaceID) static @Nullable Fluid
fromNamespaceId
(@NotNull NamespaceID namespaceID) @NotNull NamespaceID
registry()
Returns the entity registry.static @NotNull Collection
<@NotNull Fluid> values()
Methods inherited from interface net.minestom.server.registry.ProtocolObject
key, name
Methods inherited from interface net.minestom.server.registry.StaticProtocolObject
id
-
Field Details
-
EMPTY
-
FLOWING_WATER
-
WATER
-
FLOWING_LAVA
-
LAVA
-
-
Method Details
-
registry
Returns the entity registry.- Returns:
- the entity registry or null if it was created with a builder
-
namespace
- Specified by:
namespace
in interfaceProtocolObject
-
values
-
fromNamespaceId
-
fromNamespaceId
-