CraftTweaker

CraftTweaker

151M Downloads

1.18.1 - Loot modifiers for entities

jamesjimmy88 opened this issue ยท 0 comments

commented

Issue description

Adding loot modifiers for entities returns an Invalid descriptor error.
The issue doesn't appear to be limited to the addPlayerOnlyLootModifier method

Steps to reproduce

No response

Script used

entitytype:minecraft:sheep.addPlayerOnlyLootModifier("loot_test", crafttweaker.api.loot.modifier.CommonLootModifiers.add(item:minecraft:cobblestone));

The crafttweaker.log file

https://pastebin.com/Zd26XNkM

Minecraft version

1.18

Modloader

Forge

Modloader version

39.0.36

CraftTweaker version

9.0.0+30

Other relevant information

No response

The latest.log file

https://pastebin.com/uPSyKjYw