Class VillagerProfession

java.lang.Object
net.minecraft.village.VillagerProfession

public class VillagerProfession extends Object
Mappings:
Namespace Name
official bnz
intermediary net/minecraft/class_3852
named net/minecraft/village/VillagerProfession
  • Field Details

    • NONE

      public static final VillagerProfession NONE
      Mappings:
      Namespace Name Mixin selector
      official a Lbnz;a:Lbnz;
      intermediary field_17051 Lnet/minecraft/class_3852;field_17051:Lnet/minecraft/class_3852;
      named NONE Lnet/minecraft/village/VillagerProfession;NONE:Lnet/minecraft/village/VillagerProfession;
    • ARMORER

      public static final VillagerProfession ARMORER
      Mappings:
      Namespace Name Mixin selector
      official b Lbnz;b:Lbnz;
      intermediary field_17052 Lnet/minecraft/class_3852;field_17052:Lnet/minecraft/class_3852;
      named ARMORER Lnet/minecraft/village/VillagerProfession;ARMORER:Lnet/minecraft/village/VillagerProfession;
    • BUTCHER

      public static final VillagerProfession BUTCHER
      Mappings:
      Namespace Name Mixin selector
      official c Lbnz;c:Lbnz;
      intermediary field_17053 Lnet/minecraft/class_3852;field_17053:Lnet/minecraft/class_3852;
      named BUTCHER Lnet/minecraft/village/VillagerProfession;BUTCHER:Lnet/minecraft/village/VillagerProfession;
    • CARTOGRAPHER

      public static final VillagerProfession CARTOGRAPHER
      Mappings:
      Namespace Name Mixin selector
      official d Lbnz;d:Lbnz;
      intermediary field_17054 Lnet/minecraft/class_3852;field_17054:Lnet/minecraft/class_3852;
      named CARTOGRAPHER Lnet/minecraft/village/VillagerProfession;CARTOGRAPHER:Lnet/minecraft/village/VillagerProfession;
    • CLERIC

      public static final VillagerProfession CLERIC
      Mappings:
      Namespace Name Mixin selector
      official e Lbnz;e:Lbnz;
      intermediary field_17055 Lnet/minecraft/class_3852;field_17055:Lnet/minecraft/class_3852;
      named CLERIC Lnet/minecraft/village/VillagerProfession;CLERIC:Lnet/minecraft/village/VillagerProfession;
    • FARMER

      public static final VillagerProfession FARMER
      Mappings:
      Namespace Name Mixin selector
      official f Lbnz;f:Lbnz;
      intermediary field_17056 Lnet/minecraft/class_3852;field_17056:Lnet/minecraft/class_3852;
      named FARMER Lnet/minecraft/village/VillagerProfession;FARMER:Lnet/minecraft/village/VillagerProfession;
    • FISHERMAN

      public static final VillagerProfession FISHERMAN
      Mappings:
      Namespace Name Mixin selector
      official g Lbnz;g:Lbnz;
      intermediary field_17057 Lnet/minecraft/class_3852;field_17057:Lnet/minecraft/class_3852;
      named FISHERMAN Lnet/minecraft/village/VillagerProfession;FISHERMAN:Lnet/minecraft/village/VillagerProfession;
    • FLETCHER

      public static final VillagerProfession FLETCHER
      Mappings:
      Namespace Name Mixin selector
      official h Lbnz;h:Lbnz;
      intermediary field_17058 Lnet/minecraft/class_3852;field_17058:Lnet/minecraft/class_3852;
      named FLETCHER Lnet/minecraft/village/VillagerProfession;FLETCHER:Lnet/minecraft/village/VillagerProfession;
    • LEATHERWORKER

      public static final VillagerProfession LEATHERWORKER
      Mappings:
      Namespace Name Mixin selector
      official i Lbnz;i:Lbnz;
      intermediary field_17059 Lnet/minecraft/class_3852;field_17059:Lnet/minecraft/class_3852;
      named LEATHERWORKER Lnet/minecraft/village/VillagerProfession;LEATHERWORKER:Lnet/minecraft/village/VillagerProfession;
    • LIBRARIAN

      public static final VillagerProfession LIBRARIAN
      Mappings:
      Namespace Name Mixin selector
      official j Lbnz;j:Lbnz;
      intermediary field_17060 Lnet/minecraft/class_3852;field_17060:Lnet/minecraft/class_3852;
      named LIBRARIAN Lnet/minecraft/village/VillagerProfession;LIBRARIAN:Lnet/minecraft/village/VillagerProfession;
    • MASON

      public static final VillagerProfession MASON
      Mappings:
      Namespace Name Mixin selector
      official k Lbnz;k:Lbnz;
      intermediary field_17061 Lnet/minecraft/class_3852;field_17061:Lnet/minecraft/class_3852;
      named MASON Lnet/minecraft/village/VillagerProfession;MASON:Lnet/minecraft/village/VillagerProfession;
    • NITWIT

      public static final VillagerProfession NITWIT
      Mappings:
      Namespace Name Mixin selector
      official l Lbnz;l:Lbnz;
      intermediary field_17062 Lnet/minecraft/class_3852;field_17062:Lnet/minecraft/class_3852;
      named NITWIT Lnet/minecraft/village/VillagerProfession;NITWIT:Lnet/minecraft/village/VillagerProfession;
    • SHEPHERD

      public static final VillagerProfession SHEPHERD
      Mappings:
      Namespace Name Mixin selector
      official m Lbnz;m:Lbnz;
      intermediary field_17063 Lnet/minecraft/class_3852;field_17063:Lnet/minecraft/class_3852;
      named SHEPHERD Lnet/minecraft/village/VillagerProfession;SHEPHERD:Lnet/minecraft/village/VillagerProfession;
    • TOOLSMITH

      public static final VillagerProfession TOOLSMITH
      Mappings:
      Namespace Name Mixin selector
      official n Lbnz;n:Lbnz;
      intermediary field_17064 Lnet/minecraft/class_3852;field_17064:Lnet/minecraft/class_3852;
      named TOOLSMITH Lnet/minecraft/village/VillagerProfession;TOOLSMITH:Lnet/minecraft/village/VillagerProfession;
    • WEAPONSMITH

      public static final VillagerProfession WEAPONSMITH
      Mappings:
      Namespace Name Mixin selector
      official o Lbnz;o:Lbnz;
      intermediary field_17065 Lnet/minecraft/class_3852;field_17065:Lnet/minecraft/class_3852;
      named WEAPONSMITH Lnet/minecraft/village/VillagerProfession;WEAPONSMITH:Lnet/minecraft/village/VillagerProfession;
    • id

      private final String id
      Mappings:
      Namespace Name Mixin selector
      official p Lbnz;p:Ljava/lang/String;
      intermediary field_18541 Lnet/minecraft/class_3852;field_18541:Ljava/lang/String;
      named id Lnet/minecraft/village/VillagerProfession;id:Ljava/lang/String;
    • workStation

      private final PointOfInterestType workStation
      Mappings:
      Namespace Name Mixin selector
      official q Lbnz;q:Lbhv;
      intermediary field_18542 Lnet/minecraft/class_3852;field_18542:Lnet/minecraft/class_4158;
      named workStation Lnet/minecraft/village/VillagerProfession;workStation:Lnet/minecraft/world/poi/PointOfInterestType;
    • gatherableItems

      private final ImmutableSet<Item> gatherableItems
      Mappings:
      Namespace Name Mixin selector
      official r Lbnz;r:Lcom/google/common/collect/ImmutableSet;
      intermediary field_18543 Lnet/minecraft/class_3852;field_18543:Lcom/google/common/collect/ImmutableSet;
      named gatherableItems Lnet/minecraft/village/VillagerProfession;gatherableItems:Lcom/google/common/collect/ImmutableSet;
    • secondaryJobSites

      private final ImmutableSet<Block> secondaryJobSites
      Mappings:
      Namespace Name Mixin selector
      official s Lbnz;s:Lcom/google/common/collect/ImmutableSet;
      intermediary field_18880 Lnet/minecraft/class_3852;field_18880:Lcom/google/common/collect/ImmutableSet;
      named secondaryJobSites Lnet/minecraft/village/VillagerProfession;secondaryJobSites:Lcom/google/common/collect/ImmutableSet;
    • workSound

      @Nullable private final @Nullable SoundEvent workSound
      Mappings:
      Namespace Name Mixin selector
      official t Lbnz;t:Lahj;
      intermediary field_20633 Lnet/minecraft/class_3852;field_20633:Lnet/minecraft/class_3414;
      named workSound Lnet/minecraft/village/VillagerProfession;workSound:Lnet/minecraft/sound/SoundEvent;
  • Constructor Details

    • VillagerProfession

      private VillagerProfession(String id, PointOfInterestType workStation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable @Nullable SoundEvent workSound)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbnz;<init>(Ljava/lang/String;Lbhv;Lcom/google/common/collect/ImmutableSet;Lcom/google/common/collect/ImmutableSet;Lahj;)V
      intermediary <init> Lnet/minecraft/class_3852;<init>(Ljava/lang/String;Lnet/minecraft/class_4158;Lcom/google/common/collect/ImmutableSet;Lcom/google/common/collect/ImmutableSet;Lnet/minecraft/class_3414;)V
      named <init> Lnet/minecraft/village/VillagerProfession;<init>(Ljava/lang/String;Lnet/minecraft/world/poi/PointOfInterestType;Lcom/google/common/collect/ImmutableSet;Lcom/google/common/collect/ImmutableSet;Lnet/minecraft/sound/SoundEvent;)V
  • Method Details

    • getId

      public String getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lbnz;a()Ljava/lang/String;
      intermediary method_35202 Lnet/minecraft/class_3852;method_35202()Ljava/lang/String;
      named getId Lnet/minecraft/village/VillagerProfession;getId()Ljava/lang/String;
    • getWorkStation

      public PointOfInterestType getWorkStation()
      Mappings:
      Namespace Name Mixin selector
      official b Lbnz;b()Lbhv;
      intermediary method_19198 Lnet/minecraft/class_3852;method_19198()Lnet/minecraft/class_4158;
      named getWorkStation Lnet/minecraft/village/VillagerProfession;getWorkStation()Lnet/minecraft/world/poi/PointOfInterestType;
    • getGatherableItems

      public ImmutableSet<Item> getGatherableItems()
      Mappings:
      Namespace Name Mixin selector
      official c Lbnz;c()Lcom/google/common/collect/ImmutableSet;
      intermediary method_19199 Lnet/minecraft/class_3852;method_19199()Lcom/google/common/collect/ImmutableSet;
      named getGatherableItems Lnet/minecraft/village/VillagerProfession;getGatherableItems()Lcom/google/common/collect/ImmutableSet;
    • getSecondaryJobSites

      public ImmutableSet<Block> getSecondaryJobSites()
      Mappings:
      Namespace Name Mixin selector
      official d Lbnz;d()Lcom/google/common/collect/ImmutableSet;
      intermediary method_19630 Lnet/minecraft/class_3852;method_19630()Lcom/google/common/collect/ImmutableSet;
      named getSecondaryJobSites Lnet/minecraft/village/VillagerProfession;getSecondaryJobSites()Lcom/google/common/collect/ImmutableSet;
    • getWorkSound

      @Nullable public @Nullable SoundEvent getWorkSound()
      Mappings:
      Namespace Name Mixin selector
      official e Lbnz;e()Lahj;
      intermediary method_22384 Lnet/minecraft/class_3852;method_22384()Lnet/minecraft/class_3414;
      named getWorkSound Lnet/minecraft/village/VillagerProfession;getWorkSound()Lnet/minecraft/sound/SoundEvent;
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • register

      static VillagerProfession register(String id, PointOfInterestType workStation, @Nullable @Nullable SoundEvent workSound)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnz;a(Ljava/lang/String;Lbhv;Lahj;)Lbnz;
      intermediary method_16926 Lnet/minecraft/class_3852;method_16926(Ljava/lang/String;Lnet/minecraft/class_4158;Lnet/minecraft/class_3414;)Lnet/minecraft/class_3852;
      named register Lnet/minecraft/village/VillagerProfession;register(Ljava/lang/String;Lnet/minecraft/world/poi/PointOfInterestType;Lnet/minecraft/sound/SoundEvent;)Lnet/minecraft/village/VillagerProfession;
    • register

      static VillagerProfession register(String id, PointOfInterestType workStation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable @Nullable SoundEvent workSound)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnz;a(Ljava/lang/String;Lbhv;Lcom/google/common/collect/ImmutableSet;Lcom/google/common/collect/ImmutableSet;Lahj;)Lbnz;
      intermediary method_19197 Lnet/minecraft/class_3852;method_19197(Ljava/lang/String;Lnet/minecraft/class_4158;Lcom/google/common/collect/ImmutableSet;Lcom/google/common/collect/ImmutableSet;Lnet/minecraft/class_3414;)Lnet/minecraft/class_3852;
      named register Lnet/minecraft/village/VillagerProfession;register(Ljava/lang/String;Lnet/minecraft/world/poi/PointOfInterestType;Lcom/google/common/collect/ImmutableSet;Lcom/google/common/collect/ImmutableSet;Lnet/minecraft/sound/SoundEvent;)Lnet/minecraft/village/VillagerProfession;