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

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.resources.ResourceLocation
    Resource locations, path and names must fit the existing json file.
    static final net.minecraft.resources.ResourceLocation
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    DefaultSupplyLootProvider(net.minecraft.core.HolderLookup.Provider provider)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    generate(BiConsumer<net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable>,net.minecraft.world.level.storage.loot.LootTable.Builder> generator)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • SUPPLY_CAMP_LT

      public static final net.minecraft.resources.ResourceLocation SUPPLY_CAMP_LT
      Resource 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:
      generate in interface net.minecraft.data.loot.LootTableSubProvider