so i wanna insert a new line of lore to existing lore using ListTags to an item in the offhand. i know thats possible for <item_in_hand.lore>, but what about <item_in_offhand.lore>? when i try offhand, it doesnt seem to return the lore properly, at least for me. does <item_in_offhand not count as an itemtag? or am i just doing it wrong
#(prodbyexiled) item_in_offhand return lore?
17 messages · Page 1 of 1 (latest)
(prodbyexiled) item_in_offhand return lore?
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
<item_in_offhand isn't a tag base, you need to connect it to an entity first before using it (<player.item_in_offhand for instance)
oh no, i know that. im already doing that
If you need help with a script issue, one of the most powerful tools Denizen has to offer is full debug output. This is displaying in your console whenever scripts are running until you turn debug off. To share a debug log quickly and easily with helpers, simply run the command /denizen debug -r in-game to begin recording, then run through the part of the script you need help with, then run the command /denizen submit. This will give you a link to a paste of the debug log, which you can then copy/paste back to us!
Content of Server Log Paste #133004: Denizen Debug Logs From A Minecraft Server... pasted 2025/04/25 22:08:24 UTC-07:00, Paste length: 347552 characters across 3186 lines, Content: `Java Version: 21.0.6 Up-time: 6h 3m Denizen Version: Core: 1.91.0-SNAPSHOT (Build 1397), Spigot: 1.3.1-SNAPSHOT (build 7143-DEV) Script Containers: 30...
look at line 689
i ran an ex command
It looks like you're adjusting the item in your main hand, not your offhand
You're getting the right info, but passing it somewhere else
yikes idk how i missed that
No worries, it happens 🙂
thanks a ton