TradeRebalanceLootTableProvider .java

net.minecraft.data.loot.packs.TradeRebalanceLootTableProvider (class): members: create. imports: LootTableProvider, SingleRegistryBootstrap, LootTable.

net.minecraft.data.loot.packsclass15 linescommon596 B

API Surface (1)

SingleRegistryBootstrap<LootTable> create()

Code Graph: Dependencies (4)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

TradeRebalanceLootTableProvider.java15 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.data.loot.packs;
2
3
import java.util.List;
4
import java.util.Set;
5
import net.minecraft.core.registries.SingleRegistryBootstrap;
6
import net.minecraft.data.loot.LootTableProvider;
7
import net.minecraft.world.level.storage.loot.LootTable;
8
import net.minecraft.world.level.storage.loot.parameters.LootContextParamSets;
9
10
public class TradeRebalanceLootTableProvider {
11
	public static SingleRegistryBootstrap<LootTable> create() {
12
		return new LootTableProvider(Set.of(), List.of(new LootTableProvider.SubProviderEntry(TradeRebalanceChestLoot::new, LootContextParamSets.CHEST)));
13
	}
14
}
15

Decompiled Minecraft 26.3 source of TradeRebalanceLootTableProvider (net/minecraft/data/loot/packs/TradeRebalanceLootTableProvider.java) with Mojang official mappings, stored verbatim on the site.