CraftTweaker

CraftTweaker

151M Downloads

addAllWithChance limited to 2 selections

liquidblur opened this issue ยท 0 comments

commented

Issue description

doesnt work and doesnt drop items, no error occurs from CT in log or game chat

entityType:minecraft:bee.addPlayerOnlyLootModifier(
"killbyplayer4580", CommonLootModifiers.clearing(CommonLootModifiers.addAllWithChance(
item:calemiutils:coin_penny % 100,
item:calemiutils:coin_quarter % 40,
item:calemiutils:coin_dollar % 20,
item:minecraft:blaze_spawn_egg % 10
)));

but this works and items fall all i did was remove 2

entityType:minecraft:bee.addPlayerOnlyLootModifier(
"killbyplayer4580", CommonLootModifiers.clearing(CommonLootModifiers.addAllWithChance(
item:calemiutils:coin_penny % 100,
item:calemiutils:coin_quarter % 40
)));

Steps to reproduce

No response

Script used

https://hastebin.com/ipobedatiy.css

The crafttweaker.log file

https://hastebin.com/ipobedatiy.css

Minecraft version

1.16

Forge version

36.2.0

CraftTweaker version

7.1.0.368

Other relevant information

No response

The latest.log file

https://hastebin.com/ipobedatiy.css