net.minecraft.server.commands

public class ReplaceItemCommand

tc
net.minecraft.server.commands.ReplaceItemCommand
net.minecraft.class_3102
net.minecraft.server.command.ReplaceItemCommand
net.minecraft.command.impl.ReplaceItemCommand
net.minecraft.server.v1_14_R1.CommandReplaceItem

Field summary

Modifier and TypeField
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
a
ERROR_NOT_A_CONTAINER
field_13696
BLOCK_FAILED_EXCEPTION
field_198608_a
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_INAPPLICABLE_SLOT
field_13695
SLOT_INAPPLICABLE_EXCEPTION
field_198609_b
public static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
c
ERROR_ENTITY_SLOT
field_13697
ENTITY_FAILED_EXCEPTION
field_211412_c

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<cd> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_13541(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
func_198602_a(com.mojang.brigadier.CommandDispatcher<CommandSource> arg0)
private static int
a(cd arg0, ew arg1, int arg2, bcj arg3)
setBlockItem(CommandSourceStack arg0, BlockPos arg1, int arg2, ItemStack arg3)
method_13539(class_2168 arg0, class_2338 arg1, int arg2, class_1799 arg3)
executeBlock(ServerCommandSource source, BlockPos pos, int slot, ItemStack item)
func_198603_a(CommandSource arg0, BlockPos arg1, int arg2, ItemStack arg3)
private static int
a(cd arg0, Collection<? extends aio> arg1, int arg2, bcj arg3)
setEntityItem(CommandSourceStack arg0, Collection<? extends Entity> arg1, int arg2, ItemStack arg3)
method_13537(class_2168 arg0, Collection<? extends class_1297> arg1, int arg2, class_1799 arg3)
executeEntity(ServerCommandSource source, Collection<? extends Entity> targets, int slot, ItemStack item)
func_198604_a(CommandSource arg0, Collection<? extends Entity> arg1, int arg2, ItemStack arg3)