CraftTweaker

CraftTweaker

151M Downloads

Unbreakable component is not serializable

jaredlll08 opened this issue ยท 1 comments

commented

Issue description

craftingTable.addShaped("scifi_boots", <item:minecraft:stone_hoe>.withUnbreakable(), [
    [<item:minecraft:air>, <item:minecraft:nether_star>, <item:minecraft:air>],
    [<item:minecraft:diamond_block>, <item:minecraft:air>, <item:minecraft:diamond_block>],
    [<item:minecraft:slime_block>, <item:minecraft:air>, <item:minecraft:slime_block>]]);

get the output of that recipe and run /ct hand, it gives:

<item:minecraft:stone_hoe>.withJsonComponent(<componenttype:minecraft:unbreakable>, <EMPTY>)

Steps to reproduce

No response

Script used

na

The crafttweaker.log file

na

Minecraft version

1.21

Modloader

All

Modloader version

na

CraftTweaker version

na

Other relevant information

No response

The latest.log file

na