Rework of ritual registration
Moves to annotation based registration. Configs are handled for automatically
This commit is contained in:
parent
e3d65a9e3a
commit
42c69eb557
54 changed files with 321 additions and 569 deletions
|
@ -26,6 +26,7 @@ public class GuiBloodMagicConfig extends GuiConfig {
|
|||
List<IConfigElement> elements = Lists.newArrayList();
|
||||
|
||||
elements.addAll(ConfigElement.from(ConfigHandler.class).getChildElements());
|
||||
elements.add(new ConfigElement(BloodMagic.RITUAL_MANAGER.getConfig().getCategory("rituals")));
|
||||
if (Minecraft.getMinecraft().world != null)
|
||||
elements.add(new DummyElementEditHUD(BloodMagic.NAME, "config." + BloodMagic.MODID + ".edit_hud"));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue