Package net.minecraft.command
Class EntityDataObject
java.lang.Object
net.minecraft.command.EntityDataObject
- All Implemented Interfaces:
DataCommandObject
- Mappings:
Namespace Name official afc
intermediary net/minecraft/class_3169
named net/minecraft/command/EntityDataObject
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Entity
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
static final Function<String,
DataCommand.ObjectType> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfeedbackGet
(NbtPathArgumentType.NbtPath path, double scale, int result) feedbackQuery
(NbtElement element) getNbt()
void
setNbt
(NbtCompound nbt)
-
Field Details
-
INVALID_ENTITY_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_ENTITY_EXCEPTION- Mappings:
Namespace Name Mixin selector official b
Lafc;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_13799
Lnet/minecraft/class_3169;field_13799:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
named INVALID_ENTITY_EXCEPTION
Lnet/minecraft/command/EntityDataObject;INVALID_ENTITY_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
TYPE_FACTORY
- Mappings:
Namespace Name Mixin selector official a
Lafc;a:Ljava/util/function/Function;
intermediary field_13800
Lnet/minecraft/class_3169;field_13800:Ljava/util/function/Function;
named TYPE_FACTORY
Lnet/minecraft/command/EntityDataObject;TYPE_FACTORY:Ljava/util/function/Function;
-
entity
- Mappings:
Namespace Name Mixin selector official c
Lafc;c:Lbbn;
intermediary field_13801
Lnet/minecraft/class_3169;field_13801:Lnet/minecraft/class_1297;
named entity
Lnet/minecraft/command/EntityDataObject;entity:Lnet/minecraft/entity/Entity;
-
-
Constructor Details
-
EntityDataObject
- Mappings:
Namespace Name Mixin selector official <init>
Lafc;<init>(Lbbn;)V
intermediary <init>
Lnet/minecraft/class_3169;<init>(Lnet/minecraft/class_1297;)V
named <init>
Lnet/minecraft/command/EntityDataObject;<init>(Lnet/minecraft/entity/Entity;)V
-
-
Method Details
-
setNbt
- Specified by:
setNbt
in interfaceDataCommandObject
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Lafa;a(Lpj;)V
intermediary method_13880
Lnet/minecraft/class_3162;method_13880(Lnet/minecraft/class_2487;)V
named setNbt
Lnet/minecraft/command/DataCommandObject;setNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
getNbt
- Specified by:
getNbt
in interfaceDataCommandObject
- Mappings:
Namespace Name Mixin selector official a
Lafa;a()Lpj;
intermediary method_13881
Lnet/minecraft/class_3162;method_13881()Lnet/minecraft/class_2487;
named getNbt
Lnet/minecraft/command/DataCommandObject;getNbt()Lnet/minecraft/nbt/NbtCompound;
-
feedbackModify
- Specified by:
feedbackModify
in interfaceDataCommandObject
- Mappings:
Namespace Name Mixin selector official b
Lafa;b()Lrq;
intermediary method_13883
Lnet/minecraft/class_3162;method_13883()Lnet/minecraft/class_2561;
named feedbackModify
Lnet/minecraft/command/DataCommandObject;feedbackModify()Lnet/minecraft/text/Text;
-
feedbackQuery
- Specified by:
feedbackQuery
in interfaceDataCommandObject
- Mappings:
Namespace Name Mixin selector official a
Lafa;a(Lqc;)Lrq;
intermediary method_13882
Lnet/minecraft/class_3162;method_13882(Lnet/minecraft/class_2520;)Lnet/minecraft/class_2561;
named feedbackQuery
Lnet/minecraft/command/DataCommandObject;feedbackQuery(Lnet/minecraft/nbt/NbtElement;)Lnet/minecraft/text/Text;
-
feedbackGet
- Specified by:
feedbackGet
in interfaceDataCommandObject
- Mappings:
Namespace Name Mixin selector official a
Lafa;a(Leh$g;DI)Lrq;
intermediary method_13879
Lnet/minecraft/class_3162;method_13879(Lnet/minecraft/class_2203$class_2209;DI)Lnet/minecraft/class_2561;
named feedbackGet
Lnet/minecraft/command/DataCommandObject;feedbackGet(Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;DI)Lnet/minecraft/text/Text;
-