Interface VillagerProfessionRegistry


public interface VillagerProfessionRegistry
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static net.minecraft.world.entity.npc.VillagerProfession
    register(String name, net.minecraft.resources.ResourceKey<net.minecraft.world.entity.ai.village.poi.PoiType> workStation, com.google.common.collect.ImmutableSet<net.minecraft.world.item.Item> gatherableItems, com.google.common.collect.ImmutableSet<net.minecraft.world.level.block.Block> secondaryJobSites, net.minecraft.sounds.SoundEvent workSound)
     
    static net.minecraft.world.entity.npc.VillagerProfession
    register(net.minecraft.resources.ResourceLocation name, net.minecraft.resources.ResourceKey<net.minecraft.world.entity.ai.village.poi.PoiType> workStation)
     
    static net.minecraft.world.entity.npc.VillagerProfession
    register(net.minecraft.resources.ResourceLocation name, net.minecraft.resources.ResourceKey<net.minecraft.world.entity.ai.village.poi.PoiType> workStation, com.google.common.collect.ImmutableSet<net.minecraft.world.item.Item> gatherableItems)
     
    static net.minecraft.world.entity.npc.VillagerProfession
    register(net.minecraft.resources.ResourceLocation name, net.minecraft.resources.ResourceKey<net.minecraft.world.entity.ai.village.poi.PoiType> workStation, com.google.common.collect.ImmutableSet<net.minecraft.world.item.Item> gatherableItems, com.google.common.collect.ImmutableSet<net.minecraft.world.level.block.Block> secondaryJobSites)
     
    static net.minecraft.world.entity.npc.VillagerProfession
    register(net.minecraft.resources.ResourceLocation name, net.minecraft.resources.ResourceKey<net.minecraft.world.entity.ai.village.poi.PoiType> workStation, com.google.common.collect.ImmutableSet<net.minecraft.world.item.Item> gatherableItems, com.google.common.collect.ImmutableSet<net.minecraft.world.level.block.Block> secondaryJobSites, net.minecraft.sounds.SoundEvent workSound)
     
  • Method Details

    • register

      static net.minecraft.world.entity.npc.VillagerProfession register(net.minecraft.resources.ResourceLocation name, net.minecraft.resources.ResourceKey<net.minecraft.world.entity.ai.village.poi.PoiType> workStation)
    • register

      static net.minecraft.world.entity.npc.VillagerProfession register(net.minecraft.resources.ResourceLocation name, net.minecraft.resources.ResourceKey<net.minecraft.world.entity.ai.village.poi.PoiType> workStation, com.google.common.collect.ImmutableSet<net.minecraft.world.item.Item> gatherableItems)
    • register

      static net.minecraft.world.entity.npc.VillagerProfession register(net.minecraft.resources.ResourceLocation name, net.minecraft.resources.ResourceKey<net.minecraft.world.entity.ai.village.poi.PoiType> workStation, com.google.common.collect.ImmutableSet<net.minecraft.world.item.Item> gatherableItems, com.google.common.collect.ImmutableSet<net.minecraft.world.level.block.Block> secondaryJobSites)
    • register

      static net.minecraft.world.entity.npc.VillagerProfession register(net.minecraft.resources.ResourceLocation name, net.minecraft.resources.ResourceKey<net.minecraft.world.entity.ai.village.poi.PoiType> workStation, com.google.common.collect.ImmutableSet<net.minecraft.world.item.Item> gatherableItems, com.google.common.collect.ImmutableSet<net.minecraft.world.level.block.Block> secondaryJobSites, net.minecraft.sounds.SoundEvent workSound)
    • register

      static net.minecraft.world.entity.npc.VillagerProfession register(String name, net.minecraft.resources.ResourceKey<net.minecraft.world.entity.ai.village.poi.PoiType> workStation, com.google.common.collect.ImmutableSet<net.minecraft.world.item.Item> gatherableItems, com.google.common.collect.ImmutableSet<net.minecraft.world.level.block.Block> secondaryJobSites, net.minecraft.sounds.SoundEvent workSound)