All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods
Modifier and Type |
Method and Description |
static void |
addExtraVillageComponents(java.util.List<StructureVillagePieces.PieceWeight> list,
java.util.Random random,
int i) |
static VillagerRegistry.VillagerProfession |
getById(int network)
Deprecated.
|
static int |
getId(VillagerRegistry.VillagerProfession prof)
Deprecated.
|
IForgeRegistry<VillagerRegistry.VillagerProfession> |
getRegistry() |
static StructureVillagePieces.Village |
getVillageComponent(StructureVillagePieces.PieceWeight villagePiece,
StructureVillagePieces.Start startPiece,
java.util.List<StructureComponent> pieces,
java.util.Random random,
int p1,
int p2,
int p3,
EnumFacing facing,
int p5) |
static VillagerRegistry |
instance() |
static void |
onSetProfession(EntityVillager entity,
int network) |
static void |
onSetProfession(EntityZombieVillager entity,
int network) |
void |
register(VillagerRegistry.VillagerProfession prof) |
void |
registerVillageCreationHandler(VillagerRegistry.IVillageCreationHandler handler)
Register a new village creation handler
|
static void |
setRandomProfession(EntityVillager entity,
java.util.Random rand)
Hook called when spawning a Villager, sets it's profession to a random registered profession.
|