Package net.minecraft.command
Class BlockDataObject
java.lang.Object
net.minecraft.command.BlockDataObject
- All Implemented Interfaces:
DataCommandObject
public class BlockDataObject extends Object implements DataCommandObject
- Mappings:
Namespace Name official zointermediary net/minecraft/class_3161named net/minecraft/command/BlockDataObject
-
Field Summary
Fields Modifier and Type Field Description private BlockEntityblockEntityprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeINVALID_BLOCK_EXCEPTIONprivate BlockPosposstatic Function<String,DataCommand.ObjectType>TYPE_FACTORY -
Constructor Summary
Constructors Constructor Description BlockDataObject(BlockEntity blockEntity, BlockPos pos) -
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_BLOCK_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_BLOCK_EXCEPTION- Mappings:
Namespace Name Mixin selector official bLzo;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 aLzo;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 cLzo;c:Lcfr;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 dLzo;d:Lfx;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>Lzo;<init>(Lcfr;Lfx;)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
-
setTag
- Specified by:
setTagin interfaceDataCommandObject- Mappings:
Namespace Name Mixin selector official aLzp;a(Lmq;)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 aLzp;a()Lmq;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 bLzp;b()Loi;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 aLzp;a(Lni;)Loi;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 aLzp;a(Ldr$g;DI)Loi;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;
-