Package net.minestom.server.entity
Interface VillagerProfession
- All Superinterfaces:
net.kyori.adventure.key.Keyed
,ProtocolObject
,StaticProtocolObject
- All Known Implementing Classes:
VillagerProfessionImpl
public sealed interface VillagerProfession
extends StaticProtocolObject
permits 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 BinaryTagSerializer
<VillagerProfession> static final NetworkBuffer.Type
<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) default int
id()
default @NotNull NamespaceID
registry()
Methods inherited from interface net.minestom.server.registry.StaticProtocolObject
key, name
-
Field Details
-
NETWORK_TYPE
-
NBT_TYPE
-
NONE
-
ARMORER
-
BUTCHER
-
CARTOGRAPHER
-
CLERIC
-
FARMER
-
FISHERMAN
-
FLETCHER
-
LEATHERWORKER
-
LIBRARIAN
-
MASON
-
NITWIT
-
SHEPHERD
-
TOOLSMITH
-
WEAPONSMITH
-
-
Method Details
-
registry
- Specified by:
registry
in interfaceProtocolObject
-
namespace
- Specified by:
namespace
in interfaceStaticProtocolObject
-
id
default int id()- Specified by:
id
in interfaceStaticProtocolObject
-
fromId
-