Jump to content

iSyriux

Members
  • Posts

    51
  • Joined

  • Last visited

Recent Profile Visitors

4051 profile views

iSyriux's Achievements

Stone Miner

Stone Miner (3/8)

0

Reputation

  1. 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.
  2. 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.
  3. 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?
  4. It only gives me two options when I hover over the error Option 1: Option 2:
  5. 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
  6. 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.
  7. 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
  8. @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.
  9. (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; } }
  10. 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
  11. I don't have anything after the return of the armour model
  12. Actually basic coding. I didn't realise Method was another name for function
  13. @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.
  14. If I return my armour model it gives an error, so the only thing I can return is _default
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.