类 VillagerProfession
- java.lang.Object
-
- net.minecraft.village.VillagerProfession
-
public class VillagerProfession extends Object
- Mappings:
Namespace Name official bivintermediary net/minecraft/class_3852named net/minecraft/village/VillagerProfession
-
-
字段概要
字段 修饰符和类型 字段 说明 static VillagerProfessionARMORERstatic VillagerProfessionBUTCHERstatic VillagerProfessionCARTOGRAPHERstatic VillagerProfessionCLERICstatic VillagerProfessionFARMERstatic VillagerProfessionFISHERMANstatic VillagerProfessionFLETCHERprivate ImmutableSet<Item>gatherableItemsprivate Stringidstatic VillagerProfessionLEATHERWORKERstatic VillagerProfessionLIBRARIANstatic VillagerProfessionMASONstatic VillagerProfessionNITWITstatic VillagerProfessionNONEprivate ImmutableSet<Block>secondaryJobSitesstatic VillagerProfessionSHEPHERDstatic VillagerProfessionTOOLSMITHstatic VillagerProfessionWEAPONSMITHprivate @Nullable SoundEventworkSoundprivate PointOfInterestTypeworkStation
-
构造器概要
构造器 限定符 构造器 说明 privateVillagerProfession(String id, PointOfInterestType workStation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 ImmutableSet<Item>getGatherableItems()StringgetId()ImmutableSet<Block>getSecondaryJobSites()@Nullable SoundEventgetWorkSound()PointOfInterestTypegetWorkStation()(专用程序包) static VillagerProfessionregister(String id, PointOfInterestType workStation, @Nullable SoundEvent workSound)(专用程序包) static VillagerProfessionregister(String id, PointOfInterestType workStation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound)StringtoString()
-
-
-
字段详细资料
-
NONE
public static final VillagerProfession NONE
- Mappings:
Namespace Name Mixin selector official aLbiv;a:Lbiv;intermediary field_17051Lnet/minecraft/class_3852;field_17051:Lnet/minecraft/class_3852;named NONELnet/minecraft/village/VillagerProfession;NONE:Lnet/minecraft/village/VillagerProfession;
-
ARMORER
public static final VillagerProfession ARMORER
- Mappings:
Namespace Name Mixin selector official bLbiv;b:Lbiv;intermediary field_17052Lnet/minecraft/class_3852;field_17052:Lnet/minecraft/class_3852;named ARMORERLnet/minecraft/village/VillagerProfession;ARMORER:Lnet/minecraft/village/VillagerProfession;
-
BUTCHER
public static final VillagerProfession BUTCHER
- Mappings:
Namespace Name Mixin selector official cLbiv;c:Lbiv;intermediary field_17053Lnet/minecraft/class_3852;field_17053:Lnet/minecraft/class_3852;named BUTCHERLnet/minecraft/village/VillagerProfession;BUTCHER:Lnet/minecraft/village/VillagerProfession;
-
CARTOGRAPHER
public static final VillagerProfession CARTOGRAPHER
- Mappings:
Namespace Name Mixin selector official dLbiv;d:Lbiv;intermediary field_17054Lnet/minecraft/class_3852;field_17054:Lnet/minecraft/class_3852;named CARTOGRAPHERLnet/minecraft/village/VillagerProfession;CARTOGRAPHER:Lnet/minecraft/village/VillagerProfession;
-
CLERIC
public static final VillagerProfession CLERIC
- Mappings:
Namespace Name Mixin selector official eLbiv;e:Lbiv;intermediary field_17055Lnet/minecraft/class_3852;field_17055:Lnet/minecraft/class_3852;named CLERICLnet/minecraft/village/VillagerProfession;CLERIC:Lnet/minecraft/village/VillagerProfession;
-
FARMER
public static final VillagerProfession FARMER
- Mappings:
Namespace Name Mixin selector official fLbiv;f:Lbiv;intermediary field_17056Lnet/minecraft/class_3852;field_17056:Lnet/minecraft/class_3852;named FARMERLnet/minecraft/village/VillagerProfession;FARMER:Lnet/minecraft/village/VillagerProfession;
-
FISHERMAN
public static final VillagerProfession FISHERMAN
- Mappings:
Namespace Name Mixin selector official gLbiv;g:Lbiv;intermediary field_17057Lnet/minecraft/class_3852;field_17057:Lnet/minecraft/class_3852;named FISHERMANLnet/minecraft/village/VillagerProfession;FISHERMAN:Lnet/minecraft/village/VillagerProfession;
-
FLETCHER
public static final VillagerProfession FLETCHER
- Mappings:
Namespace Name Mixin selector official hLbiv;h:Lbiv;intermediary field_17058Lnet/minecraft/class_3852;field_17058:Lnet/minecraft/class_3852;named FLETCHERLnet/minecraft/village/VillagerProfession;FLETCHER:Lnet/minecraft/village/VillagerProfession;
-
LEATHERWORKER
public static final VillagerProfession LEATHERWORKER
- Mappings:
Namespace Name Mixin selector official iLbiv;i:Lbiv;intermediary field_17059Lnet/minecraft/class_3852;field_17059:Lnet/minecraft/class_3852;named LEATHERWORKERLnet/minecraft/village/VillagerProfession;LEATHERWORKER:Lnet/minecraft/village/VillagerProfession;
-
LIBRARIAN
public static final VillagerProfession LIBRARIAN
- Mappings:
Namespace Name Mixin selector official jLbiv;j:Lbiv;intermediary field_17060Lnet/minecraft/class_3852;field_17060:Lnet/minecraft/class_3852;named LIBRARIANLnet/minecraft/village/VillagerProfession;LIBRARIAN:Lnet/minecraft/village/VillagerProfession;
-
MASON
public static final VillagerProfession MASON
- Mappings:
Namespace Name Mixin selector official kLbiv;k:Lbiv;intermediary field_17061Lnet/minecraft/class_3852;field_17061:Lnet/minecraft/class_3852;named MASONLnet/minecraft/village/VillagerProfession;MASON:Lnet/minecraft/village/VillagerProfession;
-
NITWIT
public static final VillagerProfession NITWIT
- Mappings:
Namespace Name Mixin selector official lLbiv;l:Lbiv;intermediary field_17062Lnet/minecraft/class_3852;field_17062:Lnet/minecraft/class_3852;named NITWITLnet/minecraft/village/VillagerProfession;NITWIT:Lnet/minecraft/village/VillagerProfession;
-
SHEPHERD
public static final VillagerProfession SHEPHERD
- Mappings:
Namespace Name Mixin selector official mLbiv;m:Lbiv;intermediary field_17063Lnet/minecraft/class_3852;field_17063:Lnet/minecraft/class_3852;named SHEPHERDLnet/minecraft/village/VillagerProfession;SHEPHERD:Lnet/minecraft/village/VillagerProfession;
-
TOOLSMITH
public static final VillagerProfession TOOLSMITH
- Mappings:
Namespace Name Mixin selector official nLbiv;n:Lbiv;intermediary field_17064Lnet/minecraft/class_3852;field_17064:Lnet/minecraft/class_3852;named TOOLSMITHLnet/minecraft/village/VillagerProfession;TOOLSMITH:Lnet/minecraft/village/VillagerProfession;
-
WEAPONSMITH
public static final VillagerProfession WEAPONSMITH
- Mappings:
Namespace Name Mixin selector official oLbiv;o:Lbiv;intermediary field_17065Lnet/minecraft/class_3852;field_17065:Lnet/minecraft/class_3852;named WEAPONSMITHLnet/minecraft/village/VillagerProfession;WEAPONSMITH:Lnet/minecraft/village/VillagerProfession;
-
id
private final String id
- Mappings:
Namespace Name Mixin selector official pLbiv;p:Ljava/lang/String;intermediary field_18541Lnet/minecraft/class_3852;field_18541:Ljava/lang/String;named idLnet/minecraft/village/VillagerProfession;id:Ljava/lang/String;
-
workStation
private final PointOfInterestType workStation
- Mappings:
Namespace Name Mixin selector official qLbiv;q:Lbcr;intermediary field_18542Lnet/minecraft/class_3852;field_18542:Lnet/minecraft/class_4158;named workStationLnet/minecraft/village/VillagerProfession;workStation:Lnet/minecraft/world/poi/PointOfInterestType;
-
gatherableItems
private final ImmutableSet<Item> gatherableItems
- Mappings:
Namespace Name Mixin selector official rLbiv;r:Lcom/google/common/collect/ImmutableSet;intermediary field_18543Lnet/minecraft/class_3852;field_18543:Lcom/google/common/collect/ImmutableSet;named gatherableItemsLnet/minecraft/village/VillagerProfession;gatherableItems:Lcom/google/common/collect/ImmutableSet;
-
secondaryJobSites
private final ImmutableSet<Block> secondaryJobSites
- Mappings:
Namespace Name Mixin selector official sLbiv;s:Lcom/google/common/collect/ImmutableSet;intermediary field_18880Lnet/minecraft/class_3852;field_18880:Lcom/google/common/collect/ImmutableSet;named secondaryJobSitesLnet/minecraft/village/VillagerProfession;secondaryJobSites:Lcom/google/common/collect/ImmutableSet;
-
workSound
@Nullable private final @Nullable SoundEvent workSound
- Mappings:
Namespace Name Mixin selector official tLbiv;t:Laev;intermediary field_20633Lnet/minecraft/class_3852;field_20633:Lnet/minecraft/class_3414;named workSoundLnet/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;)Vintermediary <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;)Vnamed <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 aLbiv;a()Ljava/lang/String;intermediary method_35202Lnet/minecraft/class_3852;method_35202()Ljava/lang/String;named getIdLnet/minecraft/village/VillagerProfession;getId()Ljava/lang/String;
-
getWorkStation
public PointOfInterestType getWorkStation()
- Mappings:
Namespace Name Mixin selector official bLbiv;b()Lbcr;intermediary method_19198Lnet/minecraft/class_3852;method_19198()Lnet/minecraft/class_4158;named getWorkStationLnet/minecraft/village/VillagerProfession;getWorkStation()Lnet/minecraft/world/poi/PointOfInterestType;
-
getGatherableItems
public ImmutableSet<Item> getGatherableItems()
- Mappings:
Namespace Name Mixin selector official cLbiv;c()Lcom/google/common/collect/ImmutableSet;intermediary method_19199Lnet/minecraft/class_3852;method_19199()Lcom/google/common/collect/ImmutableSet;named getGatherableItemsLnet/minecraft/village/VillagerProfession;getGatherableItems()Lcom/google/common/collect/ImmutableSet;
-
getSecondaryJobSites
public ImmutableSet<Block> getSecondaryJobSites()
- Mappings:
Namespace Name Mixin selector official dLbiv;d()Lcom/google/common/collect/ImmutableSet;intermediary method_19630Lnet/minecraft/class_3852;method_19630()Lcom/google/common/collect/ImmutableSet;named getSecondaryJobSitesLnet/minecraft/village/VillagerProfession;getSecondaryJobSites()Lcom/google/common/collect/ImmutableSet;
-
getWorkSound
@Nullable public @Nullable SoundEvent getWorkSound()
- Mappings:
Namespace Name Mixin selector official eLbiv;e()Laev;intermediary method_22384Lnet/minecraft/class_3852;method_22384()Lnet/minecraft/class_3414;named getWorkSoundLnet/minecraft/village/VillagerProfession;getWorkSound()Lnet/minecraft/sound/SoundEvent;
-
toString
public String toString()
-
register
static VillagerProfession register(String id, PointOfInterestType workStation, @Nullable @Nullable SoundEvent workSound)
- Mappings:
Namespace Name Mixin selector official aLbiv;a(Ljava/lang/String;Lbcr;Laev;)Lbiv;intermediary method_16926Lnet/minecraft/class_3852;method_16926(Ljava/lang/String;Lnet/minecraft/class_4158;Lnet/minecraft/class_3414;)Lnet/minecraft/class_3852;named registerLnet/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 aLbiv;a(Ljava/lang/String;Lbcr;Lcom/google/common/collect/ImmutableSet;Lcom/google/common/collect/ImmutableSet;Laev;)Lbiv;intermediary method_19197Lnet/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 registerLnet/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;
-
-