public static enum CopyNbt.Action extends java.lang.Enum<CopyNbt.Action>
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
op |
Modifier and Type | Method and Description |
---|---|
static CopyNbt.Action |
getByName(java.lang.String p_216229_0_) |
abstract void |
runAction(INBT p_216227_1_,
NBTPathArgument.NBTPath p_216227_2_,
java.util.List<INBT> p_216227_3_) |
static CopyNbt.Action |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CopyNbt.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CopyNbt.Action REPLACE
public static final CopyNbt.Action APPEND
public static final CopyNbt.Action MERGE
public static CopyNbt.Action[] values()
for (CopyNbt.Action c : CopyNbt.Action.values()) System.out.println(c);
public static CopyNbt.Action valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic abstract void runAction(INBT p_216227_1_, NBTPathArgument.NBTPath p_216227_2_, java.util.List<INBT> p_216227_3_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException
public static CopyNbt.Action getByName(java.lang.String p_216229_0_)