Class CommonEvents.LootTables

java.lang.Object
net.rebel459.unified.impl.core.CommonEvents.LootTables
Enclosing class:
CommonEvents

public static class CommonEvents.LootTables extends Object
  • Field Details

  • Method Details

    • passModify

      public static boolean passModify(net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> key, CommonEvents.LootTables.PoolAccess pools, net.minecraft.core.HolderLookup.Provider provider)
    • passModify

      public static void passModify(net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> key, LootTableContext table, net.minecraft.core.HolderLookup.Provider provider)
    • matches

      public static boolean matches(net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer entry, Predicate<net.minecraft.world.item.Item> itemPredicate)
    • handlePoolReplacements

      public static boolean handlePoolReplacements(List<net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer> entries, Predicate<net.minecraft.world.item.Item> itemPredicate, net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer builtEntry, net.minecraft.world.level.storage.loot.LootPool.Builder pool)
    • handlePoolRemovals

      public static boolean handlePoolRemovals(List<net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer> entries, Predicate<net.minecraft.world.item.Item> itemPredicate, net.minecraft.world.level.storage.loot.LootPool.Builder pool)