Package net.minecraft.village
Class VillagerProfession
java.lang.Object
net.minecraft.village.VillagerProfession
public class VillagerProfession extends Object
- Mappings:
Namespace Name official bhb
intermediary net/minecraft/class_3852
named net/minecraft/village/VillagerProfession
-
Field Summary
Fields Modifier and Type Field Description static VillagerProfession
ARMORER
static VillagerProfession
BUTCHER
static VillagerProfession
CARTOGRAPHER
static VillagerProfession
CLERIC
static VillagerProfession
FARMER
static VillagerProfession
FISHERMAN
static VillagerProfession
FLETCHER
private ImmutableSet<Item>
gatherableItems
private String
id
static VillagerProfession
LEATHERWORKER
static VillagerProfession
LIBRARIAN
static VillagerProfession
MASON
static VillagerProfession
NITWIT
static VillagerProfession
NONE
private ImmutableSet<Block>
secondaryJobSites
static VillagerProfession
SHEPHERD
static VillagerProfession
TOOLSMITH
static VillagerProfession
WEAPONSMITH
private SoundEvent
workSound
private PointOfInterestType
workStation
-
Constructor Summary
Constructors Modifier Constructor Description private
VillagerProfession(String id, PointOfInterestType workStation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, SoundEvent workSound)
-
Method Summary
Modifier and Type Method Description ImmutableSet<Item>
getGatherableItems()
ImmutableSet<Block>
getSecondaryJobSites()
SoundEvent
getWorkSound()
PointOfInterestType
getWorkStation()
(package private) static VillagerProfession
register(String id, PointOfInterestType workStation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, SoundEvent workSound)
(package private) static VillagerProfession
register(String id, PointOfInterestType workStation, SoundEvent workSound)
String
toString()
-
Field Details
-
NONE
- Mappings:
Namespace Name Mixin selector official a
Lbhb;a:Lbhb;
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
- Mappings:
Namespace Name Mixin selector official b
Lbhb;b:Lbhb;
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
- Mappings:
Namespace Name Mixin selector official c
Lbhb;c:Lbhb;
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
- Mappings:
Namespace Name Mixin selector official d
Lbhb;d:Lbhb;
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
- Mappings:
Namespace Name Mixin selector official e
Lbhb;e:Lbhb;
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
- Mappings:
Namespace Name Mixin selector official f
Lbhb;f:Lbhb;
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
- Mappings:
Namespace Name Mixin selector official g
Lbhb;g:Lbhb;
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
- Mappings:
Namespace Name Mixin selector official h
Lbhb;h:Lbhb;
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
- Mappings:
Namespace Name Mixin selector official i
Lbhb;i:Lbhb;
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
- Mappings:
Namespace Name Mixin selector official j
Lbhb;j:Lbhb;
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
- Mappings:
Namespace Name Mixin selector official k
Lbhb;k:Lbhb;
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
- Mappings:
Namespace Name Mixin selector official l
Lbhb;l:Lbhb;
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
- Mappings:
Namespace Name Mixin selector official m
Lbhb;m:Lbhb;
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
- Mappings:
Namespace Name Mixin selector official n
Lbhb;n:Lbhb;
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
- Mappings:
Namespace Name Mixin selector official o
Lbhb;o:Lbhb;
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
- Mappings:
Namespace Name Mixin selector official p
Lbhb;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
- Mappings:
Namespace Name Mixin selector official q
Lbhb;q:Lbbb;
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
- Mappings:
Namespace Name Mixin selector official r
Lbhb;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
- Mappings:
Namespace Name Mixin selector official s
Lbhb;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
- Mappings:
Namespace Name Mixin selector official t
Lbhb;t:Laef;
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 SoundEvent workSound)- Mappings:
Namespace Name Mixin selector official <init>
Lbhb;<init>(Ljava/lang/String;Lbbb;Lcom/google/common/collect/ImmutableSet;Lcom/google/common/collect/ImmutableSet;Laef;)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
-
getWorkStation
- Mappings:
Namespace Name Mixin selector official b
Lbhb;b()Lbbb;
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
- Mappings:
Namespace Name Mixin selector official c
Lbhb;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
- Mappings:
Namespace Name Mixin selector official d
Lbhb;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
- Mappings:
Namespace Name Mixin selector official e
Lbhb;e()Laef;
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
-
register
static VillagerProfession register(String id, PointOfInterestType workStation, @Nullable SoundEvent workSound)- Mappings:
Namespace Name Mixin selector official a
Lbhb;a(Ljava/lang/String;Lbbb;Laef;)Lbhb;
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 SoundEvent workSound)- Mappings:
Namespace Name Mixin selector official a
Lbhb;a(Ljava/lang/String;Lbbb;Lcom/google/common/collect/ImmutableSet;Lcom/google/common/collect/ImmutableSet;Laef;)Lbhb;
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;
-