Class VillagerProfession

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

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