Class EntityDataObject

java.lang.Object
net.minecraft.command.EntityDataObject
All Implemented Interfaces:
DataCommandObject

public class EntityDataObject extends Object implements DataCommandObject
Mappings:
Namespace Name
named net/minecraft/command/EntityDataObject
intermediary net/minecraft/class_3169
official apw
  • Field Details

    • INVALID_ENTITY_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_ENTITY_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named INVALID_ENTITY_EXCEPTION Lnet/minecraft/command/EntityDataObject;INVALID_ENTITY_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13799 Lnet/minecraft/class_3169;field_13799:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      official b Lapw;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • TYPE_FACTORY

      public static final Function<String,DataCommand.ObjectType> TYPE_FACTORY
      Mappings:
      Namespace Name Mixin selector
      named TYPE_FACTORY Lnet/minecraft/command/EntityDataObject;TYPE_FACTORY:Ljava/util/function/Function;
      intermediary field_13800 Lnet/minecraft/class_3169;field_13800:Ljava/util/function/Function;
      official a Lapw;a:Ljava/util/function/Function;
    • entity

      private final Entity entity
      Mappings:
      Namespace Name Mixin selector
      named entity Lnet/minecraft/command/EntityDataObject;entity:Lnet/minecraft/entity/Entity;
      intermediary field_13801 Lnet/minecraft/class_3169;field_13801:Lnet/minecraft/class_1297;
      official c Lapw;c:Lbsw;
  • Constructor Details

    • EntityDataObject

      public EntityDataObject(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/command/EntityDataObject;<init>(Lnet/minecraft/entity/Entity;)V
      intermediary <init> Lnet/minecraft/class_3169;<init>(Lnet/minecraft/class_1297;)V
      official <init> Lapw;<init>(Lbsw;)V
  • Method Details

    • setNbt

      public void setNbt(NbtCompound nbt) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      setNbt in interface DataCommandObject
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      named setNbt Lnet/minecraft/command/DataCommandObject;setNbt(Lnet/minecraft/nbt/NbtCompound;)V
      intermediary method_13880 Lnet/minecraft/class_3162;method_13880(Lnet/minecraft/class_2487;)V
      official a Lapu;a(Lus;)V
    • getNbt

      public NbtCompound getNbt()
      Specified by:
      getNbt in interface DataCommandObject
      Mappings:
      Namespace Name Mixin selector
      named getNbt Lnet/minecraft/command/DataCommandObject;getNbt()Lnet/minecraft/nbt/NbtCompound;
      intermediary method_13881 Lnet/minecraft/class_3162;method_13881()Lnet/minecraft/class_2487;
      official a Lapu;a()Lus;
    • feedbackModify

      public Text feedbackModify()
      Specified by:
      feedbackModify in interface DataCommandObject
      Mappings:
      Namespace Name Mixin selector
      named feedbackModify Lnet/minecraft/command/DataCommandObject;feedbackModify()Lnet/minecraft/text/Text;
      intermediary method_13883 Lnet/minecraft/class_3162;method_13883()Lnet/minecraft/class_2561;
      official b Lapu;b()Lxp;
    • feedbackQuery

      public Text feedbackQuery(NbtElement element)
      Specified by:
      feedbackQuery in interface DataCommandObject
      Mappings:
      Namespace Name Mixin selector
      named feedbackQuery Lnet/minecraft/command/DataCommandObject;feedbackQuery(Lnet/minecraft/nbt/NbtElement;)Lnet/minecraft/text/Text;
      intermediary method_13882 Lnet/minecraft/class_3162;method_13882(Lnet/minecraft/class_2520;)Lnet/minecraft/class_2561;
      official a Lapu;a(Lvp;)Lxp;
    • feedbackGet

      public Text feedbackGet(NbtPathArgumentType.NbtPath path, double scale, int result)
      Specified by:
      feedbackGet in interface DataCommandObject
      Mappings:
      Namespace Name Mixin selector
      named feedbackGet Lnet/minecraft/command/DataCommandObject;feedbackGet(Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;DI)Lnet/minecraft/text/Text;
      intermediary method_13879 Lnet/minecraft/class_3162;method_13879(Lnet/minecraft/class_2203$class_2209;DI)Lnet/minecraft/class_2561;
      official a Lapu;a(Lfh$g;DI)Lxp;