Enum Class CopyNbt.Action

java.lang.Object
java.lang.Enum<CopyNbt.Action>
net.minecraft.loot.functions.CopyNbt.Action
All Implemented Interfaces:
Serializable, Comparable<CopyNbt.Action>, Constable
Enclosing class:
CopyNbt

public static enum CopyNbt.Action extends Enum<CopyNbt.Action>
  • Enum Constant Details

  • Field Details

    • name

      private final String name
  • Constructor Details

    • Action

      private Action(String p_i50670_3_)
  • Method Details

    • values

      public static CopyNbt.Action[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CopyNbt.Action valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • merge

      public abstract void merge(INBT p_216227_1_, NBTPathArgument.NBTPath p_216227_2_, List<INBT> p_216227_3_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • getByName

      public static CopyNbt.Action getByName(String p_216229_0_)