Interface VillagerProfession
- All Superinterfaces:
net.kyori.adventure.key.Keyed
,ProtocolObject
,StaticProtocolObject
- All Known Implementing Classes:
VillagerProfessionImpl
-
Field Summary
Modifier and TypeFieldDescriptionstatic final VillagerProfession
static final VillagerProfession
static final VillagerProfession
static final VillagerProfession
static final VillagerProfession
static final VillagerProfession
static final VillagerProfession
static final VillagerProfession
static final VillagerProfession
static final VillagerProfession
static final VillagerProfession
static final VillagerProfession
static final VillagerProfession
static final VillagerProfession
static final VillagerProfession
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable VillagerProfession
fromId
(int id) static @Nullable VillagerProfession
fromNamespaceId
(@NotNull String namespaceID) static @Nullable VillagerProfession
fromNamespaceId
(@NotNull NamespaceID namespaceID) default @NotNull net.kyori.adventure.key.Key
key()
default @NotNull NamespaceID
registry()
static @NotNull Collection
<@NotNull VillagerProfession> values()
Methods inherited from interface net.minestom.server.registry.ProtocolObject
name
Methods 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:
key
in interfacenet.kyori.adventure.key.Keyed
- Specified by:
key
in interfaceProtocolObject
-
registry
-
namespace
- Specified by:
namespace
in interfaceProtocolObject
-