-
-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Description
Issue type:
- 🐛 Bug
Short description:
Steps to reproduce the problem:
- get UUID variable (for exemple sophisticated backpacks uuid)
- Apply it to a simple function
function test(v) {return v} - Try to use result in a "nbt_from_int_list"
In the image, the variables are materialized to see the exact components.
The top part is the original variable
and below is the one passed by the js function

Expected behaviour:
That the list of integers is seen as such for the function, it makes the operator idContext.ops.intListAsNbt and ValueItemStack.withData unitilizable. I think the problem is that the NBT is well translated into js object, but not necessarily from js to Java, I think the solution would be to make a ValueNBT
Versions:
- This mod: 1.0.17
- Minecraft: 1.21.1
- Mod loader version: NeoForge 21.1.133
Log file:
Metadata
Metadata
Assignees
Type
Projects
Status
Done