aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
authorSHsuperCM <shsupercm@gmail.com>2021-09-18 11:01:27 +0300
committerSHsuperCM <shsupercm@gmail.com>2021-09-18 11:01:27 +0300
commitadc5e8b5bdcf23e37b91409733a7c1005d0ae84a (patch)
tree2c64e77a54945b35c558d2c2c98f38adf27dbaf9 /src/main/resources
parentdc14c845024e78a0832acad0ab62f9ce781aa259 (diff)
downloadCITResewn-adc5e8b5bdcf23e37b91409733a7c1005d0ae84a.tar.gz
CITResewn-adc5e8b5bdcf23e37b91409733a7c1005d0ae84a.tar.bz2
CITResewn-adc5e8b5bdcf23e37b91409733a7c1005d0ae84a.zip
Rewrote sub item system
Sub items are now converted into model overrides and added support for loaded overrides. Closes #19 Fixes #24
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/citresewn.accesswidener12
-rw-r--r--src/main/resources/citresewn.mixins.json2
-rw-r--r--src/main/resources/fabric.mod.json1
3 files changed, 14 insertions, 1 deletions
diff --git a/src/main/resources/citresewn.accesswidener b/src/main/resources/citresewn.accesswidener
new file mode 100644
index 0000000..68faa6f
--- /dev/null
+++ b/src/main/resources/citresewn.accesswidener
@@ -0,0 +1,12 @@
+accessWidener v1 named
+
+# net.minecraft.client.render.model.json.ModelOverrideList
+accessible class net/minecraft/client/render/model/json/ModelOverrideList$BakedOverride
+accessible class net/minecraft/client/render/model/json/ModelOverrideList$InlinedCondition
+accessible method net/minecraft/client/render/model/json/ModelOverrideList <init> ()V
+accessible method net/minecraft/client/render/model/json/ModelOverrideList$BakedOverride <init> ([Lnet/minecraft/client/render/model/json/ModelOverrideList$InlinedCondition;Lnet/minecraft/client/render/model/BakedModel;)V
+accessible method net/minecraft/client/render/model/json/ModelOverrideList$InlinedCondition <init> (IF)V
+accessible field net/minecraft/client/render/model/json/ModelOverrideList overrides [Lnet/minecraft/client/render/model/json/ModelOverrideList$BakedOverride;
+mutable field net/minecraft/client/render/model/json/ModelOverrideList overrides [Lnet/minecraft/client/render/model/json/ModelOverrideList$BakedOverride;
+accessible field net/minecraft/client/render/model/json/ModelOverrideList conditionTypes [Lnet/minecraft/util/Identifier;
+mutable field net/minecraft/client/render/model/json/ModelOverrideList conditionTypes [Lnet/minecraft/util/Identifier;
diff --git a/src/main/resources/citresewn.mixins.json b/src/main/resources/citresewn.mixins.json
index 49a3a19..90a3cd1 100644
--- a/src/main/resources/citresewn.mixins.json
+++ b/src/main/resources/citresewn.mixins.json
@@ -12,8 +12,8 @@
"citarmor.ArmorFeatureRendererMixin",
"citelytra.ElytraFeatureRendererMixin",
"cititem.ItemRendererMixin",
+ "cititem.JsonUnbakedModelAccessor",
"core.GroupResourcePackAccessor",
- "core.JsonUnbakedModelAccessor",
"core.ModelLoaderMixin",
"core.NbtCompoundAccessor",
"core.SpriteAtlasTextureMixin",
diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json
index 45c4721..da29cc0 100644
--- a/src/main/resources/fabric.mod.json
+++ b/src/main/resources/fabric.mod.json
@@ -19,6 +19,7 @@
"shcm.shsupercm.fabric.citresewn.config.CITResewnModMenu"
]
},
+ "accessWidener" : "citresewn.accesswidener",
"mixins": [
"citresewn.mixins.json"
],