Package net.minestom.server.registry
Class RegistryData.VillagerProfessionEntry
java.lang.Object
net.minestom.server.registry.RegistryData.VillagerProfessionEntry
- All Implemented Interfaces:
RegistryData.Entry
- Enclosing class:
RegistryData
public static final class RegistryData.VillagerProfessionEntry
extends Object
implements RegistryData.Entry
-
Constructor Summary
ConstructorsConstructorDescriptionVillagerProfessionEntry(String namespace, RegistryData.Properties main, RegistryData.Properties custom) -
Method Summary
Modifier and TypeMethodDescriptioncustom()intid()@NotNull net.kyori.adventure.key.Keykey()@Nullable SoundEvent
-
Constructor Details
-
VillagerProfessionEntry
public VillagerProfessionEntry(String namespace, RegistryData.Properties main, RegistryData.Properties custom)
-
-
Method Details
-
key
@NotNull public @NotNull net.kyori.adventure.key.Key key() -
id
public int id() -
workSound
-
custom
- Specified by:
customin interfaceRegistryData.Entry
-