#Custom Deployer Recipe using NBT data.

1 messages · Page 1 of 1 (latest)

hasty bolt
#

I'm trying to make a deploying recipe using a certain item. Depending on the entity type, the recipe will grant a diffrent spawn egg. How do I do this?

mossy quartzBOT
#

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

knotty oxide
#

Add

.weakNBT()

hasty bolt
knotty oxide
#

Nothing

#

Hold the item in your hand and then run /kjs hand click that message in the chat and paste that into the script where the item goes and then add .weakNBT() at the end

#

@hasty bolt

hasty bolt
#

the recipe uses all variants of the item, not just the one with the tag

hasty bolt
knotty oxide
#

Send the code

hasty bolt
sacred oysterBOT
#

Paste version of example.js from @hasty bolt

hasty bolt
#

(1.20.1 btw)

knotty oxide
#

Add .weakNBT() here

hasty bolt
#

oops

#

works now. Thanks!

knotty oxide
#

You're welcome

sacred oysterBOT
#

Please close your ticket (with </ticket close:1054771505520717835> or the button atop this thread) once you resolved your issue!
This also helps others that would like to help out, as they don't have to look into this thread to check if it has been resolved by now.

Do you have any other questions regarding your issue? Feel free to ask!
Note: You should create a new post for unrelated issues.