Comments (3)
The following diff on top of the 1.19
branch worked for me to get this mod working on 1.19.2
diff --git a/src/main/java/io/github/apace100/cosmetic_armor/mixin/MixinCosmeticArmorVisibility.java b/src/main/java/io/github/apace100/cosmetic_armor/mixin/MixinCosmeticArmorVisibility.java
index 844585b..927a0f5 100644
--- a/src/main/java/io/github/apace100/cosmetic_armor/mixin/MixinCosmeticArmorVisibility.java
+++ b/src/main/java/io/github/apace100/cosmetic_armor/mixin/MixinCosmeticArmorVisibility.java
@@ -38,7 +38,7 @@ public abstract class MixinCosmeticArmorVisibility<T extends LivingEntity, M ext
@Shadow protected abstract void setVisible(A bipedModel, EquipmentSlot slot);
- @Shadow protected abstract boolean usesSecondLayer(EquipmentSlot slot);
+ @Shadow protected abstract boolean usesInnerModel(EquipmentSlot slot);
@Shadow protected abstract void renderArmorParts(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, ArmorItem item, boolean usesSecondLayer, A model, boolean legs, float red, float green, float blue, @Nullable String overlay);
@@ -102,7 +102,7 @@ public abstract class MixinCosmeticArmorVisibility<T extends LivingEntity, M ext
}
this.getContextModel().setAttributes(model);
this.setVisible(model, armorSlot);
- boolean bl = this.usesSecondLayer(armorSlot);
+ boolean bl = this.usesInnerModel(armorSlot);
boolean bl2 = itemStack.hasGlint();
if (armorItem instanceof DyeableArmorItem) {
int i = ((DyeableArmorItem)armorItem).getColor(itemStack);
from cosmetic-armor.
Hey there, I've not succeeded in getting this to work on 1.19.2, but I can see that the diff was applied on the 1.19.3 branch.
from cosmetic-armor.
Yeah I basically took the 1.19 branch and made the changes from the 1.19.3 branch needed for it to work on 1.19.2
from cosmetic-armor.
Related Issues (20)
- [Feature Request] HOT 1
- Crash with Twilight Forest HOT 2
- Rendering entity in world crash with Cosmetic Armor and MCSA
- When i click open my inventory in Minecraft, my game saves and exits. it doesn't matter what key bind my inventory in binded to HOT 1
- putting something in slot 1 of hotbar dupelicates everything into multiple cosmetic slots.
- Game crashes when I open my inventory HOT 5
- Crashing persistent post patch HOT 2
- Botania armor causing crash
- Doesn't seem to work with Create Fabric items HOT 1
- [1.19.2] [Fabric] Crash involving Soulslike Weapons and Immersive Armour
- Incompatible with a few mods HOT 2
- Crashes with immersive armours/AoF 6?
- How to hide Armor in 1.17+? (Trinkets API) HOT 3
- Conflict with Azurelib Armor HOT 3
- Cosmetic Helmet shows on other players screen HOT 2
- Compatibility with CIT Resewn
- Knight Quest incompatibility
- Curse of binding
- Doesn't work properly HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cosmetic-armor.