public static class VillagerRegistry.VillagerProfession extends IForgeRegistryEntry.Impl<VillagerRegistry.VillagerProfession>
IForgeRegistryEntry.Impl<T extends IForgeRegistryEntry<T>>
delegate
Constructor and Description |
---|
VillagerProfession(java.lang.String name,
java.lang.String texture)
Deprecated.
|
VillagerProfession(java.lang.String name,
java.lang.String texture,
java.lang.String zombie) |
Modifier and Type | Method and Description |
---|---|
VillagerRegistry.VillagerCareer |
getCareer(int id) |
int |
getRandomCareer(java.util.Random rand) |
ResourceLocation |
getSkin() |
ResourceLocation |
getZombieSkin() |
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
@Deprecated public VillagerProfession(java.lang.String name, java.lang.String texture)
public VillagerProfession(java.lang.String name, java.lang.String texture, java.lang.String zombie)
public ResourceLocation getSkin()
public ResourceLocation getZombieSkin()
public VillagerRegistry.VillagerCareer getCareer(int id)
public int getRandomCareer(java.util.Random rand)