CIT Resewn

CIT Resewn

14M Downloads

I'm having trouble figuring out how to specify custom NBT paths that include a list.

DeathTr00per opened this issue ยท 2 comments

commented

I'm working on a pack that adds different tipped arrow variants to the item model of crossbows when they are loaded, but I'm having trouble figuring out how the whole CIT system works. I have copied a file over from another working resource pack so I can reference it, but the problem I'm running into is specifying an NBT field that contains a list, specifically ChargedProjectiles. I know that all of the item models are functional, since I previously made them for a pack that utilized the Chime mod to display custom models based on NBT data instead. The code block for the arrow_spectral.properties file that I'm having difficulty with is below:

type=item
matchItems=minecraft:crossbow
model=minecraft:item/crossbow/arrow_spectral
nbt.ChargedProjectiles.id=minecraft:spectral_arrow

The minecraft NBT path for ChargedProjectiles is tag:{ChargedProjectiles:[{id:}]}

commented

im sure cit resewn wiki should describe everything needed:
https://citresewn.shcm.io/cit/cit_base/#nbt-path

commented

im sure cit resewn wiki should describe everything needed: https://citresewn.shcm.io/cit/cit_base/#nbt-path

I looked at that but still wasn't able to figure it out.
I changed the final line to this but it still doesn't work.
nbt.ChargedProjectiles=[{id:"minecraft:spectral_arrow"}]