Class ReplaceItemCommand

java.lang.Object
net.minecraft.server.command.ReplaceItemCommand

public class ReplaceItemCommand extends Object
Mappings:
Namespace Name
official ri
intermediary net/minecraft/class_2313
named net/minecraft/server/command/ReplaceItemCommand
  • Field Details

    • field_21771

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType field_21771
      Mappings:
      Namespace Name Mixin selector
      official a Lri;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_21771 Lnet/minecraft/class_2313;field_21771:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named field_21771 Lnet/minecraft/server/command/ReplaceItemCommand;field_21771:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • field_21772

      private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType field_21772
      Mappings:
      Namespace Name Mixin selector
      official b Lri;b:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_21772 Lnet/minecraft/class_2313;field_21772:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      named field_21772 Lnet/minecraft/server/command/ReplaceItemCommand;field_21772:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
    • field_21773

      private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType field_21773
      Mappings:
      Namespace Name Mixin selector
      official c Lri;c:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
      intermediary field_21773 Lnet/minecraft/class_2313;field_21773:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
      named field_21773 Lnet/minecraft/server/command/ReplaceItemCommand;field_21773:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
  • Constructor Details

    • ReplaceItemCommand

      public ReplaceItemCommand()
  • Method Details

    • method_20924

      public static void method_20924(com.mojang.brigadier.CommandDispatcher<class_3915> commandDispatcher)
      Mappings:
      Namespace Name Mixin selector
      official a Lri;a(Lcom/mojang/brigadier/CommandDispatcher;)V
      intermediary method_20924 Lnet/minecraft/class_2313;method_20924(Lcom/mojang/brigadier/CommandDispatcher;)V
      named method_20924 Lnet/minecraft/server/command/ReplaceItemCommand;method_20924(Lcom/mojang/brigadier/CommandDispatcher;)V
    • method_20922

      private static int method_20922(class_3915 class_3915, BlockPos blockPos, int int2, ItemStack itemStack) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lri;a(Lbu;Lel;ILate;)I
      intermediary method_20922 Lnet/minecraft/class_2313;method_20922(Lnet/minecraft/class_3915;Lnet/minecraft/class_2552;ILnet/minecraft/class_1071;)I
      named method_20922 Lnet/minecraft/server/command/ReplaceItemCommand;method_20922(Lnet/minecraft/class_3915;Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/item/ItemStack;)I
    • method_20923

      private static int method_20923(class_3915 class_3915, Collection<? extends Entity> collection, int int2, ItemStack itemStack) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lri;a(Lbu;Ljava/util/Collection;ILate;)I
      intermediary method_20923 Lnet/minecraft/class_2313;method_20923(Lnet/minecraft/class_3915;Ljava/util/Collection;ILnet/minecraft/class_1071;)I
      named method_20923 Lnet/minecraft/server/command/ReplaceItemCommand;method_20923(Lnet/minecraft/class_3915;Ljava/util/Collection;ILnet/minecraft/item/ItemStack;)I