Class DefaultSupplyLootProvider
java.lang.Object
com.minecolonies.core.generation.defaults.DefaultSupplyLootProvider
- All Implemented Interfaces:
net.minecraft.data.loot.LootTableSubProvider
public class DefaultSupplyLootProvider
extends Object
implements net.minecraft.data.loot.LootTableSubProvider
Loot table generator for supply camp/ship
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.resources.ResourceLocationResource locations, path and names must fit the existing json file.static final net.minecraft.resources.ResourceLocation -
Constructor Summary
ConstructorsConstructorDescriptionDefaultSupplyLootProvider(net.minecraft.core.HolderLookup.Provider provider) -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerate(BiConsumer<net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable>, net.minecraft.world.level.storage.loot.LootTable.Builder> generator)
-
Field Details
-
SUPPLY_CAMP_LT
public static final net.minecraft.resources.ResourceLocation SUPPLY_CAMP_LTResource locations, path and names must fit the existing json file. -
SUPPLY_SHIP_LT
public static final net.minecraft.resources.ResourceLocation SUPPLY_SHIP_LT
-
-
Constructor Details
-
DefaultSupplyLootProvider
public DefaultSupplyLootProvider(@NotNull net.minecraft.core.HolderLookup.Provider provider)
-
-
Method Details
-
generate
public void generate(BiConsumer<net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable>, net.minecraft.world.level.storage.loot.LootTable.Builder> generator) - Specified by:
generatein interfacenet.minecraft.data.loot.LootTableSubProvider
-