You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can read in code below priest wont appear in modded villages, most of villages is moded. Priest should be common in taiga and plains villages, maybe even more common than blacksmith.
i found it in: \io\redspace\ironsspellbooks\worldgen\VillageAdition.Java
I hope that you are going to change it
@SubscribeEvent
public static void addNewVillageBuilding(ServerAboutToStartEvent event) {
Registry templatePoolRegistry = (Registry)event.getServer().m_206579_().m_6632_(Registries.f_256948_).orElseThrow();
Registry processorListRegistry = (Registry)event.getServer().m_206579_().m_6632_(Registries.f_257011_).orElseThrow();
int weight = (Integer)ServerConfigs.PRIEST_TOWER_SPAWNRATE.get();
if (weight > 0) {
addBuildingToPool(templatePoolRegistry, processorListRegistry, new ResourceLocation("minecraft:village/plains/houses"), "irons_spellbooks:priest_house", weight);
addBuildingToPool(templatePoolRegistry, processorListRegistry, new ResourceLocation("minecraft:village/taiga/houses"), "irons_spellbooks:priest_house_taiga", weight);
}
}
The text was updated successfully, but these errors were encountered:
As you can read in code below priest wont appear in modded villages, most of villages is moded. Priest should be common in taiga and plains villages, maybe even more common than blacksmith.
i found it in: \io\redspace\ironsspellbooks\worldgen\VillageAdition.Java
I hope that you are going to change it
@SubscribeEvent
public static void addNewVillageBuilding(ServerAboutToStartEvent event) {
Registry templatePoolRegistry = (Registry)event.getServer().m_206579_().m_6632_(Registries.f_256948_).orElseThrow();
Registry processorListRegistry = (Registry)event.getServer().m_206579_().m_6632_(Registries.f_257011_).orElseThrow();
int weight = (Integer)ServerConfigs.PRIEST_TOWER_SPAWNRATE.get();
if (weight > 0) {
addBuildingToPool(templatePoolRegistry, processorListRegistry, new ResourceLocation("minecraft:village/plains/houses"), "irons_spellbooks:priest_house", weight);
addBuildingToPool(templatePoolRegistry, processorListRegistry, new ResourceLocation("minecraft:village/taiga/houses"), "irons_spellbooks:priest_house_taiga", weight);
}
}
The text was updated successfully, but these errors were encountered: