net.minecraft.server.command

public class ReplaceItemCommand

ri
net.minecraft.class_2313
net.minecraft.server.command.ReplaceItemCommand
net.minecraft.command.impl.ReplaceItemCommand
net.minecraft.command.impl.ReplaceItemCommand

Field summary

Modifier and TypeField
private static final SimpleCommandExceptionType
a
field_21771
BLOCK_IS_NOT_INVENTORY_EXCEPTION
field_198608_a
BLOCK_FAILED_EXCEPTION
private static final DynamicCommandExceptionType
b
field_21772
SLOT_IS_NOT_APPLICABLE_EXCEPTION
field_198609_b
INAPPLICABLE_SLOT_EXCEPTION
private static final Dynamic2CommandExceptionType
c
field_21773
ENTITY_SLOT_FAILED_EXCEPTION
field_211412_c
ENTITY_FAILED_EXCEPTION

Method summary

Modifier and TypeMethod
public static void
a(CommandDispatcher<bu> arg0)
method_20924(com.mojang.brigadier.CommandDispatcher<class_3915> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher)
func_198602_a(com.mojang.brigadier.CommandDispatcher<CommandSource> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher)
private static int
a(bu arg0, el arg1, int arg2, ate arg3)
method_20922(class_3915 arg0, class_2552 arg1, int arg2, class_1071 arg3)
replaceInBlock(CommandSourceStack source, BlockPos pos, int slot, ItemStack item)
func_198603_a(CommandSource arg0, BlockPos arg1, int arg2, ItemStack arg3)
replaceItemBlock(CommandSource source, BlockPos pos, int slotIn, ItemStack newStack)
private static int
a(bu arg0, Collection<? extends aer> arg1, int arg2, ate arg3)
method_20923(class_3915 arg0, Collection<? extends class_864> arg1, int arg2, class_1071 arg3)
replaceInEntity(CommandSourceStack source, Collection<? extends Entity> targets, int slot, ItemStack item)
func_198604_a(CommandSource arg0, Collection<? extends Entity> arg1, int arg2, ItemStack arg3)
replaceItemEntities(CommandSource source, Collection<? extends Entity> targets, int slotIn, ItemStack newStack)