#Assign NBT compound tag to dropped item?

1 messages · Page 1 of 1 (latest)

torn furnace
#

I would like to know how I could set an nbt compound tag to an item that just dropped.

Current function for dropping items:

function drops(l: location, i: item, n: string):
    drop 1 of {_i} named "%{_n}%" with lore "&bType /sell to &aSell all drops!" at block above {_l} without velocity
snow fox
#

last spawned entity ?

#

unless you are spawning multiple

dark inlet
#

Why not add it then drop it?

torn furnace
#

So I could use something like this, that I've got for another block currently, but assign that for the drops

set {gens::tier.1::*} to white stained glass block named "&lTier 1 Gen" with lore "-----&7-----" and "&7Produces cash every 5 seconds" and "&7Upgrade cost: &820"
dark inlet
#

Use commas not and and and