VillagerProfession
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Members
Getter
Return Type:
string
Getter
Return Type:
string
name() as string
Return Type:
string
Getter
Return Type:
ResourceLocation
registryName() as ResourceLocation
Return Type:
ResourceLocation
Getter
Return Type:
Set<ItemDefinition>
requestedItems() as Set<Item>
Return Type:
Set<ItemDefinition>
Getter
Return Type:
SoundEvent
workSound() as SoundEvent
Return Type:
SoundEvent