You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
There isn't a good way to fully manipulate item NBT in vanilla.
Describe the solution you'd like
I think it would be great to have the ability to set an item's enchantments, id, etc. to values that might even lie outside of methods like Script API.
Describe alternatives you've considered
You can accomplish nbt manipulation with external editors, but it'd be great if it was apart of the API, like BDSX did.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
player.inventory: dict[str, int|list[item|None] |dict[str, list[item|None]]] = {
"hotbar": [], # Always has a length of 9, defaulting to None"armor": { # Always has the below, replacing the appropriate None with the item."head": None,
"chest": None,
"legs": None,
"feet": None
},
"hand": 0, # Replace with index of the current hand pointing to the slot in the hotbar key"offhand": None# Replace with item.
"general": [] # The rest of the item slots, default to None
}
I don't know how to implement this in the source code, nor do I know how item will be implemented.
Is your feature request related to a problem? Please describe.
There isn't a good way to fully manipulate item NBT in vanilla.
Describe the solution you'd like
I think it would be great to have the ability to set an item's enchantments, id, etc. to values that might even lie outside of methods like Script API.
Describe alternatives you've considered
You can accomplish nbt manipulation with external editors, but it'd be great if it was apart of the API, like BDSX did.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: