Interface VillagerType
- All Superinterfaces:
net.kyori.adventure.key.Keyed
,ProtocolObject
,StaticProtocolObject
- All Known Implementing Classes:
VillagerTypeImpl
-
Field Summary
Modifier and TypeFieldDescriptionstatic final VillagerType
static final VillagerType
static final VillagerType
static final VillagerType
static final VillagerType
static final VillagerType
static final VillagerType
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable VillagerType
fromId
(int id) static @Nullable VillagerType
fromNamespaceId
(@NotNull String namespaceID) static @Nullable VillagerType
fromNamespaceId
(@NotNull NamespaceID namespaceID) default @NotNull net.kyori.adventure.key.Key
key()
default @NotNull NamespaceID
registry()
static @NotNull Collection
<@NotNull VillagerType> values()
Methods inherited from interface net.minestom.server.registry.ProtocolObject
name
Methods inherited from interface net.minestom.server.registry.StaticProtocolObject
id
-
Field Details
-
DESERT
-
JUNGLE
-
PLAINS
-
SAVANNA
-
SNOW
-
SWAMP
-
TAIGA
-
-
Method Details
-
values
-
fromNamespaceId
-
fromNamespaceId
-
fromId
-
key
@NotNull default @NotNull net.kyori.adventure.key.Key key()- Specified by:
key
in interfacenet.kyori.adventure.key.Keyed
- Specified by:
key
in interfaceProtocolObject
-
registry
-
namespace
- Specified by:
namespace
in interfaceProtocolObject
-