Package net.minecraft.command
Class BlockDataObject
java.lang.Object
net.minecraft.command.BlockDataObject
- All Implemented Interfaces:
DataCommandObject
- Mappings:
Namespace Name named net/minecraft/command/BlockDataObjectintermediary net/minecraft/class_3161official apf
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BlockEntity(package private) static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate final BlockPosstatic 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_BLOCK_EXCEPTION
static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_BLOCK_EXCEPTION- Mappings:
Namespace Name Mixin selector named INVALID_BLOCK_EXCEPTIONLnet/minecraft/command/BlockDataObject;INVALID_BLOCK_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13785Lnet/minecraft/class_3161;field_13785:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official bLapf;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
TYPE_FACTORY
- Mappings:
Namespace Name Mixin selector named TYPE_FACTORYLnet/minecraft/command/BlockDataObject;TYPE_FACTORY:Ljava/util/function/Function;intermediary field_13786Lnet/minecraft/class_3161;field_13786:Ljava/util/function/Function;official aLapf;a:Ljava/util/function/Function;
-
blockEntity
- Mappings:
Namespace Name Mixin selector named blockEntityLnet/minecraft/command/BlockDataObject;blockEntity:Lnet/minecraft/block/entity/BlockEntity;intermediary field_13784Lnet/minecraft/class_3161;field_13784:Lnet/minecraft/class_2586;official cLapf;c:Ldqh;
-
pos
- Mappings:
Namespace Name Mixin selector named posLnet/minecraft/command/BlockDataObject;pos:Lnet/minecraft/util/math/BlockPos;intermediary field_13783Lnet/minecraft/class_3161;field_13783:Lnet/minecraft/class_2338;official dLapf;d:Ljd;
-
-
Constructor Details
-
BlockDataObject
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/command/BlockDataObject;<init>(Lnet/minecraft/block/entity/BlockEntity;Lnet/minecraft/util/math/BlockPos;)Vintermediary <init>Lnet/minecraft/class_3161;<init>(Lnet/minecraft/class_2586;Lnet/minecraft/class_2338;)Vofficial <init>Lapf;<init>(Ldqh;Ljd;)V
-
-
Method Details
-
setNbt
- Specified by:
setNbtin interfaceDataCommandObject- 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;
-