类 VillagerProfession


  • public class VillagerProfession
    extends Object
    Mappings:
    Namespace Name
    official biv
    intermediary net/minecraft/class_3852
    named net/minecraft/village/VillagerProfession
    • 字段详细资料

      • NONE

        public static final VillagerProfession NONE
        Mappings:
        Namespace Name Mixin selector
        official a Lbiv;a:Lbiv;
        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 Lbiv;b:Lbiv;
        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 Lbiv;c:Lbiv;
        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 Lbiv;d:Lbiv;
        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 Lbiv;e:Lbiv;
        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 Lbiv;f:Lbiv;
        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 Lbiv;g:Lbiv;
        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 Lbiv;h:Lbiv;
        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 Lbiv;i:Lbiv;
        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 Lbiv;j:Lbiv;
        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 Lbiv;k:Lbiv;
        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 Lbiv;l:Lbiv;
        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 Lbiv;m:Lbiv;
        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 Lbiv;n:Lbiv;
        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 Lbiv;o:Lbiv;
        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 Lbiv;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 Lbiv;q:Lbcr;
        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 Lbiv;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 Lbiv;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 Lbiv;t:Laev;
        intermediary field_20633 Lnet/minecraft/class_3852;field_20633:Lnet/minecraft/class_3414;
        named workSound Lnet/minecraft/village/VillagerProfession;workSound:Lnet/minecraft/sound/SoundEvent;
    • 构造器详细资料

      • VillagerProfession

        private VillagerProfession​(String id,
                                   PointOfInterestType workStation,
                                   ImmutableSet<Item> gatherableItems,
                                   ImmutableSet<Block> secondaryJobSites,
                                   @Nullable
                                   @Nullable SoundEvent workSound)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lbiv;<init>(Ljava/lang/String;Lbcr;Lcom/google/common/collect/ImmutableSet;Lcom/google/common/collect/ImmutableSet;Laev;)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
    • 方法详细资料

      • getId

        public String getId()
        Mappings:
        Namespace Name Mixin selector
        official a Lbiv;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 Lbiv;b()Lbcr;
        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 Lbiv;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 Lbiv;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 Lbiv;e()Laev;
        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()
        覆盖:
        toString 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official toString Lbiv;toString()Ljava/lang/String;
        intermediary toString Lnet/minecraft/class_3852;toString()Ljava/lang/String;
        named toString Lnet/minecraft/village/VillagerProfession;toString()Ljava/lang/String;
      • register

        static VillagerProfession register​(String id,
                                           PointOfInterestType workStation,
                                           @Nullable
                                           @Nullable SoundEvent workSound)
        Mappings:
        Namespace Name Mixin selector
        official a Lbiv;a(Ljava/lang/String;Lbcr;Laev;)Lbiv;
        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 Lbiv;a(Ljava/lang/String;Lbcr;Lcom/google/common/collect/ImmutableSet;Lcom/google/common/collect/ImmutableSet;Laev;)Lbiv;
        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;