Package net.minecraft.command
Class EntityDataObject
java.lang.Object
net.minecraft.command.EntityDataObject
- All Implemented Interfaces:
DataCommandObject
- Mappings:
Namespace Name named net/minecraft/command/EntityDataObjectintermediary net/minecraft/class_3169official api
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Entityprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypestatic final Function<String, DataCommand.ObjectType> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfeedbackGet(NbtPathArgumentType.NbtPath path, double scale, int result) feedbackQuery(NbtElement element) getNbt()voidsetNbt(NbtCompound nbt)
-
Field Details
-
INVALID_ENTITY_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_ENTITY_EXCEPTION- Mappings:
Namespace Name Mixin selector named INVALID_ENTITY_EXCEPTIONLnet/minecraft/command/EntityDataObject;INVALID_ENTITY_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13799Lnet/minecraft/class_3169;field_13799:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official bLapi;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
TYPE_FACTORY
- Mappings:
Namespace Name Mixin selector named TYPE_FACTORYLnet/minecraft/command/EntityDataObject;TYPE_FACTORY:Ljava/util/function/Function;intermediary field_13800Lnet/minecraft/class_3169;field_13800:Ljava/util/function/Function;official aLapi;a:Ljava/util/function/Function;
-
entity
- Mappings:
Namespace Name Mixin selector named entityLnet/minecraft/command/EntityDataObject;entity:Lnet/minecraft/entity/Entity;intermediary field_13801Lnet/minecraft/class_3169;field_13801:Lnet/minecraft/class_1297;official cLapi;c:Lbsr;
-
-
Constructor Details
-
EntityDataObject
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/command/EntityDataObject;<init>(Lnet/minecraft/entity/Entity;)Vintermediary <init>Lnet/minecraft/class_3169;<init>(Lnet/minecraft/class_1297;)Vofficial <init>Lapi;<init>(Lbsr;)V
-
-
Method Details
-
setNbt
- Specified by:
setNbtin interfaceDataCommandObject- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector named setNbtLnet/minecraft/command/DataCommandObject;setNbt(Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_13880Lnet/minecraft/class_3162;method_13880(Lnet/minecraft/class_2487;)Vofficial aLapg;a(Lub;)V
-
getNbt
- Specified by:
getNbtin interfaceDataCommandObject- Mappings:
Namespace Name Mixin selector named getNbtLnet/minecraft/command/DataCommandObject;getNbt()Lnet/minecraft/nbt/NbtCompound;intermediary method_13881Lnet/minecraft/class_3162;method_13881()Lnet/minecraft/class_2487;official aLapg;a()Lub;
-
feedbackModify
- Specified by:
feedbackModifyin interfaceDataCommandObject- Mappings:
Namespace Name Mixin selector named feedbackModifyLnet/minecraft/command/DataCommandObject;feedbackModify()Lnet/minecraft/text/Text;intermediary method_13883Lnet/minecraft/class_3162;method_13883()Lnet/minecraft/class_2561;official bLapg;b()Lwz;
-
feedbackQuery
- Specified by:
feedbackQueryin interfaceDataCommandObject- Mappings:
Namespace Name Mixin selector named feedbackQueryLnet/minecraft/command/DataCommandObject;feedbackQuery(Lnet/minecraft/nbt/NbtElement;)Lnet/minecraft/text/Text;intermediary method_13882Lnet/minecraft/class_3162;method_13882(Lnet/minecraft/class_2520;)Lnet/minecraft/class_2561;official aLapg;a(Luy;)Lwz;
-
feedbackGet
- Specified by:
feedbackGetin interfaceDataCommandObject- Mappings:
Namespace Name Mixin selector named feedbackGetLnet/minecraft/command/DataCommandObject;feedbackGet(Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;DI)Lnet/minecraft/text/Text;intermediary method_13879Lnet/minecraft/class_3162;method_13879(Lnet/minecraft/class_2203$class_2209;DI)Lnet/minecraft/class_2561;official aLapg;a(Lfl$g;DI)Lwz;
-