public class VillagerProfession extends ForgeRegistryEntry<VillagerProfession>
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 |
static VillagerProfession |
LEATHERWORKER |
static VillagerProfession |
LIBRARIAN |
static VillagerProfession |
MASON |
private java.lang.String |
name |
static VillagerProfession |
NITWIT |
static VillagerProfession |
NONE |
private PointOfInterestType |
pointOfInterest |
private com.google.common.collect.ImmutableSet<Block> |
relatedWorldBlocks |
static VillagerProfession |
SHEPHERD |
private SoundEvent |
sound |
private com.google.common.collect.ImmutableSet<Item> |
specificItems |
static VillagerProfession |
TOOLSMITH |
static VillagerProfession |
WEAPONSMITH |
delegate
Constructor and Description |
---|
VillagerProfession(java.lang.String nameIn,
PointOfInterestType pointOfInterestIn,
com.google.common.collect.ImmutableSet<Item> specificItemsIn,
com.google.common.collect.ImmutableSet<Block> relatedWorldBlocksIn,
SoundEvent soundIn) |
Modifier and Type | Method and Description |
---|---|
PointOfInterestType |
getPointOfInterest() |
com.google.common.collect.ImmutableSet<Block> |
getRelatedWorldBlocks() |
SoundEvent |
getSound() |
com.google.common.collect.ImmutableSet<Item> |
getSpecificItems() |
(package private) static VillagerProfession |
register(java.lang.String nameIn,
PointOfInterestType pointOfInterestIn,
com.google.common.collect.ImmutableSet<Item> specificItemsIn,
com.google.common.collect.ImmutableSet<Block> relatedWorldBlocksIn,
SoundEvent soundIn) |
(package private) static VillagerProfession |
register(java.lang.String nameIn,
PointOfInterestType pointOfInterestIn,
SoundEvent soundIn) |
java.lang.String |
toString() |
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
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 java.lang.String name
private final PointOfInterestType pointOfInterest
private final com.google.common.collect.ImmutableSet<Item> specificItems
private final com.google.common.collect.ImmutableSet<Block> relatedWorldBlocks
@Nullable private final SoundEvent sound
public VillagerProfession(java.lang.String nameIn, PointOfInterestType pointOfInterestIn, com.google.common.collect.ImmutableSet<Item> specificItemsIn, com.google.common.collect.ImmutableSet<Block> relatedWorldBlocksIn, @Nullable SoundEvent soundIn)
public PointOfInterestType getPointOfInterest()
public com.google.common.collect.ImmutableSet<Item> getSpecificItems()
public com.google.common.collect.ImmutableSet<Block> getRelatedWorldBlocks()
@Nullable public SoundEvent getSound()
public java.lang.String toString()
toString
in class java.lang.Object
static VillagerProfession register(java.lang.String nameIn, PointOfInterestType pointOfInterestIn, @Nullable SoundEvent soundIn)
static VillagerProfession register(java.lang.String nameIn, PointOfInterestType pointOfInterestIn, com.google.common.collect.ImmutableSet<Item> specificItemsIn, com.google.common.collect.ImmutableSet<Block> relatedWorldBlocksIn, @Nullable SoundEvent soundIn)