Started by
Kleiders
on
Topic category: Help with MCreator software
I created an nbt tag called "no_modifier" and I am using to creati a modifier system. The problem is that for it to work, I want to put as a condition that the item has to be in it's default state. How do I know an item's default nbt tag?
0?
I tried with 0, but it wasn't it :/ I ended up using name display for the first modifier, even though is less efective and more time consuming.
not 0?!
you could use a nbt logic tag instead which is a true/false value and defaults to false
I need the value to be able to be changed to a different text value, so using a true/false value wouldn't work :c thanks anyway for trying to help! I will continue using the name display for the first modifier, since it works.
boolean nbt isnt_fresh(will default to false)
on item in inventory tick:
>>if is item fresh(nbt isnt_fresh is false):
>>>>make item not fresh(set isnt_fresh nbt to true)
>>>>set no_modifier to some default value ya prefer