Class VillagerProfession

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

public class VillagerProfession extends Object
Mappings:
Namespace Name
official bnh
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 Lbnh;a:Lbnh;
      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 Lbnh;b:Lbnh;
      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 Lbnh;c:Lbnh;
      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 Lbnh;d:Lbnh;
      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 Lbnh;e:Lbnh;
      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 Lbnh;f:Lbnh;
      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 Lbnh;g:Lbnh;
      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 Lbnh;h:Lbnh;
      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 Lbnh;i:Lbnh;
      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 Lbnh;j:Lbnh;
      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 Lbnh;k:Lbnh;
      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 Lbnh;l:Lbnh;
      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 Lbnh;m:Lbnh;
      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 Lbnh;n:Lbnh;
      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 Lbnh;o:Lbnh;
      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 Lbnh;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 Lbnh;q:Lbhd;
      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 Lbnh;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 Lbnh;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 Lbnh;t:Lagu;
      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> Lbnh;<init>(Ljava/lang/String;Lbhd;Lcom/google/common/collect/ImmutableSet;Lcom/google/common/collect/ImmutableSet;Lagu;)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 Lbnh;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 Lbnh;b()Lbhd;
      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 Lbnh;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 Lbnh;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 Lbnh;e()Lagu;
      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 Lbnh;a(Ljava/lang/String;Lbhd;Lagu;)Lbnh;
      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 Lbnh;a(Ljava/lang/String;Lbhd;Lcom/google/common/collect/ImmutableSet;Lcom/google/common/collect/ImmutableSet;Lagu;)Lbnh;
      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;