Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

treblotmail

Members
  • Posts

    4
  • Joined

  • Last visited

treblotmail's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Long story short: I used blockbench to create my models, turns out it uses outdated code. Fixed up that , but now the data blockbench has given me seems to place the body parts of my entity all over the place. The original model and the result model are uploaded. EntityModel code: https://pastebin.com/Jr2pTcEB
  2. https://pastebin.com/FjpWk2M1 I included the log when I loaded up the world This log is my second time spawning into the world; the first time I summoned the entity, so you won't see the line about the entity being summoned, just me loading up the world and then the game crashing immediately after.
  3. Hi there, The problem is what the title says. When I summon my entity in the world my game crashes with a NullPointerException. Normally I would look in my code, but the stacktrace doesn't even go to any of my files. Minecraft version is 1.15.2 and mapping is 20200225-1.15.1. Should I downgrade my mc version to 1.15.1? Error: https://pastebin.com/AY2N5V1A Thanks very much for any help!
  4. I've been struggling to create a custom entity. I used BlockBench to create the model and have fixed up some parts of it (it's not complete so there is probably some terrible code in there). I have a few questions: 1. When I export the model as a .java file using BlockBench, for some reason it uses bodypart.cubeList.add() even though cubeList is private. Is there a way to get around that or is using .cubeList.add() completely wrong? 2. In other places of reference I've looked at, such as GirafiStudios' Waddles mod (https://github.com/GirafiStudios/Waddles/blob/master/src/main/java/com/girafi/waddles/client/model/PenguinModel.java) and McJty's examplemod (https://github.com/McJty/YouTubeModding14/blob/master/src/main/java/com/mcjty/mytutorial/entities/WeirdMobModel.java) for 1.14/1.15, they've all been using bodypart.addBox(). However, in my environment, the ModelRenderer.class doesn't even have the addBox method. When I try to use addBox Intellij says "cannot resolve addBox() in ModelRenderer" And I looked ModelRenderer up on the documentation and its totally there. What do I even do to get around this? Code: https://pastebin.com/4ePXPwtz If this is relevant, the forge version I am using is 1.15.1 - 30.0.50 with the default mcp mapping Thanks for any help and sorry if this is very lengthy!
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.