use of de.teamlapen.vampirism.entity.FactionVillagerProfession in project Werewolves by TeamLapen.
the class ModVillage method registerProfessions.
static void registerProfessions(IForgeRegistry<VillagerProfession> registry) {
VillagerProfession werewolf_expert = new FactionVillagerProfession("werewolf_expert", werewolf_faction, ImmutableSet.of(), ImmutableSet.of(), null) {
@Override
public IFaction<?> getFaction() {
return WReference.WEREWOLF_FACTION;
}
}.setRegistryName(REFERENCE.MODID, "werewolf_expert");
registry.register(werewolf_expert);
VillagerTrades.TRADES.computeIfAbsent(werewolf_expert, trades -> new Int2ObjectOpenHashMap<>()).putAll(getWerewolfTrades());
}
Aggregations