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 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
-
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)
-