public class Smelt extends LootFunction
Modifier and Type | Class and Description |
---|---|
static class |
Smelt.Serializer |
Constructor and Description |
---|
Smelt(LootCondition[] conditionsIn) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
apply(ItemStack stack,
java.util.Random rand,
LootContext context) |
static IRecipe |
findMatchingRecipe(LootContext p_202880_0_,
ItemStack p_202880_1_) |
getConditions
public Smelt(LootCondition[] conditionsIn)
public ItemStack apply(ItemStack stack, java.util.Random rand, LootContext context)
apply
in class LootFunction
@Nullable public static IRecipe findMatchingRecipe(LootContext p_202880_0_, ItemStack p_202880_1_)