Added Demon Will Gauge config.
Added some code snippets trying to add a command, but added a simple Client Config for the Demon Will Gauge instead.
This commit is contained in:
parent
b6931a3116
commit
7634404dac
5 changed files with 168 additions and 1 deletions
|
@ -3,12 +3,13 @@ package wayoftime.bloodmagic.client.hud;
|
|||
import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraft.util.math.vector.Vector2f;
|
||||
import wayoftime.bloodmagic.BloodMagic;
|
||||
import wayoftime.bloodmagic.ConfigManager;
|
||||
import wayoftime.bloodmagic.client.hud.element.ElementDemonAura;
|
||||
|
||||
public class Elements
|
||||
{
|
||||
public static void registerElements()
|
||||
{
|
||||
ElementRegistry.registerHandler(new ResourceLocation(BloodMagic.MODID, "demon_will_aura"), new ElementDemonAura(), new Vector2f(0.01F, 0.01F));
|
||||
ElementRegistry.registerHandler(new ResourceLocation(BloodMagic.MODID, "demon_will_aura"), new ElementDemonAura(), new Vector2f(ConfigManager.CLIENT.demonWillGaugeX.get().floatValue(), ConfigManager.CLIENT.demonWillGaugeY.get().floatValue()));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue