Problem with entities

Started by Froggy111 on

Topic category: Troubleshooting, bugs, and solutions

Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Problem with entities

So, I am making a mod for my modpack and I need to make some custom rockets. I made my models on blockbench (1.17-1.18 mojmaps, modded entity, textured and all) and used the custom model and the texture from blockbench for the entity. I also made a procedure for the launching on key press of space key:
and the log outputs this error when i press spacebar
https://pastebin.com/ekWM9GbR
I looked through it, and its something to do with the get entity returning a null value, which caused a crash
Im not sure how to fix it though
Other than that, the entity also does not appear both when i /summon it or use the spawn egg. It just doesnt appear for some reason. I made sure that the size, the texture and the model are all correct, but it just does not work and I have no idea why. Could someone please help me with these 2 problems? Thank you

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i don't know if this will…
Tue, 09/13/2022 - 01:14

i don't know if this will solve it or not but, why are you using the tag? why not use the "is _____ subtype of ____  " in the logic tab?

 

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
sorry, to clarify, i meant…
Tue, 09/13/2022 - 01:16

sorry, to clarify, i meant the "is ______ tagged in entity tags as ________" to replace with the procedure i just recommended,

Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok, I will try that later,…
Sun, 10/02/2022 - 11:53

Ok, I will try that later, thanks! 

Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Do you know how to fix the…
Sun, 10/02/2022 - 11:53

Do you know how to fix the problem with the entity not spawning?