public class SetName extends LootFunction
| Modifier and Type | Class and Description |
|---|---|
static class |
SetName.Serializer |
| Constructor and Description |
|---|
SetName(LootCondition[] p_i48242_1_,
ITextComponent p_i48242_2_) |
| Modifier and Type | Method and Description |
|---|---|
ItemStack |
apply(ItemStack stack,
java.util.Random rand,
LootContext context) |
getConditionspublic SetName(LootCondition[] p_i48242_1_, @Nullable ITextComponent p_i48242_2_)
public ItemStack apply(ItemStack stack, java.util.Random rand, LootContext context)
apply in class LootFunction