diff --git a/.classpath b/.classpath
new file mode 100644
index 0000000..de9424e
--- /dev/null
+++ b/.classpath
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
diff --git a/.dex/sources.json b/.dex/sources.json
deleted file mode 100644
index 077404a..0000000
--- a/.dex/sources.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
-
-}
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..46e7cc0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+output
+tsconfig.json
+*.log
+*.icmod
diff --git a/.project b/.project
new file mode 100644
index 0000000..db5f0fd
--- /dev/null
+++ b/.project
@@ -0,0 +1,23 @@
+
+
+ SignEdit
+
+
+
+
+
+
+ org.eclipse.jdt.core.javanature
+
+
+
+ 1727145722801
+
+ 30
+
+ org.eclipse.core.resources.regexFilterMatcher
+ node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__
+
+
+
+
diff --git a/README.md b/README.md
index e951dfd..0127349 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,8 @@
# SignEdit — Inner Core
-![Version](https://img.shields.io/badge/dynamic/json?label=version&query=version&url=https://raw.githubusercontent.com/nernar/signedit/master/mod.info&color=D19121&logoColor=white&logo=clockify&style=flat-square)
-![Lines of code](https://img.shields.io/tokei/lines/github/nernar/signedit?color=2727E3&logoColor=white&logo=sourcegraph&style=flat-square)
+![Version](https://img.shields.io/badge/dynamic/json?label=version&query=version&url=https%3A%2F%2Fraw.githubusercontent.com%2Fnernar%2Fsignedit%2Fmaster%2Fmod.info&color=D19121&logoColor=white&logo=gitlfs&style=flat-square)
+[![Downloads](https://img.shields.io/badge/dynamic/json?label=downloads&query=downloads&url=https%3A%2F%2Ficmods.mineprogramming.org%2Fapi%2Fdescription%3Fid%3D857&color=2727E3&logoColor=white&logo=opsgenie&style=flat-square)](https://icmods.mineprogramming.org/mod?id=857)
![License](https://img.shields.io/github/license/nernar/signedit?color=D22128&logoColor=white&logo=apache&style=flat-square)
[![Telegram](https://img.shields.io/badge/channel-gray?logo=telegram&style=flat-square)](https://t.me/ntInsideChat)
-This project maintained from [CurseForge](https://www.curseforge.com/minecraft/mc-mods/signedit). All rights belong to mod developers on Forge and are based solely on ideas presented in this mod.
-
-## Introduction
This lightweight Inner Core mod allows players to edit placed signs simply by right clicking or tapping them while holding a sign in their hand.
diff --git a/config.info.json b/assets/config.info.json
similarity index 100%
rename from config.info.json
rename to assets/config.info.json
diff --git a/config.json b/assets/config.json
similarity index 100%
rename from config.json
rename to assets/config.json
diff --git a/build.config b/build.config
deleted file mode 100644
index ea988cb..0000000
--- a/build.config
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "defaultConfig":{
- "buildType":"develop",
- "api":"Preloader"
- },
- "compile":[
- {
- "path":"launcher.js",
- "sourceType":"launcher"
- }
- ],
- "javaDirs":[
- {
- "path":"java/"
- }
- ],
- "nativeDirs":[],
- "resources":[],
- "buildDirs":[]
-}
\ No newline at end of file
diff --git a/java/classpath/kernelex-2.1.jar b/classpath/kernelex-2.1.jar
similarity index 100%
rename from java/classpath/kernelex-2.1.jar
rename to classpath/kernelex-2.1.jar
diff --git a/java/classes.dex b/java/classes.dex
deleted file mode 100644
index 036e7cd..0000000
Binary files a/java/classes.dex and /dev/null differ
diff --git a/java/manifest b/java/manifest
deleted file mode 100644
index 0967ef4..0000000
--- a/java/manifest
+++ /dev/null
@@ -1 +0,0 @@
-{}
diff --git a/java/signedit/manifest b/java/signedit/manifest
new file mode 100644
index 0000000..31f0f72
--- /dev/null
+++ b/java/signedit/manifest
@@ -0,0 +1,3 @@
+{
+ "source-dirs": ["src"]
+}
diff --git a/java/src/io/nernar/innercore/signedit/SignEdit.java b/java/signedit/src/io/nernar/innercore/signedit/SignEdit.java
similarity index 89%
rename from java/src/io/nernar/innercore/signedit/SignEdit.java
rename to java/signedit/src/io/nernar/innercore/signedit/SignEdit.java
index 46328d9..bf5daea 100644
--- a/java/src/io/nernar/innercore/signedit/SignEdit.java
+++ b/java/signedit/src/io/nernar/innercore/signedit/SignEdit.java
@@ -19,6 +19,21 @@
import vsdum.kex.natives.GlobalContext;
import vsdum.kex.natives.LocalPlayer;
+/**
+ * Copyright 2022-2024 Nernar (github.com/nernar)
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
public class SignEdit {
public static final int SIGN_TILE_ENTITY_TYPE = 4;
public static final String[] VANILLA_SIGN_IDS = new String[] { "oak_sign", "birch_sign", "spruce_sign",
@@ -151,4 +166,4 @@ public static void registerSign(String namedId) {
public static void setConfig(Config config) {
signRequiredToEdit = config.getBool("sign_required_to_edit");
}
-}
\ No newline at end of file
+}
diff --git a/launcher.js b/launcher.js
index ae8c472..01cb9d5 100644
--- a/launcher.js
+++ b/launcher.js
@@ -1,7 +1,8 @@
ConfigureMultiplayer({
isClientOnly: true
});
+Launch();
Callback.addCallback("API:KernelExtension", function() {
Packages.io.nernar.innercore.signedit.SignEdit.setConfig(__config__);
-}, 0);
+});
diff --git a/make.json b/make.json
new file mode 100644
index 0000000..b826d53
--- /dev/null
+++ b/make.json
@@ -0,0 +1,30 @@
+{
+ "$schema": "https://raw.githubusercontent.com/zheka2304/innercore-mod-toolchain/develop/toolchain/schemas/make.schema.json",
+ "info": {
+ "name": "SignEdit",
+ "version": "1.1.1",
+ "author": "Nernar",
+ "description": "Click on sign to edit."
+ },
+ "api": "Preloader",
+ "resources": [],
+ "sources": [
+ {
+ "type": "launcher",
+ "language": "javascript",
+ "source": "launcher.js"
+ }
+ ],
+ "compile": [
+ {
+ "source": "java/signedit",
+ "type": "java"
+ }
+ ],
+ "additional": [
+ {
+ "source": "assets/*",
+ "targetDir": "."
+ }
+ ]
+}
diff --git a/mod.info b/mod.info
deleted file mode 100644
index 29702c0..0000000
--- a/mod.info
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "name": "SignEdit",
- "author": "Nernar",
- "version": "1.1",
- "description": "Click on sign to edit."
-}