Wurst7 icon indicating copy to clipboard operation
Wurst7 copied to clipboard

ViewNbtCmd and ModifyCmd are not working

Open CaringCoder2004 opened this issue 1 year ago • 3 comments
trafficstars

Pre-reporting checklist

  • [X] I have searched existing issues and didn't find any previous reports of this bug.
  • [X] This bug still happens in the latest version of Wurst. I've made sure my installation is up to date.
  • [X] I have tried removing all other mods and the bug still happens.

Description

  1. Not showing item damage
  2. Not set nbt correctly

Repro steps

  1. Download latest wurst version
  2. Move to Minecraft/mods folder
  3. Run minecraft
  4. Try use modify or viewnbt

Wurst Client version

7.43.1

Minecraft version

1.21

Crash report (if applicable)

No response

CaringCoder2004 avatar Jun 20 '24 06:06 CaringCoder2004

scroll down to item stack components here: https://www.minecraft.net/en-us/article/minecraft-snapshot-24w09a

nbt data doesnt exist anymore and replaced with a new system - make sure you are following the structure here: https://minecraft.wiki/w/Data_component_format

yutaoz avatar Jun 23 '24 04:06 yutaoz

24w09a onwards .modify seems to only modify custom_data, maybe we can change it so that any field can be modified?

yutaoz avatar Jun 23 '24 06:06 yutaoz

This issue has been open for a while with no recent activity. If this issue is still important to you, please add a comment within the next 7 days to keep it open. Otherwise, the issue will be automatically closed to free up time for other tasks.

Issues should be closed if:

  • They are duplicates of other issues
  • There is not enough demand
  • They are no longer relevant
  • There are not enough details

github-actions[bot] avatar Aug 23 '24 02:08 github-actions[bot]

Is there still no viewnbt alternative in Wurst for the new components system? This change is not exactly new anymore.

n00b69 avatar Jan 28 '25 18:01 n00b69

@n00b69 Would you like to make PR for a .viewcomp command that works like .viewnbt but for components?

Alexander01998 avatar Jan 28 '25 18:01 Alexander01998

I do not have the knowledge necessary to do this, I was simply wondering if such a thing wasn't already added, as I couldn't find any information about it anywhere.

n00b69 avatar Jan 28 '25 19:01 n00b69

Added in 65e3f7a8f9354c21bb76d136e4f9d6deb97298d9 and e997d062c41461ce6006458eba9a31734403a1c0.

Alexander01998 avatar Apr 14 '25 10:04 Alexander01998