diff --git a/src/generated/resources/data/hexcasting/loot_modifiers/amethyst_cluster_shard_reducer.json b/src/generated/resources/data/hexcasting/loot_modifiers/amethyst_cluster_shard_reducer.json index d4846240..0228fd42 100644 --- a/src/generated/resources/data/hexcasting/loot_modifiers/amethyst_cluster_shard_reducer.json +++ b/src/generated/resources/data/hexcasting/loot_modifiers/amethyst_cluster_shard_reducer.json @@ -18,6 +18,6 @@ } } ], - "modifier": -2.0, + "modifier": -0.5, "type": "hexcasting:amethyst_shard_reducer" -} \ No newline at end of file +} diff --git a/src/main/java/at/petrak/hexcasting/datagen/lootmods/AmethystShardReducerModifier.java b/src/main/java/at/petrak/hexcasting/datagen/lootmods/AmethystShardReducerModifier.java index c45c89b5..f6dc85c9 100644 --- a/src/main/java/at/petrak/hexcasting/datagen/lootmods/AmethystShardReducerModifier.java +++ b/src/main/java/at/petrak/hexcasting/datagen/lootmods/AmethystShardReducerModifier.java @@ -26,7 +26,7 @@ public class AmethystShardReducerModifier extends LootModifier { protected List doApply(List generatedLoot, LootContext context) { for (var stack : generatedLoot) { if (stack.is(Items.AMETHYST_SHARD)) { - stack.shrink((int) (stack.getCount() * modifier)); + stack.setCount((int) (stack.getCount() * (1 + modifier))); } } return generatedLoot;