Package jeresources.util
Class LootTableHelper
java.lang.Object
jeresources.util.LootTableHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.LootTablesstatic net.minecraft.world.level.storage.loot.LootTablesgetLootTables(net.minecraft.world.level.Level level)static List<net.minecraft.world.level.storage.loot.LootPool>getPools(net.minecraft.world.level.storage.loot.LootTable table)toDrops(net.minecraft.world.level.Level level, net.minecraft.resources.ResourceLocation lootTable)toDrops(net.minecraft.world.level.storage.loot.LootTable table)
-
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
-
toDrops
-
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()
-