Package net.minecraft.command
Class EntityDataObject
java.lang.Object
net.minecraft.command.EntityDataObject
- All Implemented Interfaces:
DataCommandObject
public class EntityDataObject extends Object implements DataCommandObject
- Mappings:
Namespace Name official aabintermediary net/minecraft/class_3169named net/minecraft/command/EntityDataObject
-
Field Summary
Fields Modifier and Type Field Description private Entityentityprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeINVALID_ENTITY_EXCEPTIONstatic Function<String,DataCommand.ObjectType>TYPE_FACTORY -
Constructor Summary
Constructors Constructor Description EntityDataObject(Entity entity) -
Method Summary
Modifier and Type Method Description TextfeedbackGet(NbtPathArgumentType.NbtPath nbtPath, double scale, int result)TextfeedbackModify()TextfeedbackQuery(Tag tag)CompoundTaggetTag()voidsetTag(CompoundTag tag)
-
Field Details
-
INVALID_ENTITY_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_ENTITY_EXCEPTION- Mappings:
Namespace Name Mixin selector official bLaab;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13799Lnet/minecraft/class_3169;field_13799:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named INVALID_ENTITY_EXCEPTIONLnet/minecraft/command/EntityDataObject;INVALID_ENTITY_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
TYPE_FACTORY
- Mappings:
Namespace Name Mixin selector official aLaab;a:Ljava/util/function/Function;intermediary field_13800Lnet/minecraft/class_3169;field_13800:Ljava/util/function/Function;named TYPE_FACTORYLnet/minecraft/command/EntityDataObject;TYPE_FACTORY:Ljava/util/function/Function;
-
entity
- Mappings:
Namespace Name Mixin selector official cLaab;c:Laro;intermediary field_13801Lnet/minecraft/class_3169;field_13801:Lnet/minecraft/class_1297;named entityLnet/minecraft/command/EntityDataObject;entity:Lnet/minecraft/entity/Entity;
-
-
Constructor Details
-
EntityDataObject
- Mappings:
Namespace Name Mixin selector official <init>Laab;<init>(Laro;)Vintermediary <init>Lnet/minecraft/class_3169;<init>(Lnet/minecraft/class_1297;)Vnamed <init>Lnet/minecraft/command/EntityDataObject;<init>(Lnet/minecraft/entity/Entity;)V
-
-
Method Details
-
setTag
- Specified by:
setTagin interfaceDataCommandObject- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLzz;a(Lmr;)Vintermediary method_13880Lnet/minecraft/class_3162;method_13880(Lnet/minecraft/class_2487;)Vnamed setTagLnet/minecraft/command/DataCommandObject;setTag(Lnet/minecraft/nbt/CompoundTag;)V
-
getTag
- Specified by:
getTagin interfaceDataCommandObject- Mappings:
Namespace Name Mixin selector official aLzz;a()Lmr;intermediary method_13881Lnet/minecraft/class_3162;method_13881()Lnet/minecraft/class_2487;named getTagLnet/minecraft/command/DataCommandObject;getTag()Lnet/minecraft/nbt/CompoundTag;
-
feedbackModify
- Specified by:
feedbackModifyin interfaceDataCommandObject- Mappings:
Namespace Name Mixin selector official bLzz;b()Loj;intermediary method_13883Lnet/minecraft/class_3162;method_13883()Lnet/minecraft/class_2561;named feedbackModifyLnet/minecraft/command/DataCommandObject;feedbackModify()Lnet/minecraft/text/Text;
-
feedbackQuery
- Specified by:
feedbackQueryin interfaceDataCommandObject- Mappings:
Namespace Name Mixin selector official aLzz;a(Lnj;)Loj;intermediary method_13882Lnet/minecraft/class_3162;method_13882(Lnet/minecraft/class_2520;)Lnet/minecraft/class_2561;named feedbackQueryLnet/minecraft/command/DataCommandObject;feedbackQuery(Lnet/minecraft/nbt/Tag;)Lnet/minecraft/text/Text;
-
feedbackGet
- Specified by:
feedbackGetin interfaceDataCommandObject- Mappings:
Namespace Name Mixin selector official aLzz;a(Ldr$g;DI)Loj;intermediary method_13879Lnet/minecraft/class_3162;method_13879(Lnet/minecraft/class_2203$class_2209;DI)Lnet/minecraft/class_2561;named feedbackGetLnet/minecraft/command/DataCommandObject;feedbackGet(Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;DI)Lnet/minecraft/text/Text;
-