#How to get nbt data?

11 messages · Page 1 of 1 (latest)

pearl hemlock
#

I want to get the tags of an item inside a Recipe event and increase its value, I'm using create 0.5.1, so I can't use KubeJs Create addon

arctic basinBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

pearl hemlock
#

How can I acess the item inside an Recipe event? Is it possible?

haughty merlin
#

I think you misunderstand what the recipe event is for…

#

It’s for registering new recipes

#

It doesn’t fire when an item is crafted

pearl hemlock
#

You are right, what event should I use for that?

haughty merlin
#

You might want to first explain your goal a bit more so we might be able to refine your approach and get you a more concrete idea on how to go about it

#

Is your goal to make recipes that add NBT data to the item?
Is your goal to change an existing recipe to require NBT?
What exactly are you trying to do with this item NBT?

pearl hemlock
#

Sure, the andesite_jetpack_chestplate from create: stuff and additions uses a nbt tag to represent the actual fuel of the jetpack, by default you can only load up, holding the jetpack in the off hand and drop some lava buckets

I want to make possible to load using a create spout