diff options
| author | shedaniel <daniel@shedaniel.me> | 2019-11-15 20:09:15 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2019-11-15 20:09:15 +0800 |
| commit | b7246fa0016888fd52c45f9c77df46f9d791e326 (patch) | |
| tree | ca455d73ea2213ef6e5a62855834119715a13fe2 /src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java | |
| parent | 5c34cd8dae4879e04fd825f423e0ddbf8480668e (diff) | |
| download | RoughlyEnoughItems-b7246fa0016888fd52c45f9c77df46f9d791e326.tar.gz RoughlyEnoughItems-b7246fa0016888fd52c45f9c77df46f9d791e326.tar.bz2 RoughlyEnoughItems-b7246fa0016888fd52c45f9c77df46f9d791e326.zip | |
Using more of the API instead of the Impl
Diffstat (limited to 'src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java b/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java index 9c56f5b95..345f647fc 100644 --- a/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java +++ b/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java @@ -6,12 +6,15 @@ package me.shedaniel.rei.impl; import me.shedaniel.rei.api.ConfigObject; +import me.shedaniel.rei.api.annotations.Internal; import me.shedaniel.rei.gui.config.*; import me.zeroeightsix.fiber.exception.FiberException; import me.zeroeightsix.fiber.tree.ConfigNode; import me.zeroeightsix.fiber.tree.ConfigValue; import me.zeroeightsix.fiber.tree.Node; +@Deprecated +@Internal public class ConfigObjectImpl implements ConfigObject { public ConfigNode configNode = new ConfigNode(); @@ -189,12 +192,6 @@ public class ConfigObjectImpl implements ConfigObject { .withName("scrollingEntryListWidget") .build(); - // private ConfigValue<RelativePoint> choosePageDialogPoint = ConfigValue.builder(RelativePoint.class) - // .withParent(technical) - // .withDefaultValue(new RelativePoint(.5, .5)) - // .withName("choosePageDialogPoint") - // .build(); - public ConfigObjectImpl() throws FiberException { } @@ -343,15 +340,4 @@ public class ConfigObjectImpl implements ConfigObject { public boolean doesRegisterRecipesInAnotherThread() { return registerRecipesInAnotherThread.getValue().booleanValue(); } - - @Override - public RelativePoint getChoosePageDialogPoint() { - // return choosePageDialogPoint.getValue(); - return new RelativePoint(.5, .5); - } - - @Override - public void setChoosePageDialogPoint(RelativePoint choosePageDialogPoint) { - // this.choosePageDialogPoint.setValue(choosePageDialogPoint); - } } |
