#Trying to make a new builtin item renderer

11 messages · Page 1 of 1 (latest)

red sphinx
#

https://github.com/HerobaneNair/SpinningCrystals
Trying to make it so i can have the render of a 3d crystal (like how the entity is rendered but without the bouncing) in my hand but not in the gui
and I wanted it to be a built in model that's not connected to any items yet, but can be used by packs
but I keep getting this:
Caused by: java.lang.NullPointerException: Item id not set
when trying to launch.
Is there any way to fix it so I don't have to tie the 3d crystal to the item?

GitHub

Contribute to HerobaneNair/SpinningCrystals development by creating an account on GitHub.

#

lmk if it makes it easier to send specific classes in here, but there's a lot of jsons that I think might help to look at

junior holly
#

search for that error in this discord. it's an issue with the item registration.

red sphinx
junior holly
#

probably, say the trident model can be referenced from other item models so i think it's possible

#

do i have a solution? no. it will require a bit a looking into

red sphinx
#

solution was Item.Settings() needed a registryKey()

Item.Settings().registryKey(key)
fixed it

red sphinx
#

but I cannot get rid of
Missing block model: minecraft:builtin/entity/3d_end_crystal
and the 3d end crystal never renders its always purple and black cube of doom

#

any ideas?

spiral rose
#

remove that parent from your base model

#

probably change it to minecraft:block/block or something so you get the standard block display settings