Package net.minecraft.command
Class BlockDataObject
java.lang.Object
net.minecraft.command.BlockDataObject
- All Implemented Interfaces:
DataCommandObject
- Mappings:
Namespace Name official als
intermediary net/minecraft/class_3161
named net/minecraft/command/BlockDataObject
-
Field Summary
Modifier and TypeFieldDescriptionprivate final BlockEntity
(package private) static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private final BlockPos
static final Function<String,
DataCommand.ObjectType> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfeedbackGet
(NbtPathArgumentType.NbtPath path, double scale, int result) feedbackQuery
(NbtElement element) getNbt()
void
setNbt
(NbtCompound nbt)
-
Field Details
-
INVALID_BLOCK_EXCEPTION
static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_BLOCK_EXCEPTION- Mappings:
Namespace Name Mixin selector official b
Lals;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_13785
Lnet/minecraft/class_3161;field_13785:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
named INVALID_BLOCK_EXCEPTION
Lnet/minecraft/command/BlockDataObject;INVALID_BLOCK_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
TYPE_FACTORY
- Mappings:
Namespace Name Mixin selector official a
Lals;a:Ljava/util/function/Function;
intermediary field_13786
Lnet/minecraft/class_3161;field_13786:Ljava/util/function/Function;
named TYPE_FACTORY
Lnet/minecraft/command/BlockDataObject;TYPE_FACTORY:Ljava/util/function/Function;
-
blockEntity
- Mappings:
Namespace Name Mixin selector official c
Lals;c:Ldgv;
intermediary field_13784
Lnet/minecraft/class_3161;field_13784:Lnet/minecraft/class_2586;
named blockEntity
Lnet/minecraft/command/BlockDataObject;blockEntity:Lnet/minecraft/block/entity/BlockEntity;
-
pos
- Mappings:
Namespace Name Mixin selector official d
Lals;d:Lhx;
intermediary field_13783
Lnet/minecraft/class_3161;field_13783:Lnet/minecraft/class_2338;
named pos
Lnet/minecraft/command/BlockDataObject;pos:Lnet/minecraft/util/math/BlockPos;
-
-
Constructor Details
-
BlockDataObject
- Mappings:
Namespace Name Mixin selector official <init>
Lals;<init>(Ldgv;Lhx;)V
intermediary <init>
Lnet/minecraft/class_3161;<init>(Lnet/minecraft/class_2586;Lnet/minecraft/class_2338;)V
named <init>
Lnet/minecraft/command/BlockDataObject;<init>(Lnet/minecraft/block/entity/BlockEntity;Lnet/minecraft/util/math/BlockPos;)V
-
-
Method Details
-
setNbt
- Specified by:
setNbt
in interfaceDataCommandObject
- Mappings:
Namespace Name Mixin selector official a
Lalt;a(Lsn;)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
Lalt;a()Lsn;
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
Lalt;b()Lvf;
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
Lalt;a(Ltk;)Lvf;
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
Lalt;a(Lek$g;DI)Lvf;
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;
-