public class SetName extends LootFunction
| Modifier and Type | Class and Description |
|---|---|
static class |
SetName.Serializer |
LootFunction.Builder<T extends LootFunction.Builder<T>>ILootFunction.IBuilderconditions| Modifier and Type | Method and Description |
|---|---|
ItemStack |
doApply(ItemStack stack,
LootContext context) |
static java.util.function.UnaryOperator<ITextComponent> |
func_215936_a(LootContext p_215936_0_,
LootContext.EntityTarget p_215936_1_) |
java.util.Set<LootParameter<?>> |
getRequiredParameters() |
apply, builder, func_215856_aclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfunc_215858_apublic java.util.Set<LootParameter<?>> getRequiredParameters()
public static java.util.function.UnaryOperator<ITextComponent> func_215936_a(LootContext p_215936_0_, @Nullable LootContext.EntityTarget p_215936_1_)
public ItemStack doApply(ItemStack stack, LootContext context)
doApply in class LootFunction