public class VillagerProfession extends Object
Modifier and Type | Field and 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 |
Modifier | Constructor and Description |
---|---|
private |
VillagerProfession(String id,
PointOfInterestType workStation,
ImmutableSet<Item> gatherableItems,
ImmutableSet<Block> secondaryJobSites,
SoundEvent workSound) |
Modifier and Type | Method and 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() |
public static final VillagerProfession NONE
public static final VillagerProfession ARMORER
public static final VillagerProfession BUTCHER
public static final VillagerProfession CARTOGRAPHER
public static final VillagerProfession CLERIC
public static final VillagerProfession FARMER
public static final VillagerProfession FISHERMAN
public static final VillagerProfession FLETCHER
public static final VillagerProfession LEATHERWORKER
public static final VillagerProfession LIBRARIAN
public static final VillagerProfession MASON
public static final VillagerProfession NITWIT
public static final VillagerProfession SHEPHERD
public static final VillagerProfession TOOLSMITH
public static final VillagerProfession WEAPONSMITH
private final String id
private final PointOfInterestType workStation
private final ImmutableSet<Item> gatherableItems
private final ImmutableSet<Block> secondaryJobSites
@Nullable private final SoundEvent workSound
private VillagerProfession(String id, PointOfInterestType workStation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound)
public PointOfInterestType getWorkStation()
public ImmutableSet<Item> getGatherableItems()
public ImmutableSet<Block> getSecondaryJobSites()
@Nullable public SoundEvent getWorkSound()
static VillagerProfession register(String id, PointOfInterestType workStation, @Nullable SoundEvent workSound)
static VillagerProfession register(String id, PointOfInterestType workStation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound)