use of de.teamlapen.vampirism.api.entity.factions.IFaction 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());
}
use of de.teamlapen.vampirism.api.entity.factions.IFaction in project Werewolves by TeamLapen.
the class ModEffects method registerEffects.
static void registerEffects(IForgeRegistry<Effect> registry) {
registry.register(new LupusSanguinemEffect());
registry.register(new HowlingEffect());
registry.register(new SilverEffect());
registry.register(new BleedingEffect());
registry.register(new UnWerewolfEffect());
registry.register(new BadOmenEffect(REFERENCE.MODID, REFERENCE.WEREWOLF_PLAYER_KEY) {
@Override
public IFaction<?> getFaction() {
return WReference.WEREWOLF_FACTION;
}
});
}
Aggregations