Class LootTableHelper

java.lang.Object
jeresources.util.LootTableHelper

public class LootTableHelper extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static List<net.minecraft.resources.ResourceLocation>
     
    static Map<net.minecraft.resources.ResourceLocation,​net.minecraft.world.entity.LivingEntity>
    getAllMobLootTables​(net.minecraft.world.level.Level world)
     
    static List<net.minecraft.world.level.storage.loot.predicates.LootItemCondition>
    getLootConditions​(net.minecraft.world.level.storage.loot.LootPool pool)
     
    static List<net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer>
    getLootEntries​(net.minecraft.world.level.storage.loot.LootPool pool)
     
    static net.minecraft.world.level.storage.loot.LootTables
     
    static net.minecraft.world.level.storage.loot.LootTables
    getLootTables​(net.minecraft.world.level.Level level)
     
    static List<net.minecraft.world.level.storage.loot.LootPool>
    getPools​(net.minecraft.world.level.storage.loot.LootTable table)
     
    static List<LootDrop>
    toDrops​(net.minecraft.world.level.Level level, net.minecraft.resources.ResourceLocation lootTable)
     
    static List<LootDrop>
    toDrops​(net.minecraft.world.level.storage.loot.LootTable table)
     

    Methods inherited from class java.lang.Object

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

    • LootTableHelper

      public LootTableHelper()
  • Method Details

    • getPools

      public static List<net.minecraft.world.level.storage.loot.LootPool> getPools​(net.minecraft.world.level.storage.loot.LootTable table)
    • getLootEntries

      public static List<net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer> getLootEntries​(net.minecraft.world.level.storage.loot.LootPool pool)
    • getLootConditions

      public static List<net.minecraft.world.level.storage.loot.predicates.LootItemCondition> getLootConditions​(net.minecraft.world.level.storage.loot.LootPool pool)
    • toDrops

      public static List<LootDrop> toDrops​(net.minecraft.world.level.storage.loot.LootTable table)
    • toDrops

      public static List<LootDrop> toDrops​(net.minecraft.world.level.Level level, net.minecraft.resources.ResourceLocation lootTable)
    • getAllChestLootTablesResourceLocations

      public static List<net.minecraft.resources.ResourceLocation> getAllChestLootTablesResourceLocations()
    • getAllMobLootTables

      public static Map<net.minecraft.resources.ResourceLocation,​net.minecraft.world.entity.LivingEntity> getAllMobLootTables​(net.minecraft.world.level.Level world)
    • getLootTables

      public static net.minecraft.world.level.storage.loot.LootTables getLootTables​(@Nullable net.minecraft.world.level.Level level)
    • getLootTables

      public static net.minecraft.world.level.storage.loot.LootTables getLootTables()