Kajetan Johannes Hammerle 3 years ago
parent
commit
128839816a

+ 5 - 0
src/main/java/me/km/items/ModItems.java

@@ -440,6 +440,11 @@ public class ModItems {
             register(r, newItem(ItemGroup.MISC), "skill" + i);
         }
 
+        // digit icons
+        for(int i = 0; i <= 9; i++) {
+            register(r, newItem(ItemGroup.MISC), "digit_" + i);
+        }
+
         // block overrides
         try {
             PotionItem potion = new ItemNoGlintPotion();

+ 12 - 1
src/main/resources/assets/km/lang/en_us.json

@@ -202,6 +202,17 @@
     "item.km.berry_work": "Work Berry", 
     "item.km.berry_experience": "Experience Berry", 
     
+    "item.km.digit_0": "Digit 0",
+    "item.km.digit_1": "Digit 1",
+    "item.km.digit_2": "Digit 2",
+    "item.km.digit_3": "Digit 3",
+    "item.km.digit_4": "Digit 4",
+    "item.km.digit_5": "Digit 5",
+    "item.km.digit_6": "Digit 6",
+    "item.km.digit_7": "Digit 7",
+    "item.km.digit_8": "Digit 8",
+    "item.km.digit_9": "Digit 9",
+    
     "item.km.skill1": "Skill 1",
     "item.km.skill2": "Skill 2",
     "item.km.skill3": "Skill 3",
@@ -270,4 +281,4 @@
     "key.function.7": "Function Key 7", 
     "key.function.8": "Function Key 8", 
     "key.function.9": "Function Key 9"
-}
+}

+ 6 - 0
src/main/resources/assets/km/models/item/digit_0.json

@@ -0,0 +1,6 @@
+{
+    "parent": "item/generated",
+    "textures": {
+        "layer0": "km:item/digits/0"
+    }
+}

+ 6 - 0
src/main/resources/assets/km/models/item/digit_1.json

@@ -0,0 +1,6 @@
+{
+    "parent": "item/generated",
+    "textures": {
+        "layer0": "km:item/digits/1"
+    }
+}

+ 6 - 0
src/main/resources/assets/km/models/item/digit_2.json

@@ -0,0 +1,6 @@
+{
+    "parent": "item/generated",
+    "textures": {
+        "layer0": "km:item/digits/2"
+    }
+}

+ 6 - 0
src/main/resources/assets/km/models/item/digit_3.json

@@ -0,0 +1,6 @@
+{
+    "parent": "item/generated",
+    "textures": {
+        "layer0": "km:item/digits/3"
+    }
+}

+ 6 - 0
src/main/resources/assets/km/models/item/digit_4.json

@@ -0,0 +1,6 @@
+{
+    "parent": "item/generated",
+    "textures": {
+        "layer0": "km:item/digits/4"
+    }
+}

+ 6 - 0
src/main/resources/assets/km/models/item/digit_5.json

@@ -0,0 +1,6 @@
+{
+    "parent": "item/generated",
+    "textures": {
+        "layer0": "km:item/digits/5"
+    }
+}

+ 6 - 0
src/main/resources/assets/km/models/item/digit_6.json

@@ -0,0 +1,6 @@
+{
+    "parent": "item/generated",
+    "textures": {
+        "layer0": "km:item/digits/6"
+    }
+}

+ 6 - 0
src/main/resources/assets/km/models/item/digit_7.json

@@ -0,0 +1,6 @@
+{
+    "parent": "item/generated",
+    "textures": {
+        "layer0": "km:item/digits/7"
+    }
+}

+ 6 - 0
src/main/resources/assets/km/models/item/digit_8.json

@@ -0,0 +1,6 @@
+{
+    "parent": "item/generated",
+    "textures": {
+        "layer0": "km:item/digits/8"
+    }
+}

+ 6 - 0
src/main/resources/assets/km/models/item/digit_9.json

@@ -0,0 +1,6 @@
+{
+    "parent": "item/generated",
+    "textures": {
+        "layer0": "km:item/digits/9"
+    }
+}

BIN
src/main/resources/assets/km/textures/item/digits/0.png


BIN
src/main/resources/assets/km/textures/item/digits/1.png


BIN
src/main/resources/assets/km/textures/item/digits/2.png


BIN
src/main/resources/assets/km/textures/item/digits/3.png


BIN
src/main/resources/assets/km/textures/item/digits/4.png


BIN
src/main/resources/assets/km/textures/item/digits/5.png


BIN
src/main/resources/assets/km/textures/item/digits/6.png


BIN
src/main/resources/assets/km/textures/item/digits/7.png


BIN
src/main/resources/assets/km/textures/item/digits/8.png


BIN
src/main/resources/assets/km/textures/item/digits/9.png