Loot Beams: Relooted!

Loot Beams: Relooted!

16M Downloads

Set Different Colors Using NBT

Darkosto opened this issue ยท 3 comments

commented

Hello!

Would it be possible to allow loot beam colors with items that have specific nbt data. Such as having the following IDs be 2 different colors:

obtrophies:trophy{BlockEntityTag:{VariantID:0,entity:"minecraft:creeper"}}
obtrophies:trophy{BlockEntityTag:{VariantID:0,entity:"minecraft:zombified_piglin"}}

Thank you!

MC: 1.20.1
NeoForge: 47.1.76
LootBeams: lootbeams-1.20.1-1.2.2

commented

I assume the tag you're referencing is added to the item when it's spawned and not in the config under the color_overrides = [] section in the config. Is there a way to set the colors for items listed above without having to add a tag to the item itself?

commented

you can already do that with tags, check the curseforge page for the example nbt tag

commented

No way to NBT filter no, only way is to apply the nbt tag yourself somehow. Before i resourcepack-ify lootbeams configs this is out of scope, it is planned though.