aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormakamys <makamys@outlook.com>2022-06-30 17:13:44 +0200
committermakamys <makamys@outlook.com>2022-06-30 17:13:44 +0200
commita8808aac3ee1a01f5291bbb472a3b1d004948239 (patch)
treefffbe00d1538f8e9c9d193bb1822a5ba0d2a4b60 /src
parentcb1270c7430c42df644ddbb4a6a96b5807bbedec (diff)
downloadNeodymium-a8808aac3ee1a01f5291bbb472a3b1d004948239.tar.gz
Neodymium-a8808aac3ee1a01f5291bbb472a3b1d004948239.tar.bz2
Neodymium-a8808aac3ee1a01f5291bbb472a3b1d004948239.zip
Move configgy classes to config package
Diffstat (limited to 'src')
-rw-r--r--src/main/java/makamys/neodymium/MixinConfigPlugin.java1
-rw-r--r--src/main/java/makamys/neodymium/Neodymium.java3
-rw-r--r--src/main/java/makamys/neodymium/config/Config.java (renamed from src/main/java/makamys/neodymium/Config.java)6
-rw-r--r--src/main/java/makamys/neodymium/config/GuiFactory.java (renamed from src/main/java/makamys/neodymium/GuiFactory.java)2
-rw-r--r--src/main/java/makamys/neodymium/config/NdGuiConfig.java (renamed from src/main/java/makamys/neodymium/NdGuiConfig.java)2
-rw-r--r--src/main/java/makamys/neodymium/renderer/ChunkMesh.java2
-rw-r--r--src/main/java/makamys/neodymium/renderer/GPUMemoryManager.java2
-rw-r--r--src/main/java/makamys/neodymium/renderer/MeshQuad.java2
-rw-r--r--src/main/java/makamys/neodymium/renderer/NeoRenderer.java2
9 files changed, 12 insertions, 10 deletions
diff --git a/src/main/java/makamys/neodymium/MixinConfigPlugin.java b/src/main/java/makamys/neodymium/MixinConfigPlugin.java
index b745944..a572d3c 100644
--- a/src/main/java/makamys/neodymium/MixinConfigPlugin.java
+++ b/src/main/java/makamys/neodymium/MixinConfigPlugin.java
@@ -9,6 +9,7 @@ import org.spongepowered.asm.lib.tree.ClassNode;
import org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin;
import org.spongepowered.asm.mixin.extensibility.IMixinInfo;
+import makamys.neodymium.config.Config;
import makamys.neodymium.util.OFUtil;
public class MixinConfigPlugin implements IMixinConfigPlugin {
diff --git a/src/main/java/makamys/neodymium/Neodymium.java b/src/main/java/makamys/neodymium/Neodymium.java
index 7573dd1..73647cf 100644
--- a/src/main/java/makamys/neodymium/Neodymium.java
+++ b/src/main/java/makamys/neodymium/Neodymium.java
@@ -22,6 +22,7 @@ import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import makamys.mclib.core.MCLib;
import makamys.mclib.core.MCLibModules;
+import makamys.neodymium.config.Config;
import makamys.neodymium.renderer.NeoRenderer;
import makamys.neodymium.util.ChatUtil;
import makamys.neodymium.util.OFUtil;
@@ -37,7 +38,7 @@ import net.minecraftforge.client.event.RenderGameOverlayEvent.ElementType;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.event.world.WorldEvent;
-@Mod(modid = Neodymium.MODID, version = Neodymium.VERSION, guiFactory = "makamys.neodymium.GuiFactory")
+@Mod(modid = Neodymium.MODID, version = Neodymium.VERSION, guiFactory = "makamys.neodymium.config.GuiFactory")
public class Neodymium
{
public static final String MODID = "neodymium";
diff --git a/src/main/java/makamys/neodymium/Config.java b/src/main/java/makamys/neodymium/config/Config.java
index 33539d0..7e5318d 100644
--- a/src/main/java/makamys/neodymium/Config.java
+++ b/src/main/java/makamys/neodymium/config/Config.java
@@ -1,4 +1,4 @@
-package makamys.neodymium;
+package makamys.neodymium.config;
import static java.nio.file.StandardWatchEventKinds.ENTRY_CREATE;
import static java.nio.file.StandardWatchEventKinds.ENTRY_DELETE;
@@ -27,7 +27,7 @@ import java.util.List;
import org.lwjgl.input.Keyboard;
import cpw.mods.fml.client.config.IConfigElement;
-import makamys.neodymium.config.HumanReadableConfigElement;
+import makamys.neodymium.Neodymium;
import net.minecraft.launchwrapper.Launch;
import net.minecraftforge.common.config.ConfigElement;
import net.minecraftforge.common.config.Configuration;
@@ -236,7 +236,7 @@ public class Config {
}
public static class ReloadInfo {
- boolean needReload;
+ public boolean needReload;
}
}
diff --git a/src/main/java/makamys/neodymium/GuiFactory.java b/src/main/java/makamys/neodymium/config/GuiFactory.java
index 7db2e32..2b9bb8e 100644
--- a/src/main/java/makamys/neodymium/GuiFactory.java
+++ b/src/main/java/makamys/neodymium/config/GuiFactory.java
@@ -1,4 +1,4 @@
-package makamys.neodymium;
+package makamys.neodymium.config;
import java.util.Set;
diff --git a/src/main/java/makamys/neodymium/NdGuiConfig.java b/src/main/java/makamys/neodymium/config/NdGuiConfig.java
index d61dffd..ff16595 100644
--- a/src/main/java/makamys/neodymium/NdGuiConfig.java
+++ b/src/main/java/makamys/neodymium/config/NdGuiConfig.java
@@ -1,4 +1,4 @@
-package makamys.neodymium;
+package makamys.neodymium.config;
import static makamys.neodymium.Neodymium.MODID;
diff --git a/src/main/java/makamys/neodymium/renderer/ChunkMesh.java b/src/main/java/makamys/neodymium/renderer/ChunkMesh.java
index df4f9f7..ea2bcb9 100644
--- a/src/main/java/makamys/neodymium/renderer/ChunkMesh.java
+++ b/src/main/java/makamys/neodymium/renderer/ChunkMesh.java
@@ -9,8 +9,8 @@ import java.util.Comparator;
import java.util.List;
import org.lwjgl.BufferUtils;
-import makamys.neodymium.Config;
import makamys.neodymium.Neodymium;
+import makamys.neodymium.config.Config;
import makamys.neodymium.ducks.IWorldRenderer;
import makamys.neodymium.util.BufferWriter;
import makamys.neodymium.util.OFUtil;
diff --git a/src/main/java/makamys/neodymium/renderer/GPUMemoryManager.java b/src/main/java/makamys/neodymium/renderer/GPUMemoryManager.java
index 4f13327..fcdec07 100644
--- a/src/main/java/makamys/neodymium/renderer/GPUMemoryManager.java
+++ b/src/main/java/makamys/neodymium/renderer/GPUMemoryManager.java
@@ -6,8 +6,8 @@ import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
-import makamys.neodymium.Config;
import makamys.neodymium.Neodymium;
+import makamys.neodymium.config.Config;
import makamys.neodymium.renderer.Mesh.GPUStatus;
import makamys.neodymium.util.GuiHelper;
import makamys.neodymium.util.ChatUtil;
diff --git a/src/main/java/makamys/neodymium/renderer/MeshQuad.java b/src/main/java/makamys/neodymium/renderer/MeshQuad.java
index d33bc75..ce3aa6f 100644
--- a/src/main/java/makamys/neodymium/renderer/MeshQuad.java
+++ b/src/main/java/makamys/neodymium/renderer/MeshQuad.java
@@ -7,7 +7,7 @@ import java.util.Locale;
import org.lwjgl.util.vector.Vector3f;
-import makamys.neodymium.Config;
+import makamys.neodymium.config.Config;
import makamys.neodymium.util.BufferWriter;
/*
diff --git a/src/main/java/makamys/neodymium/renderer/NeoRenderer.java b/src/main/java/makamys/neodymium/renderer/NeoRenderer.java
index e669ff9..9feb547 100644
--- a/src/main/java/makamys/neodymium/renderer/NeoRenderer.java
+++ b/src/main/java/makamys/neodymium/renderer/NeoRenderer.java
@@ -25,8 +25,8 @@ import org.lwjgl.opengl.GL11;
import org.lwjgl.util.vector.Matrix4f;
import org.lwjgl.util.vector.Vector4f;
-import makamys.neodymium.Config;
import makamys.neodymium.Neodymium;
+import makamys.neodymium.config.Config;
import makamys.neodymium.ducks.IWorldRenderer;
import makamys.neodymium.renderer.Mesh.GPUStatus;
import makamys.neodymium.util.GuiHelper;