Record Class VillagerProfession

java.lang.Object
java.lang.Record
net.minecraft.world.entity.npc.VillagerProfession
Record Components:
requestedItems - Defines items villagers of this profession can pick up and use.
secondaryPoi - World blocks this profession interacts with.

public record VillagerProfession(Component name, Predicate<Holder<PoiType>> heldJobSite, Predicate<Holder<PoiType>> acquirableJobSite, com.google.common.collect.ImmutableSet<Item> requestedItems, com.google.common.collect.ImmutableSet<Block> secondaryPoi, @Nullable SoundEvent workSound) extends Record