iSyriux
Members-
Posts
51 -
Joined
-
Last visited
Recent Profile Visitors
iSyriux's Achievements
Stone Miner (3/8)
0
Reputation
-
(1.16.1) How to add another texture layer to chestplate
iSyriux replied to iSyriux's topic in Modder Support
Alright. Thanks for the information. I refactored the names of my PowerReinforcedArmourItem class into PowerReinforcedArmorItem, and pauldronarmourmodel to pauldronarmormodel. Unfortunately, after doing so, I have still the same error I had a few posts ago. -
(1.16.1) How to add another texture layer to chestplate
iSyriux replied to iSyriux's topic in Modder Support
I didn't..? I put it in PowerReenforcedArmourItem Also I think you think that I had a custom model class before, but it was just the suggestion the error gave me two posts above. -
(1.16.1) How to add another texture layer to chestplate
iSyriux replied to iSyriux's topic in Modder Support
Thank you for your excellent comprehension of my question, so I imported the custom_model class but it appears as red and is not used? Is there any way I can make it be used? -
(1.16.1) How to add another texture layer to chestplate
iSyriux replied to iSyriux's topic in Modder Support
-
(1.16.1) How to add another texture layer to chestplate
iSyriux replied to iSyriux's topic in Modder Support
Where do I put new custom_model(a_float_value), I'm sorry if you take this as a bad question, but I scrolled up and I saw that I needed to work on the return, which I had already did The error asks me to create a new class, so should I do that? Sorry again, I analysed your answer fully a couple of times and I still can't see where you said to put -
(1.16.1) How to add another texture layer to chestplate
iSyriux replied to iSyriux's topic in Modder Support
Okay, thank you for the assistance. I removed the constructor and replaced it with a value, however the custom_model was unknown to the class, so I added a private variable to the class that returned null, but it does not seem to function, even though my code now lacks errors. -
(1.16.1) How to add another texture layer to chestplate
iSyriux replied to iSyriux's topic in Modder Support
Sorry, I didn't realise that I had to use a float. I cached the custom model into a variable so I don't need to use new anymore, however, both of the lines give errors -
(1.16.1) How to add another texture layer to chestplate
iSyriux replied to iSyriux's topic in Modder Support
@MostafaSabry55 I'm sorry if my questions seem rhetorical but I have a hard time understanding new concepts, even if you throw an answer at my face. Where is the place where I can learn java the fastest? @ChampionAsh5357 What do you mean by caching the model?, also I put my constructor argument from the registhandler in the custom_model, however does not seem to function correctly. -
(1.16.1) How to add another texture layer to chestplate
iSyriux replied to iSyriux's topic in Modder Support
(here is the full code for reference) // Made with Blockbench 3.6.3 // Exported for Minecraft version 1.15 // Paste this class into your mod and generate all required imports public class custom_model extends BipedModel<LivingEntity> { private final ModelRenderer bipedHead; private final ModelRenderer bipedHeadwear; private final ModelRenderer bipedBody; private final ModelRenderer bipedRightLeg; private final ModelRenderer bipedLeftLeg; private final ModelRenderer bipedLeftArm; private final ModelRenderer bipedRightArm; public custom_model(float modelSize) { super(modelSize, 0.0F, 64, 40); ModelRenderer bipedBody = new ModelRenderer(this); bipedBody.setRotationPoint(0.0F, 0.0F, 0.0F); bipedBody.setTextureOffset(0, 32).addBox(-9.0F, 0.0F, -2.0F, 18.0F, 4.0F, 4.0F, 0.25F, false); } public void setRotationAngle(ModelRenderer modelRenderer, float x, float y, float z) { modelRenderer.rotateAngleX = x; modelRenderer.rotateAngleY = y; modelRenderer.rotateAngleZ = z; } } -
(1.16.1) How to add another texture layer to chestplate
iSyriux replied to iSyriux's topic in Modder Support
Okay, so I traced the method back to pauldronarmouritem.java and found that BipedModel extended Living Entity, but when I return it it gives an error -
(1.16.1) How to add another texture layer to chestplate
iSyriux replied to iSyriux's topic in Modder Support
-
(1.16.1) How to add another texture layer to chestplate
iSyriux replied to iSyriux's topic in Modder Support
Actually basic coding. I didn't realise Method was another name for function -
(1.16.1) How to add another texture layer to chestplate
iSyriux replied to iSyriux's topic in Modder Support
@Draco18sCan you reiterate? I don't know what is type A. I Apologise if my questions seem redundant or moronic, I am quite new to minecraft modding. @Danebi I have all my code in the github link above. -
(1.16.1) How to add another texture layer to chestplate
iSyriux replied to iSyriux's topic in Modder Support
-
(1.16.1) How to add another texture layer to chestplate
iSyriux replied to iSyriux's topic in Modder Support
So how do you add the layer?