Closed DeveloperNoShinigami closed 6 months ago
In each ItemStack, the id
tag should have only one.
If you want to edit it, maybe you will change the existing one.
I manage to give the item an additional od by going into the tag component and adding the entry there and please add naming to the gui when you right click any tab, when I hover over the icons they don't tell me what is what and it's confusing.
On Sat, Mar 23, 2024, 11:39 PM 秋 雨落 @.***> wrote:
In each ItemStack, the id tag should have only one. If you want to edit it, maybe you will change the existing one.
— Reply to this email directly, view it on GitHub https://github.com/qyl27/NBTEdit/issues/30#issuecomment-2016691206, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO2RAWLP36EGZZWRHJMXVHTYZZKIPAVCNFSM6AAAAABFFHIOMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWGY4TCMRQGY . You are receiving this because you authored the thread.Message ID: @.***>
Oh, that was updated in newer versions.
Maybe 1.18.2 doesn't have a backport yet.
I will check and backport it to 1.18.2 in a week.
Now i have a new problem, Im unable to edit the nbt of an entity.
In 1.18.2?
Can't open the editor or can't save?
Any errors or logs?
No errors at all, it allows me to attempt to edit and an entry shows. After I save it says successful but when I open it back up the entry is gone. It seems its "forgetting" the entry. I was having this problem before but it was merely my approach to creating the nbt entry for the held item that was wrong. Now it won't work for entity edits using the Same method.
On Mon, Mar 25, 2024, 5:28 AM 秋 雨落 @.***> wrote:
In 1.18.2? Can't open the editor or can't save? Any errors or logs?
— Reply to this email directly, view it on GitHub https://github.com/qyl27/NBTEdit/issues/30#issuecomment-2017677808, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO2RAWJ4PQUA7VPVCDK7L7TYZ733PAVCNFSM6AAAAABFFHIOMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJXGY3TOOBQHA . You are receiving this because you authored the thread.Message ID: @.***>
Have you checked your nbt struct or edit by using Minecraft Wiki?
In most situations, the wrong tag will be discarded.
Yes, it seems creating a new compound tag doesn't work and adding an additional ID to the root doesn't work either. On Mon, Mar 25, 2024, 8:17 AM 秋 雨落 @.***> wrote:
Have you checked your nbt struct or edit by using Minecraft Wiki http://minecraft.wiki? In most situations, the wrong tag will be discarded.
— Reply to this email directly, view it on GitHub https://github.com/qyl27/NBTEdit/issues/30#issuecomment-2017990503, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO2RAWIQJ6QNMHJHNQQVKW3Y2APYNAVCNFSM6AAAAABFFHIOMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJXHE4TANJQGM . You are receiving this because you authored the thread.Message ID: @.***>
Well, I will check it.
I can't confirm that problem.
I tried to edit the name or inventory of an entity, and it worked.
Btw, if you change the id of an entity, it won't work, because the entity with the previous id is already in Minecraft world.
I manage to give the item an additional od by going into the tag component and adding the entry there and please add naming to the gui when you right click any tab, when I hover over the icons they don't tell me what is what and it's confusing.
For this, I have released 1.18.2-5.1.1 for it.
Awesome! Also, the intention I had was to give the entity an additional ID for example I would create a tab component then include a new ID called id2 with a value of name.
On Tue, Mar 26, 2024, 4:05 AM 秋 雨落 @.***> wrote:
I manage to give the item an additional od by going into the tag component and adding the entry there and please add naming to the gui when you right click any tab, when I hover over the icons they don't tell me what is what and it's confusing.
For this, I have released 1.18.2-5.1.1 for it.
— Reply to this email directly, view it on GitHub https://github.com/qyl27/NBTEdit/issues/30#issuecomment-2019877827, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO2RAWOEA5XOKTMCR6VMWRDY2E26JAVCNFSM6AAAAABFFHIOMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJZHA3TOOBSG4 . You are receiving this because you authored the thread.Message ID: @.***>
Yes, you can, but if no code reads and saves it, it will be discarded also.
Can you provide an example of you making an additional ID on a villager? On Thu, Mar 28, 2024, 4:08 AM 秋 雨落 @.***> wrote:
Yes, you can, but if no code reads and saves it, it will be discarded also.
— Reply to this email directly, view it on GitHub https://github.com/qyl27/NBTEdit/issues/30#issuecomment-2024719922, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO2RAWKNKQZGHEICVQRA4WLY2PMXBAVCNFSM6AAAAABFFHIOMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRUG4YTSOJSGI . You are receiving this because you authored the thread.Message ID: @.***>
But which mod reads the id2
tag?
Epicfight, since it seems to read the mod I'd, my theory is that it would look for the id of what ever I mentioned in the datapack. I used this mod to make the epicfightnbt work by creating an additional ID and that worked so i should be able to replicate that process by making a datapack that points to the secons ID of the mob I wanna edit. The intention here is to choose which mobs are effected by epicfight rather than all of them.
On Thu, Mar 28, 2024, 5:22 AM 秋 雨落 @.***> wrote:
But which mod reads the id2 tag?
— Reply to this email directly, view it on GitHub https://github.com/qyl27/NBTEdit/issues/30#issuecomment-2024854593, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO2RAWKVQ2XCA566EOUCJNLY2PVQDAVCNFSM6AAAAABFFHIOMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRUHA2TINJZGM . You are receiving this because you authored the thread.Message ID: @.***>
Oh, have you ever understood how NBT works or read Minecraft Wiki carefully?
Actually, the compound is a data structure like a map, which means you can't have two tags with the same name in a compound.
I did and the name of the compound I used was different as there was no compound called tag inside of the villager nbt data.
On Thu, Mar 28, 2024, 7:16 AM 秋 雨落 @.***> wrote:
Oh, have you ever understood how NBT works or read Minecraft Wiki carefully? Actually, the compound is a data structure like a map, which means you can't have two tags with the same name in a compound.
— Reply to this email directly, view it on GitHub https://github.com/qyl27/NBTEdit/issues/30#issuecomment-2025047125, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO2RAWIBVTPJXKY7E77SILLY2QC2BAVCNFSM6AAAAABFFHIOMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRVGA2DOMJSGU . You are receiving this because you authored the thread.Message ID: @.***>
Maybe you should create a compound named tag
(case sensitive).
After a long time without a response, I will close it, if you have further questions, feel free to re-open this issue or create a new one.
I have been unable to create an alternate id tag for the weapon but it erases upon saving. Why is that?