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.
import crafttweaker . api.villager . VillagerProfession;
// VillagerProfession.commandString as string
myVillagerProfession . commandString
Return Type:
string
// VillagerProfession.name as string
myVillagerProfession . name
Return Type:
string
// VillagerProfession.name() as string;
myVillagerProfession . name();
Return Type:
string
// VillagerProfession.registryName as ResourceLocation
myVillagerProfession . registryName
Return Type:
ResourceLocation
// VillagerProfession.registryName() as ResourceLocation;
myVillagerProfession . registryName();
Return Type:
ResourceLocation
// VillagerProfession.requestedItems as Set<Item>
myVillagerProfession . requestedItems
Return Type:
Set <ItemDefinition >
// VillagerProfession.requestedItems() as Set<Item>;
myVillagerProfession . requestedItems();
Return Type:
Set <ItemDefinition >
// VillagerProfession.secondaryPoi as Set<Block>
myVillagerProfession . secondaryPoi
Return Type:
Set <Block >
// VillagerProfession.secondaryPoi() as Set<Block>;
myVillagerProfession . secondaryPoi();
Return Type:
Set <Block >
// VillagerProfession.workSound as SoundEvent
myVillagerProfession . workSound
Return Type:
SoundEvent
// VillagerProfession.workSound() as SoundEvent;
myVillagerProfession . workSound();
Return Type:
SoundEvent