Interface VillagerProfession
- All Superinterfaces:
net.kyori.adventure.key.Keyed,ProtocolObject,StaticProtocolObject
- All Known Implementing Classes:
VillagerProfessionImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final VillagerProfessionstatic final VillagerProfessionstatic final VillagerProfessionstatic final VillagerProfessionstatic final VillagerProfessionstatic final VillagerProfessionstatic final VillagerProfessionstatic final VillagerProfessionstatic final VillagerProfessionstatic final VillagerProfessionstatic final VillagerProfessionstatic final VillagerProfessionstatic final VillagerProfessionstatic final VillagerProfessionstatic final VillagerProfession -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable VillagerProfessionfromId(int id) static @Nullable VillagerProfessionfromNamespaceId(@NotNull String namespaceID) static @Nullable VillagerProfessionfromNamespaceId(@NotNull NamespaceID namespaceID) default @NotNull net.kyori.adventure.key.Keykey()default @NotNull NamespaceIDregistry()static @NotNull Collection<@NotNull VillagerProfession> values()Methods inherited from interface net.minestom.server.registry.ProtocolObject
nameMethods inherited from interface net.minestom.server.registry.StaticProtocolObject
id
-
Field Details
-
NONE
-
ARMORER
-
BUTCHER
-
CARTOGRAPHER
-
CLERIC
-
FARMER
-
FISHERMAN
-
FLETCHER
-
LEATHERWORKER
-
LIBRARIAN
-
MASON
-
NITWIT
-
SHEPHERD
-
TOOLSMITH
-
WEAPONSMITH
-
-
Method Details
-
values
-
fromNamespaceId
-
fromNamespaceId
@Nullable static @Nullable VillagerProfession fromNamespaceId(@NotNull @NotNull NamespaceID namespaceID) -
fromId
-
key
@NotNull default @NotNull net.kyori.adventure.key.Key key()- Specified by:
keyin interfacenet.kyori.adventure.key.Keyed- Specified by:
keyin interfaceProtocolObject
-
registry
-
namespace
- Specified by:
namespacein interfaceProtocolObject
-