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?
#Trying to make a new builtin item renderer
11 messages · Page 1 of 1 (latest)
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
search for that error in this discord. it's an issue with the item registration.
yeah, problem is that most of the things that people are saying is because they haven't registered an item to go with it, but is there a way to not need to register an item for it?
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
solution was Item.Settings() needed a registryKey()
Item.Settings().registryKey(key)
fixed it