package info.u_team.u_team_test.data.provider;

import java.util.function.Supplier;

import info.u_team.u_team_core.data.*;
import info.u_team.u_team_core.util.TriConsumer;
import net.minecraftforge.common.loot.*;

public class TestGlobalLootModifiersProvider extends CommonGlobalLootModifiersProvider {
	
	public TestGlobalLootModifiersProvider(GenerationData data) {
		super(data);
	}
	
	@Override
	protected <T extends IGlobalLootModifier> void registerGlobalLootModifiers(TriConsumer<String, Supplier<GlobalLootModifierSerializer<T>>, T> consumer) {
	}
	
}

@@ -166,16 +166,217 @@
 nsumer;%0A
+import info.u_team.u_team_test.global_loot_modifier.AutoSmeltLootModifier;%0Aimport info.u_team.u_team_test.init.*;%0Aimport net.minecraft.advancements.criterion.*;%0Aimport net.minecraft.loot.conditions.*;%0A
 import n
@@ -608,40 +608,8 @@
 cted
- %3CT extends IGlobalLootModifier%3E
  voi
@@ -667,16 +667,26 @@
 upplier%3C
+? extends 
 GlobalLo
@@ -710,31 +710,370 @@
 zer%3C
-T%3E%3E, T%3E consumer) %7B%0A%09%7D
+? extends IGlobalLootModifier%3E%3E, ? super IGlobalLootModifier%3E consumer) %7B%0A%09%09consumer.accept(%22auto_smelt%22, TestGlobalLootModifiers.AUTO_SMELT, new AutoSmeltLootModifier(new ILootCondition%5B%5D %7B MatchTool.builder(ItemPredicate.Builder.create().enchantment(new EnchantmentPredicate(TestEnchantments.AUTO_SMELT.get(), MinMaxBounds.IntBound.atLeast(1)))).build() %7D));
 %0A%09
+%7D
 %0A%7D%0A

Add auto_smelt generator