Package | Description |
---|---|
net.minecraft.world.storage.loot | |
net.minecraft.world.storage.loot.conditions | |
net.minecraft.world.storage.loot.functions |
Modifier and Type | Method and Description |
---|---|
LootContext |
LootContext.Builder.build() |
Modifier and Type | Method and Description |
---|---|
void |
LootEntryItem.addLoot(java.util.Collection<ItemStack> stacks,
java.util.Random rand,
LootContext context) |
void |
LootEntryEmpty.addLoot(java.util.Collection<ItemStack> stacks,
java.util.Random rand,
LootContext context) |
void |
LootEntryTable.addLoot(java.util.Collection<ItemStack> stacks,
java.util.Random rand,
LootContext context) |
abstract void |
LootEntry.addLoot(java.util.Collection<ItemStack> stacks,
java.util.Random rand,
LootContext context) |
protected void |
LootPool.createLootRoll(java.util.Collection<ItemStack> stacks,
java.util.Random rand,
LootContext context) |
void |
LootTable.fillInventory(IInventory inventory,
java.util.Random rand,
LootContext context) |
void |
LootPool.generateLoot(java.util.Collection<ItemStack> stacks,
java.util.Random rand,
LootContext context) |
java.util.List<ItemStack> |
LootTable.generateLootForPools(java.util.Random rand,
LootContext context) |
Modifier and Type | Method and Description |
---|---|
static boolean |
LootConditionManager.testAllConditions(java.lang.Iterable<LootCondition> conditions,
java.util.Random rand,
LootContext context) |
static boolean |
LootConditionManager.testAllConditions(LootCondition[] conditions,
java.util.Random rand,
LootContext context) |
boolean |
LootCondition.testCondition(java.util.Random rand,
LootContext context) |
boolean |
EntityHasScore.testCondition(java.util.Random rand,
LootContext context) |
boolean |
RandomChance.testCondition(java.util.Random rand,
LootContext context) |
boolean |
EntityHasProperty.testCondition(java.util.Random rand,
LootContext context) |
boolean |
KilledByPlayer.testCondition(java.util.Random rand,
LootContext context) |
boolean |
RandomChanceWithLooting.testCondition(java.util.Random rand,
LootContext context) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
LootingEnchantBonus.apply(ItemStack stack,
java.util.Random rand,
LootContext context) |
ItemStack |
EnchantWithLevels.apply(ItemStack stack,
java.util.Random rand,
LootContext context) |
ItemStack |
SetNBT.apply(ItemStack stack,
java.util.Random rand,
LootContext context) |
ItemStack |
SetCount.apply(ItemStack stack,
java.util.Random rand,
LootContext context) |
ItemStack |
SetAttributes.apply(ItemStack stack,
java.util.Random rand,
LootContext context) |
ItemStack |
EnchantRandomly.apply(ItemStack stack,
java.util.Random rand,
LootContext context) |
ItemStack |
Smelt.apply(ItemStack stack,
java.util.Random rand,
LootContext context) |
abstract ItemStack |
LootFunction.apply(ItemStack stack,
java.util.Random rand,
LootContext context) |
ItemStack |
SetDamage.apply(ItemStack stack,
java.util.Random rand,
LootContext context) |
ItemStack |
SetMetadata.apply(ItemStack stack,
java.util.Random rand,
LootContext context) |