17 lines
		
	
	
	
		
			682 B
		
	
	
	
		
			Java
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			682 B
		
	
	
	
		
			Java
		
	
	
	
	
	
| package net.minecraft.data.loot.packs;
 | |
| 
 | |
| import java.util.List;
 | |
| import java.util.Set;
 | |
| import java.util.concurrent.CompletableFuture;
 | |
| import net.minecraft.core.HolderLookup;
 | |
| import net.minecraft.data.PackOutput;
 | |
| import net.minecraft.data.loot.LootTableProvider;
 | |
| import net.minecraft.world.level.storage.loot.parameters.LootContextParamSets;
 | |
| 
 | |
| public class TradeRebalanceLootTableProvider {
 | |
| 	public static LootTableProvider create(PackOutput output, CompletableFuture<HolderLookup.Provider> registries) {
 | |
| 		return new LootTableProvider(
 | |
| 			output, Set.of(), List.of(new LootTableProvider.SubProviderEntry(TradeRebalanceChestLoot::new, LootContextParamSets.CHEST)), registries
 | |
| 		);
 | |
| 	}
 | |
| }
 |