Package net.minecraft.command
Class BlockDataObject
java.lang.Object
net.minecraft.command.BlockDataObject
- All Implemented Interfaces:
DataCommandObject
- Mappings:
Namespace Name official agwintermediary net/minecraft/class_3161named net/minecraft/command/BlockDataObject
-
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 official bLagw;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13785Lnet/minecraft/class_3161;field_13785:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named INVALID_BLOCK_EXCEPTIONLnet/minecraft/command/BlockDataObject;INVALID_BLOCK_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
TYPE_FACTORY
- Mappings:
Namespace Name Mixin selector official aLagw;a:Ljava/util/function/Function;intermediary field_13786Lnet/minecraft/class_3161;field_13786:Ljava/util/function/Function;named TYPE_FACTORYLnet/minecraft/command/BlockDataObject;TYPE_FACTORY:Ljava/util/function/Function;
-
blockEntity
- Mappings:
Namespace Name Mixin selector official cLagw;c:Lczk;intermediary field_13784Lnet/minecraft/class_3161;field_13784:Lnet/minecraft/class_2586;named blockEntityLnet/minecraft/command/BlockDataObject;blockEntity:Lnet/minecraft/block/entity/BlockEntity;
-
pos
- Mappings:
Namespace Name Mixin selector official dLagw;d:Lgu;intermediary field_13783Lnet/minecraft/class_3161;field_13783:Lnet/minecraft/class_2338;named posLnet/minecraft/command/BlockDataObject;pos:Lnet/minecraft/util/math/BlockPos;
-
-
Constructor Details
-
BlockDataObject
- Mappings:
Namespace Name Mixin selector official <init>Lagw;<init>(Lczk;Lgu;)Vintermediary <init>Lnet/minecraft/class_3161;<init>(Lnet/minecraft/class_2586;Lnet/minecraft/class_2338;)Vnamed <init>Lnet/minecraft/command/BlockDataObject;<init>(Lnet/minecraft/block/entity/BlockEntity;Lnet/minecraft/util/math/BlockPos;)V
-
-
Method Details
-
setNbt
- Specified by:
setNbtin interfaceDataCommandObject- Mappings:
Namespace Name Mixin selector official aLagx;a(Lqr;)Vintermediary method_13880Lnet/minecraft/class_3162;method_13880(Lnet/minecraft/class_2487;)Vnamed setNbtLnet/minecraft/command/DataCommandObject;setNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
getNbt
- Specified by:
getNbtin interfaceDataCommandObject- Mappings:
Namespace Name Mixin selector official aLagx;a()Lqr;intermediary method_13881Lnet/minecraft/class_3162;method_13881()Lnet/minecraft/class_2487;named getNbtLnet/minecraft/command/DataCommandObject;getNbt()Lnet/minecraft/nbt/NbtCompound;
-
feedbackModify
- Specified by:
feedbackModifyin interfaceDataCommandObject- Mappings:
Namespace Name Mixin selector official bLagx;b()Lsw;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 aLagx;a(Lrk;)Lsw;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/NbtElement;)Lnet/minecraft/text/Text;
-
feedbackGet
- Specified by:
feedbackGetin interfaceDataCommandObject- Mappings:
Namespace Name Mixin selector official aLagx;a(Leh$g;DI)Lsw;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;
-