Class BlockDataObject

java.lang.Object
net.minecraft.command.BlockDataObject
All Implemented Interfaces:
DataCommandObject

public class BlockDataObject extends Object implements DataCommandObject
Mappings:
Namespace Name
named net/minecraft/command/BlockDataObject
intermediary net/minecraft/class_3161
official aqq
  • Field Details

    • INVALID_BLOCK_EXCEPTION

      static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_BLOCK_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named INVALID_BLOCK_EXCEPTION Lnet/minecraft/command/BlockDataObject;INVALID_BLOCK_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13785 Lnet/minecraft/class_3161;field_13785:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      official b Laqq;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • TYPE_FACTORY

      public static final Function<String,DataCommand.ObjectType> TYPE_FACTORY
      Mappings:
      Namespace Name Mixin selector
      named TYPE_FACTORY Lnet/minecraft/command/BlockDataObject;TYPE_FACTORY:Ljava/util/function/Function;
      intermediary field_13786 Lnet/minecraft/class_3161;field_13786:Ljava/util/function/Function;
      official a Laqq;a:Ljava/util/function/Function;
    • blockEntity

      private final BlockEntity blockEntity
      Mappings:
      Namespace Name Mixin selector
      named blockEntity Lnet/minecraft/command/BlockDataObject;blockEntity:Lnet/minecraft/block/entity/BlockEntity;
      intermediary field_13784 Lnet/minecraft/class_3161;field_13784:Lnet/minecraft/class_2586;
      official c Laqq;c:Lduw;
    • pos

      private final BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      named pos Lnet/minecraft/command/BlockDataObject;pos:Lnet/minecraft/util/math/BlockPos;
      intermediary field_13783 Lnet/minecraft/class_3161;field_13783:Lnet/minecraft/class_2338;
      official d Laqq;d:Ljh;
  • Constructor Details

    • BlockDataObject

      public BlockDataObject(BlockEntity blockEntity, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/command/BlockDataObject;<init>(Lnet/minecraft/block/entity/BlockEntity;Lnet/minecraft/util/math/BlockPos;)V
      intermediary <init> Lnet/minecraft/class_3161;<init>(Lnet/minecraft/class_2586;Lnet/minecraft/class_2338;)V
      official <init> Laqq;<init>(Lduw;Ljh;)V
  • Method Details

    • setNbt

      public void setNbt(NbtCompound nbt)
      Specified by:
      setNbt in interface DataCommandObject
      Mappings:
      Namespace Name Mixin selector
      named setNbt Lnet/minecraft/command/DataCommandObject;setNbt(Lnet/minecraft/nbt/NbtCompound;)V
      intermediary method_13880 Lnet/minecraft/class_3162;method_13880(Lnet/minecraft/class_2487;)V
      official a Laqr;a(Lux;)V
    • getNbt

      public NbtCompound getNbt()
      Specified by:
      getNbt in interface DataCommandObject
      Mappings:
      Namespace Name Mixin selector
      named getNbt Lnet/minecraft/command/DataCommandObject;getNbt()Lnet/minecraft/nbt/NbtCompound;
      intermediary method_13881 Lnet/minecraft/class_3162;method_13881()Lnet/minecraft/class_2487;
      official a Laqr;a()Lux;
    • feedbackModify

      public Text feedbackModify()
      Specified by:
      feedbackModify in interface DataCommandObject
      Mappings:
      Namespace Name Mixin selector
      named feedbackModify Lnet/minecraft/command/DataCommandObject;feedbackModify()Lnet/minecraft/text/Text;
      intermediary method_13883 Lnet/minecraft/class_3162;method_13883()Lnet/minecraft/class_2561;
      official b Laqr;b()Lxv;
    • feedbackQuery

      public Text feedbackQuery(NbtElement element)
      Specified by:
      feedbackQuery in interface DataCommandObject
      Mappings:
      Namespace Name Mixin selector
      named feedbackQuery Lnet/minecraft/command/DataCommandObject;feedbackQuery(Lnet/minecraft/nbt/NbtElement;)Lnet/minecraft/text/Text;
      intermediary method_13882 Lnet/minecraft/class_3162;method_13882(Lnet/minecraft/class_2520;)Lnet/minecraft/class_2561;
      official a Laqr;a(Lvu;)Lxv;
    • feedbackGet

      public Text feedbackGet(NbtPathArgumentType.NbtPath path, double scale, int result)
      Specified by:
      feedbackGet in interface DataCommandObject
      Mappings:
      Namespace Name Mixin selector
      named feedbackGet Lnet/minecraft/command/DataCommandObject;feedbackGet(Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;DI)Lnet/minecraft/text/Text;
      intermediary method_13879 Lnet/minecraft/class_3162;method_13879(Lnet/minecraft/class_2203$class_2209;DI)Lnet/minecraft/class_2561;
      official a Laqr;a(Lfo$g;DI)Lxv;