Package net.minecraft.village
Class VillagerProfession
java.lang.Object
net.minecraft.village.VillagerProfession
public class VillagerProfession extends Object
-
Field Summary
Fields Modifier and Type Field Description static VillagerProfessionARMORERstatic VillagerProfessionBUTCHERstatic VillagerProfessionCARTOGRAPHERstatic VillagerProfessionCLERICstatic VillagerProfessionFARMERstatic VillagerProfessionFISHERMANstatic VillagerProfessionFLETCHERprivate ImmutableSet<Item>gatherableItemsprivate Stringidstatic VillagerProfessionLEATHERWORKERstatic VillagerProfessionLIBRARIANstatic VillagerProfessionMASONstatic VillagerProfessionNITWITstatic VillagerProfessionNONEprivate ImmutableSet<Block>secondaryJobSitesstatic VillagerProfessionSHEPHERDstatic VillagerProfessionTOOLSMITHstatic VillagerProfessionWEAPONSMITHprivate SoundEventworkSoundprivate PointOfInterestTypeworkStation -
Constructor Summary
Constructors Modifier Constructor Description privateVillagerProfession(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()SoundEventgetWorkSound()PointOfInterestTypegetWorkStation()(package private) static VillagerProfessionregister(String id, PointOfInterestType workStation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, SoundEvent workSound)(package private) static VillagerProfessionregister(String id, PointOfInterestType workStation, SoundEvent workSound)StringtoString()
-
Field Details
-
NONE
-
ARMORER
-
BUTCHER
-
CARTOGRAPHER
-
CLERIC
-
FARMER
-
FISHERMAN
-
FLETCHER
-
LEATHERWORKER
-
LIBRARIAN
-
MASON
-
NITWIT
-
SHEPHERD
-
TOOLSMITH
-
WEAPONSMITH
-
id
-
workStation
-
gatherableItems
-
secondaryJobSites
-
workSound
-
-
Constructor Details
-
VillagerProfession
private VillagerProfession(String id, PointOfInterestType workStation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound)
-
-
Method Details
-
getWorkStation
-
getGatherableItems
-
getSecondaryJobSites
-
getWorkSound
-
toString
-
register
static VillagerProfession register(String id, PointOfInterestType workStation, @Nullable SoundEvent workSound) -
register
static VillagerProfession register(String id, PointOfInterestType workStation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound)
-