net.minecraft.server.commands

public class ItemCommands

aom
net.minecraft.server.commands.ItemCommands
net.minecraft.class_5687
net.minecraft.unmapped.C_avkrsqte
net.minecraft.server.command.ItemCommand
net.minecraft.server.command.ItemCommand
net.minecraft.src.C_141899_
net.minecraft.server.commands.ItemCommands

Field summary

Modifier and TypeField
static final com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType
a
ERROR_TARGET_NOT_A_CONTAINER
field_28018
f_sdpnarom
NOT_A_CONTAINER_TARGET_EXCEPTION
NOT_A_CONTAINER_TARGET_EXCEPTION
f_180236_
static final com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType
b
ERROR_SOURCE_NOT_A_CONTAINER
field_28020
f_slntpvzz
NOT_A_CONTAINER_SOURCE_EXCEPTION
NOT_A_CONTAINER_SOURCE_EXCEPTION
f_180238_
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
c
ERROR_TARGET_INAPPLICABLE_SLOT
field_28019
f_rbdznqzx
NO_SUCH_SLOT_TARGET_EXCEPTION
NO_SUCH_SLOT_TARGET_EXCEPTION
f_180237_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
d
ERROR_SOURCE_INAPPLICABLE_SLOT
field_28021
f_oouulalv
NO_SUCH_SLOT_SOURCE_EXCEPTION
NO_SUCH_SLOT_SOURCE_EXCEPTION
f_180239_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
e
ERROR_TARGET_NO_CHANGES
field_28022
f_njgxaeom
NO_CHANGES_EXCEPTION
NO_CHANGES_EXCEPTION
f_180240_
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
f
ERROR_TARGET_NO_CHANGES_KNOWN_ITEM
field_28023
f_lcjrmwxg
KNOWN_ITEM_EXCEPTION
KNOWN_ITEM_EXCEPTION
f_180241_
private static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
g
SUGGEST_MODIFIER
field_28024
f_dtzxyold
MODIFIER_SUGGESTION_PROVIDER
MODIFIER_SUGGESTION_PROVIDER
f_180242_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<ew> arg0, es arg1)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0, CommandBuildContext arg1)
method_32707(com.mojang.brigadier.CommandDispatcher<class_2168> arg0, class_7157 arg1)
m_nuaqchwi(com.mojang.brigadier.CommandDispatcher<C_pennblrk> arg0, C_bprdujxm arg1)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandBuildContext context)
m_214448_(com.mojang.brigadier.CommandDispatcher<C_2969_> p_214449_, C_213173_ p_214450_)
private static int
a(ew arg0, jh arg1, int arg2, jq<eyd> arg3)
modifyBlockItem(CommandSourceStack arg0, BlockPos arg1, int arg2, Holder<LootItemFunction> arg3)
method_32718(class_2168 arg0, class_2338 arg1, int arg2, class_6880<class_117> arg3)
m_lcyhfdzu(C_pennblrk arg0, C_hynzadkk arg1, int arg2, C_cjzoxshv<C_tmxhskql> arg3)
executeBlockModify(ServerCommandSource source, BlockPos pos, int slot, RegistryEntry<LootFunction> lootFunction)
executeBlockModify(ServerCommandSource source, BlockPos pos, int slot, Holder<LootFunction> lootFunctionHolder)
m_180296_(C_2969_ p_180297_, C_4675_ p_180298_, int p_180299_, C_203228_<C_2928_> p_332634_)
private static int
a(ew arg0, Collection<? extends bvk> arg1, int arg2, jq<eyd> arg3)
modifyEntityItem(CommandSourceStack arg0, Collection<? extends Entity> arg1, int arg2, Holder<LootItemFunction> arg3)
method_32725(class_2168 arg0, Collection<? extends class_1297> arg1, int arg2, class_6880<class_117> arg3)
m_ujgxiffk(C_pennblrk arg0, Collection<? extends C_astfners> arg1, int arg2, C_cjzoxshv<C_tmxhskql> arg3)
executeEntityModify(ServerCommandSource source, Collection<? extends Entity> targets, int slot, RegistryEntry<LootFunction> lootFunction)
executeEntityModify(ServerCommandSource source, Collection<? extends Entity> targets, int slot, Holder<LootFunction> arg3)
m_180336_(C_2969_ p_180337_, Collection<? extends C_507_> p_180338_, int p_180339_, C_203228_<C_2928_> p_333636_)
private static int
a(ew arg0, jh arg1, int arg2, cxp arg3)
setBlockItem(CommandSourceStack arg0, BlockPos arg1, int arg2, ItemStack arg3)
method_32717(class_2168 arg0, class_2338 arg1, int arg2, class_1799 arg3)
m_ykabmtam(C_pennblrk arg0, C_hynzadkk arg1, int arg2, C_sddaxwyk arg3)
executeBlockReplace(ServerCommandSource source, BlockPos pos, int slot, ItemStack stack)
executeBlockReplace(ServerCommandSource source, BlockPos pos, int slot, ItemStack stack)
m_180291_(C_2969_ p_180292_, C_4675_ p_180293_, int p_180294_, C_1391_ p_180295_)
static Container
a(ew arg0, jh arg1, com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType arg2)
getContainer(CommandSourceStack arg0, BlockPos arg1, com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType arg2)
method_32723(class_2168 arg0, class_2338 arg1, com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType arg2)
m_okjhljhd(C_pennblrk arg0, C_hynzadkk arg1, com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType arg2)
getInventoryAtPos(ServerCommandSource source, BlockPos pos, com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType exception)
getInventoryAtPos(ServerCommandSource source, BlockPos pos, com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType exception)
m_180327_(C_2969_ p_180328_, C_4675_ p_180329_, com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType p_180330_)
private static int
a(ew arg0, Collection<? extends bvk> arg1, int arg2, cxp arg3)
setEntityItem(CommandSourceStack arg0, Collection<? extends Entity> arg1, int arg2, ItemStack arg3)
method_32724(class_2168 arg0, Collection<? extends class_1297> arg1, int arg2, class_1799 arg3)
m_pykpvbbv(C_pennblrk arg0, Collection<? extends C_astfners> arg1, int arg2, C_sddaxwyk arg3)
executeEntityReplace(ServerCommandSource source, Collection<? extends Entity> targets, int slot, ItemStack stack)
executeEntityReplace(ServerCommandSource source, Collection<? extends Entity> targets, int slot, ItemStack stack)
m_180331_(C_2969_ p_180332_, Collection<? extends C_507_> p_180333_, int p_180334_, C_1391_ p_180335_)
private static int
a(ew arg0, jh arg1, int arg2, Collection<? extends bvk> arg3, int arg4)
blockToEntities(CommandSourceStack arg0, BlockPos arg1, int arg2, Collection<? extends Entity> arg3, int arg4)
method_32721(class_2168 arg0, class_2338 arg1, int arg2, Collection<? extends class_1297> arg3, int arg4)
m_bsymibea(C_pennblrk arg0, C_hynzadkk arg1, int arg2, Collection<? extends C_astfners> arg3, int arg4)
executeEntityCopyBlock(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, Collection<? extends Entity> targets, int slot)
executeEntityCopyBlock(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, Collection<? extends Entity> targets, int slot)
m_180314_(C_2969_ p_180315_, C_4675_ p_180316_, int p_180317_, Collection<? extends C_507_> p_180318_, int p_180319_)
private static int
a(ew arg0, jh arg1, int arg2, Collection<? extends bvk> arg3, int arg4, jq<eyd> arg5)
blockToEntities(CommandSourceStack arg0, BlockPos arg1, int arg2, Collection<? extends Entity> arg3, int arg4, Holder<LootItemFunction> arg5)
method_32722(class_2168 arg0, class_2338 arg1, int arg2, Collection<? extends class_1297> arg3, int arg4, class_6880<class_117> arg5)
m_ngcpuxgx(C_pennblrk arg0, C_hynzadkk arg1, int arg2, Collection<? extends C_astfners> arg3, int arg4, C_cjzoxshv<C_tmxhskql> arg5)
executeEntityCopyBlock(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, Collection<? extends Entity> targets, int slot, RegistryEntry<LootFunction> lootFunction)
m_ngcpuxgx(ServerCommandSource source, BlockPos pos, int slotId, Collection<? extends Entity> targets, int slot, Holder<LootFunction> lootFunctionHolder)
m_180320_(C_2969_ p_180321_, C_4675_ p_180322_, int p_180323_, Collection<? extends C_507_> p_180324_, int p_180325_, C_203228_<C_2928_> p_329510_)
private static int
a(ew arg0, jh arg1, int arg2, jh arg3, int arg4)
blockToBlock(CommandSourceStack arg0, BlockPos arg1, int arg2, BlockPos arg3, int arg4)
method_32719(class_2168 arg0, class_2338 arg1, int arg2, class_2338 arg3, int arg4)
m_wcqrdioh(C_pennblrk arg0, C_hynzadkk arg1, int arg2, C_hynzadkk arg3, int arg4)
executeBlockCopyBlock(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, BlockPos pos, int slot)
executeBlockCopyBlock(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, BlockPos pos, int slot)
m_180301_(C_2969_ p_180302_, C_4675_ p_180303_, int p_180304_, C_4675_ p_180305_, int p_180306_)
private static int
a(ew arg0, jh arg1, int arg2, jh arg3, int arg4, jq<eyd> arg5)
blockToBlock(CommandSourceStack arg0, BlockPos arg1, int arg2, BlockPos arg3, int arg4, Holder<LootItemFunction> arg5)
method_32720(class_2168 arg0, class_2338 arg1, int arg2, class_2338 arg3, int arg4, class_6880<class_117> arg5)
m_yduqjnth(C_pennblrk arg0, C_hynzadkk arg1, int arg2, C_hynzadkk arg3, int arg4, C_cjzoxshv<C_tmxhskql> arg5)
executeBlockCopyBlock(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, BlockPos pos, int slot, RegistryEntry<LootFunction> lootFunction)
m_yduqjnth(ServerCommandSource source, BlockPos arg1, int slotId, BlockPos arg3, int slot, Holder<LootFunction> lootFunctionHolder)
m_180307_(C_2969_ p_180308_, C_4675_ p_180309_, int p_180310_, C_4675_ p_180311_, int p_180312_, C_203228_<C_2928_> p_330732_)
private static int
a(ew arg0, bvk arg1, int arg2, jh arg3, int arg4)
entityToBlock(CommandSourceStack arg0, Entity arg1, int arg2, BlockPos arg3, int arg4)
method_32711(class_2168 arg0, class_1297 arg1, int arg2, class_2338 arg3, int arg4)
m_hxcvdyqb(C_pennblrk arg0, C_astfners arg1, int arg2, C_hynzadkk arg3, int arg4)
executeBlockCopyEntity(ServerCommandSource source, Entity sourceEntity, int sourceSlot, BlockPos pos, int slot)
executeBlockCopyEntity(ServerCommandSource source, Entity sourceEntity, int sourceSlot, BlockPos pos, int slot)
m_180257_(C_2969_ p_180258_, C_507_ p_180259_, int p_180260_, C_4675_ p_180261_, int p_180262_)
private static int
a(ew arg0, bvk arg1, int arg2, jh arg3, int arg4, jq<eyd> arg5)
entityToBlock(CommandSourceStack arg0, Entity arg1, int arg2, BlockPos arg3, int arg4, Holder<LootItemFunction> arg5)
method_32712(class_2168 arg0, class_1297 arg1, int arg2, class_2338 arg3, int arg4, class_6880<class_117> arg5)
m_iwmurrfb(C_pennblrk arg0, C_astfners arg1, int arg2, C_hynzadkk arg3, int arg4, C_cjzoxshv<C_tmxhskql> arg5)
executeBlockCopyEntity(ServerCommandSource source, Entity sourceEntity, int sourceSlot, BlockPos pos, int slot, RegistryEntry<LootFunction> lootFunction)
m_iwmurrfb(ServerCommandSource source, Entity entity, int slotId, BlockPos pos, int slot, Holder<LootFunction> lootFunctionHolder)
m_180263_(C_2969_ p_180264_, C_507_ p_180265_, int p_180266_, C_4675_ p_180267_, int p_180268_, C_203228_<C_2928_> p_327828_)
private static int
a(ew arg0, bvk arg1, int arg2, Collection<? extends bvk> arg3, int arg4)
entityToEntities(CommandSourceStack arg0, Entity arg1, int arg2, Collection<? extends Entity> arg3, int arg4)
method_32713(class_2168 arg0, class_1297 arg1, int arg2, Collection<? extends class_1297> arg3, int arg4)
m_sicczdfo(C_pennblrk arg0, C_astfners arg1, int arg2, Collection<? extends C_astfners> arg3, int arg4)
executeEntityCopyEntity(ServerCommandSource source, Entity sourceEntity, int sourceSlot, Collection<? extends Entity> targets, int slot)
executeEntityCopyEntity(ServerCommandSource source, Entity sourceEntity, int sourceSlot, Collection<? extends Entity> targets, int slot)
m_180270_(C_2969_ p_180271_, C_507_ p_180272_, int p_180273_, Collection<? extends C_507_> p_180274_, int p_180275_)
private static int
a(ew arg0, bvk arg1, int arg2, Collection<? extends bvk> arg3, int arg4, jq<eyd> arg5)
entityToEntities(CommandSourceStack arg0, Entity arg1, int arg2, Collection<? extends Entity> arg3, int arg4, Holder<LootItemFunction> arg5)
method_32714(class_2168 arg0, class_1297 arg1, int arg2, Collection<? extends class_1297> arg3, int arg4, class_6880<class_117> arg5)
m_smdzmwcu(C_pennblrk arg0, C_astfners arg1, int arg2, Collection<? extends C_astfners> arg3, int arg4, C_cjzoxshv<C_tmxhskql> arg5)
executeEntityCopyEntity(ServerCommandSource source, Entity sourceEntity, int sourceSlot, Collection<? extends Entity> targets, int slot, RegistryEntry<LootFunction> lootFunction)
m_smdzmwcu(ServerCommandSource source, Entity entity, int slotId, Collection<? extends Entity> targets, int slot, Holder<LootFunction> lootFunctionHolder)
m_180276_(C_2969_ p_180277_, C_507_ p_180278_, int p_180279_, Collection<? extends C_507_> p_180280_, int p_180281_, C_203228_<C_2928_> p_333656_)
private static ItemStack
a(ew arg0, jq<eyd> arg1, cxp arg2)
applyModifier(CommandSourceStack arg0, Holder<LootItemFunction> arg1, ItemStack arg2)
method_32715(class_2168 arg0, class_6880<class_117> arg1, class_1799 arg2)
m_bwwjsxuv(C_pennblrk arg0, C_cjzoxshv<C_tmxhskql> arg1, C_sddaxwyk arg2)
getStackWithModifier(ServerCommandSource source, RegistryEntry<LootFunction> lootFunction, ItemStack stack)
getStackWithModifier(ServerCommandSource source, Holder<LootFunction> lootFunctionHolder, ItemStack stack)
m_180283_(C_2969_ p_180284_, C_203228_<C_2928_> p_334601_, C_1391_ p_180286_)
private static ItemStack
a(bvk arg0, int arg1)
getEntityItem(Entity arg0, int arg1)
method_32706(class_1297 arg0, int arg1)
m_xijuwusm(C_astfners arg0, int arg1)
getStackInSlot(Entity entity, int slotId)
getStackInSlot(Entity entity, int slotId)
m_180245_(C_507_ p_180246_, int p_180247_)
private static ItemStack
a(ew arg0, jh arg1, int arg2)
getBlockItem(CommandSourceStack arg0, BlockPos arg1, int arg2)
method_32716(class_2168 arg0, class_2338 arg1, int arg2)
m_zllkbsum(C_pennblrk arg0, C_hynzadkk arg1, int arg2)
getStackInSlotFromInventoryAt(ServerCommandSource source, BlockPos pos, int slotId)
getStackInSlotFromInventoryAt(ServerCommandSource source, BlockPos pos, int slotId)
m_180287_(C_2969_ p_180288_, C_4675_ p_180289_, int p_180290_)