CraftTweaker

CraftTweaker

151M Downloads

CraftTweaker preventing block drops 1.20.4

KillerBot977 opened this issue ยท 3 comments

commented

Issue description

Blocks have stop dropping in world when CraftTweaker is downloaded/enabled. Disabling CraftTweaker will fix the issues until it is re-enabled.

Block drops stop working without or without scripts

Steps to reproduce

No response

Script used

furnace.addRecipe("dusttodiamond", item:minecraft:diamond, tag:items:c:diamond_dusts, 1.0, 100);

The crafttweaker.log file

https://pastebin.com/fT5DLrAS

Minecraft version

1.20.4

Modloader

Fabric

Modloader version

0.15.7

CraftTweaker version

14.0.36

Other relevant information

No response

The latest.log file

https://gist.github.com/KillerBot977/02c2c8c9110c887f57fbcd52c37ebc18

commented

I have tried disabling/tweaking other mods. It only started to happen once I got CraftTweaker and will only stop if i delete or disable it.

commented

can you reproduce it with just CraftTweaker installed?

If not, start with just CraftTweaker and start adding other mods until it breaks

commented

That is a large number of mods, which leads me to think this is more a mod incompatibility. Can you reproduce with CraftTweaker only?

For a more technical explanation, CraftTweaker has to hook loot table rolling in order for loot modifiers to work, and rolling loot tables is what determines a big portion of drops in the game, bar a few hardcoded ones. CraftTweaker is not the only mod that might want to do this, but the nature of these hooks means that the chance for incompatibility is very high, and this is likely what you're experiencing.