#Crashes with my ressource pack for cobblemon homemade fakemons

25 messages · Page 1 of 1 (latest)

valid wasp
#

hello everyone , i creating this post to try to solve an issue.

context: i trying to make fakemons with a homemade datapack and a ressource pack for my friend's modded server.
i managed to code the entities without much troubles , but now i'm struggling with the texture pack that make crash my game.
i used my friend's models , made by re-using the cobblemon's originals models for regionals forms , by retexturing and remodeling them.

i had managed to succefully make a Garchomp ice-dragon line alternative and his 3d model had no problem, but it's with a zoroark fire-dark regional form i encounter much more problems.

after many tries and reseashes , i managed to found that the problem come to the geo.json file or the animation.json file.
But i have not enough knowledge to solve the problem precisely.

i'm asking for someone that could guide me further to fix the problems and make it works , my friend put lot's of time and effort in those models and i don't want her efforts wasted.

thanks to the peoples taking times to help me
have a nice day

here's the guides i used to help me :
https://cobblemon.com/en/guides
https://www.youtube.com/watch?v=A4YuXUlPqfg&t=755s

This is a tutorial on how to implement your own pokemon into minecraft using the Cobblemon mod!

This tutorial is to only show how to implement new pokemon. It doesn't show how to edit pre existing ones or make special forms, how to use blockbench or how to install cobblemon.

Disclaimer
I am not apart of the Cobblemon team

Links
Cobblemon...

▶ Play video
stable kayakBOT
#
Welcome to the help forum!

Please make sure to read #1029373817119838218 as it may answer your question!

Once your question has been resolved, please mark the post as closed by using the </close:1163944441741049897> command.

pulsar lily
#

Afaik crashes usually happen when the poser is trying to load an animation that doesn't exist (or if there is a general syntax error).

valid wasp
#

yup of course

#

thanks a lot

pulsar lily
# valid wasp here is the part

k, so towards the end it mentions

Caused by: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 501 column 15 path $.minecraft:geometry[0].bones[57].cubes[0].uv
Which means you have a cubes in your model that use per-face uv.
Seems to be mostly located in hair, tail and ears.

#

You could try selecting everything with Ctrl+A, then rightclick any cube in the Outliner and setting the uv mode to box-uv.
Depending on your UV layout of the per-face UV cubes this might look the exact same or look off from one (or more) sides of those cubes.

valid wasp
#

could it be those line here ?

pulsar lily
# valid wasp could it be those line here ?

possible
though if I'm not wrong there is like 50 cubes that are all per-face uv in your case
-# based on search count for "uv": { in your crash log divided by 2 (cause for some reason the crash logs list the whole model two times)

valid wasp
#

it work!!!
it need a bit re texturing but it work!!!

thank you!!!!

#

thank you so much cause i have a lot other pokemons to make but it must have the same issues so i know how to avoid it

valid wasp
#

excuse me to borther you further @pulsar lily , but i coded some new pokemons , ultie a lapras variant that is invisible in game ,
is it cause some blocks outpass thze texture png like here?

valid wasp
#

it doesn't work , what could be the reason of this malfunction?

pulsar lily
#

so like

lapras

head
|-neck
body
|-leg_right
|--toe_right
etc.

valid wasp
#

you mean this ?

pulsar lily
#

(I just used some random bone names, yours can be whatever they need to be ofc)

#

everything needs to be inside the "lapras" bone

valid wasp
#

okay thanks

pulsar lily
#

And the lapras bone needs to have its pivot point at 0 0 0 iirc.

#

though that's moreso so it doesn't fall into the ground due to the hitbox being placed too high etc.

valid wasp