public class LootTableHelper
extends java.lang.Object
| Constructor and Description |
|---|
LootTableHelper() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<net.minecraft.util.ResourceLocation> |
getAllChestLootTablesResourceLocations() |
static java.util.Map<net.minecraft.util.ResourceLocation,net.minecraft.entity.LivingEntity> |
getAllMobLootTables(net.minecraft.world.World world) |
static java.util.List<net.minecraft.loot.conditions.ILootCondition> |
getLootConditions(net.minecraft.loot.LootPool pool) |
static java.util.List<net.minecraft.loot.LootEntry> |
getLootEntries(net.minecraft.loot.LootPool pool) |
static net.minecraft.loot.LootTableManager |
getManager() |
static net.minecraft.loot.LootTableManager |
getManager(net.minecraft.world.World world) |
static java.util.List<net.minecraft.loot.LootPool> |
getPools(net.minecraft.loot.LootTable table) |
static java.util.List<LootDrop> |
toDrops(net.minecraft.loot.LootTable table) |
static java.util.List<LootDrop> |
toDrops(net.minecraft.world.World world,
net.minecraft.util.ResourceLocation lootTable) |
public static java.util.List<net.minecraft.loot.LootPool> getPools(net.minecraft.loot.LootTable table)
public static java.util.List<net.minecraft.loot.LootEntry> getLootEntries(net.minecraft.loot.LootPool pool)
public static java.util.List<net.minecraft.loot.conditions.ILootCondition> getLootConditions(net.minecraft.loot.LootPool pool)
public static java.util.List<LootDrop> toDrops(net.minecraft.loot.LootTable table)
public static java.util.List<LootDrop> toDrops(net.minecraft.world.World world, net.minecraft.util.ResourceLocation lootTable)
public static java.util.List<net.minecraft.util.ResourceLocation> getAllChestLootTablesResourceLocations()
public static java.util.Map<net.minecraft.util.ResourceLocation,net.minecraft.entity.LivingEntity> getAllMobLootTables(net.minecraft.world.World world)
public static net.minecraft.loot.LootTableManager getManager(@Nullable
net.minecraft.world.World world)
public static net.minecraft.loot.LootTableManager getManager()