net.minecraft.server.commands

public class LootCommand

anj
net.minecraft.server.commands.LootCommand
net.minecraft.class_3039
net.minecraft.unmapped.C_bqrskrfs
net.minecraft.server.command.LootCommand
net.minecraft.server.command.LootCommand
net.minecraft.src.C_5345_
net.minecraft.server.commands.CommandLoot

Field summary

Modifier and TypeField
public static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
a
SUGGEST_LOOT_TABLE
field_13605
f_hxcxhxyo
SUGGESTION_PROVIDER
SUGGESTION_PROVIDER
f_137877_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_NO_HELD_ITEMS
field_13604
f_sneuzcgi
NO_HELD_ITEMS_EXCEPTION
NO_HELD_ITEMS_EXCEPTION
f_137878_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
c
ERROR_NO_LOOT_TABLE
field_13606
f_erykcpbp
NO_LOOT_TABLE_EXCEPTION
NO_LOOT_TABLE_EXCEPTION
f_137879_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<et> arg0, ep arg1)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0, CommandBuildContext arg1)
method_13193(com.mojang.brigadier.CommandDispatcher<class_2168> arg0, class_7157 arg1)
m_zqusrfbs(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_214515_(com.mojang.brigadier.CommandDispatcher<C_2969_> p_214516_, C_213173_ p_214517_)
private static <T extends com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, T>> T
a(T arg0, anj$c arg1)
addTargets(T arg0, LootCommand$TailProvider arg1)
method_13206(T arg0, class_3039$class_3042 arg1)
m_vmumvxig(T arg0, C_bqrskrfs$C_rohodeyb arg1)
addTargetArguments(T rootArgument, LootCommand$SourceConstructor sourceConstructor)
addTargetArguments(T rootArgument, LootCommand$SourceConstructor sourceConstructor)
m_137902_(T p_137903_, C_5345_$C_5348_ p_137904_)
private static Container
a(et arg0, jd arg1)
getContainer(CommandSourceStack arg0, BlockPos arg1)
method_13207(class_2168 arg0, class_2338 arg1)
m_ekwzdycy(C_pennblrk arg0, C_hynzadkk arg1)
getBlockInventory(ServerCommandSource source, BlockPos pos)
getBlockInventory(ServerCommandSource source, BlockPos pos)
m_137950_(C_2969_ p_137951_, C_4675_ p_137952_)
private static int
a(et arg0, jd arg1, List<cuq> arg2, anj$a arg3)
blockDistribute(CommandSourceStack arg0, BlockPos arg1, List<ItemStack> arg2, LootCommand$Callback arg3)
method_13196(class_2168 arg0, class_2338 arg1, List<class_1799> arg2, class_3039$class_3040 arg3)
m_ujlcnpsu(C_pennblrk arg0, C_hynzadkk arg1, List<C_sddaxwyk> arg2, C_bqrskrfs$C_ukahpgna arg3)
executeInsert(ServerCommandSource source, BlockPos targetPos, List<ItemStack> stacks, LootCommand$FeedbackMessage messageSender)
executeInsert(ServerCommandSource source, BlockPos targetPos, List<ItemStack> stacks, LootCommand$FeedbackMessage messageSender)
m_137960_(C_2969_ p_137961_, C_4675_ p_137962_, List<C_1391_> p_137963_, C_5345_$C_5346_ p_137964_)
private static boolean
a(bqk arg0, cuq arg1)
distributeToContainer(Container arg0, ItemStack arg1)
method_13223(class_1263 arg0, class_1799 arg1)
m_kmkdvxvc(C_pjtstjoq arg0, C_sddaxwyk arg1)
insert(Inventory inventory, ItemStack stack)
insert(Inventory inventory, ItemStack stack)
m_137885_(C_464_ p_137886_, C_1391_ p_137887_)
private static int
a(et arg0, jd arg1, int arg2, int arg3, List<cuq> arg4, anj$a arg5)
blockReplace(CommandSourceStack arg0, BlockPos arg1, int arg2, int arg3, List<ItemStack> arg4, LootCommand$Callback arg5)
method_13209(class_2168 arg0, class_2338 arg1, int arg2, int arg3, List<class_1799> arg4, class_3039$class_3040 arg5)
m_psozoorw(C_pennblrk arg0, C_hynzadkk arg1, int arg2, int arg3, List<C_sddaxwyk> arg4, C_bqrskrfs$C_ukahpgna arg5)
executeBlock(ServerCommandSource source, BlockPos targetPos, int slot, int stackCount, List<ItemStack> stacks, LootCommand$FeedbackMessage messageSender)
executeBlock(ServerCommandSource source, BlockPos targetPos, int slot, int stackCount, List<ItemStack> stacks, LootCommand$FeedbackMessage messageSender)
m_137953_(C_2969_ p_137954_, C_4675_ p_137955_, int p_137956_, int p_137957_, List<C_1391_> p_137958_, C_5345_$C_5346_ p_137959_)
private static boolean
a(cuq arg0, cuq arg1)
canMergeItems(ItemStack arg0, ItemStack arg1)
method_13218(class_1799 arg0, class_1799 arg1)
m_leybllih(C_sddaxwyk arg0, C_sddaxwyk arg1)
itemsMatch(ItemStack first, ItemStack second)
itemsMatch(ItemStack first, ItemStack second)
m_137894_(C_1391_ p_137895_, C_1391_ p_137896_)
private static int
a(Collection<aqv> arg0, List<cuq> arg1, anj$a arg2)
playerGive(Collection<ServerPlayer> arg0, List<ItemStack> arg1, LootCommand$Callback arg2)
method_13201(Collection<class_3222> arg0, List<class_1799> arg1, class_3039$class_3040 arg2)
m_hlkotrup(Collection<C_mxrobsgg> arg0, List<C_sddaxwyk> arg1, C_bqrskrfs$C_ukahpgna arg2)
executeGive(Collection<ServerPlayerEntity> players, List<ItemStack> stacks, LootCommand$FeedbackMessage messageSender)
executeGive(Collection<ServerPlayerEntity> players, List<ItemStack> stacks, LootCommand$FeedbackMessage messageSender)
m_137984_(Collection<C_13_> p_137985_, List<C_1391_> p_137986_, C_5345_$C_5346_ p_137987_)
private static void
a(bsr arg0, List<cuq> arg1, int arg2, int arg3, List<cuq> arg4)
setSlots(Entity arg0, List<ItemStack> arg1, int arg2, int arg3, List<ItemStack> arg4)
method_16139(class_1297 arg0, List<class_1799> arg1, int arg2, int arg3, List<class_1799> arg4)
m_nzekgwmt(C_astfners arg0, List<C_sddaxwyk> arg1, int arg2, int arg3, List<C_sddaxwyk> arg4)
replace(Entity entity, List<ItemStack> stacks, int slot, int stackCount, List<ItemStack> addedStacks)
replace(Entity entity, List<ItemStack> stacks, int slot, int stackCount, List<ItemStack> addedStacks)
m_137888_(C_507_ p_137889_, List<C_1391_> p_137890_, int p_137891_, int p_137892_, List<C_1391_> p_137893_)
private static int
a(Collection<? extends bsr> arg0, int arg1, int arg2, List<cuq> arg3, anj$a arg4)
entityReplace(Collection<? extends Entity> arg0, int arg1, int arg2, List<ItemStack> arg3, LootCommand$Callback arg4)
method_13187(Collection<? extends class_1297> arg0, int arg1, int arg2, List<class_1799> arg3, class_3039$class_3040 arg4)
m_kyuvtrll(Collection<? extends C_astfners> arg0, int arg1, int arg2, List<C_sddaxwyk> arg3, C_bqrskrfs$C_ukahpgna arg4)
executeReplace(Collection<? extends Entity> targets, int slot, int stackCount, List<ItemStack> stacks, LootCommand$FeedbackMessage messageSender)
executeReplace(Collection<? extends Entity> targets, int slot, int stackCount, List<ItemStack> stacks, LootCommand$FeedbackMessage messageSender)
m_137978_(Collection<? extends C_507_> p_137979_, int p_137980_, int p_137981_, List<C_1391_> p_137982_, C_5345_$C_5346_ p_137983_)
private static int
a(et arg0, exc arg1, List<cuq> arg2, anj$a arg3)
dropInWorld(CommandSourceStack arg0, Vec3 arg1, List<ItemStack> arg2, LootCommand$Callback arg3)
method_13183(class_2168 arg0, class_243 arg1, List<class_1799> arg2, class_3039$class_3040 arg3)
m_phqwnvkz(C_pennblrk arg0, C_vgpupfxx arg1, List<C_sddaxwyk> arg2, C_bqrskrfs$C_ukahpgna arg3)
executeSpawn(ServerCommandSource source, Vec3d pos, List<ItemStack> stacks, LootCommand$FeedbackMessage messageSender)
executeSpawn(ServerCommandSource source, Vec3d pos, List<ItemStack> stacks, LootCommand$FeedbackMessage messageSender)
m_137945_(C_2969_ p_137946_, C_3046_ p_137947_, List<C_1391_> p_137948_, C_5345_$C_5346_ p_137949_)
private static void
a(et arg0, List<cuq> arg1)
callback(CommandSourceStack arg0, List<ItemStack> arg1)
method_13213(class_2168 arg0, List<class_1799> arg1)
m_lgsnfdmc(C_pennblrk arg0, List<C_sddaxwyk> arg1)
sendDroppedFeedback(ServerCommandSource source, List<ItemStack> stacks)
sendDroppedFeedback(ServerCommandSource source, List<ItemStack> stacks)
m_137965_(C_2969_ p_137966_, List<C_1391_> p_137967_)
private static void
a(et arg0, List<cuq> arg1, akq<erw> arg2)
callback(CommandSourceStack arg0, List<ItemStack> arg1, ResourceKey<LootTable> arg2)
method_13212(class_2168 arg0, List<class_1799> arg1, class_5321<class_52> arg2)
m_lqhmryxk(C_pennblrk arg0, List<C_sddaxwyk> arg1, C_xhhleach<C_inwsuliy> arg2)
sendDroppedFeedback(ServerCommandSource source, List<ItemStack> stacks, RegistryKey<LootTable> lootTable)
m_lqhmryxk(ServerCommandSource source, List<ItemStack> arg1, RegistryKey<LootTable> registryKey)
m_137968_(C_2969_ p_137969_, List<C_1391_> p_137970_, C_5264_<C_2822_> p_327853_)
private static ItemStack
a(et arg0, bsy arg1)
getSourceHandItem(CommandSourceStack arg0, EquipmentSlot arg1)
method_13178(class_2168 arg0, class_1304 arg1)
m_iwkmtbqw(C_pennblrk arg0, C_yuycoehb arg1)
getHeldItem(ServerCommandSource source, EquipmentSlot slot)
getHeldItem(ServerCommandSource source, EquipmentSlot slot)
m_137938_(C_2969_ p_137939_, C_516_ p_137940_)
private static int
a(com.mojang.brigadier.context.CommandContext<et> arg0, jd arg1, cuq arg2, anj$b arg3)
dropBlockLoot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, BlockPos arg1, ItemStack arg2, LootCommand$DropConsumer arg3)
method_13219(com.mojang.brigadier.context.CommandContext<class_2168> arg0, class_2338 arg1, class_1799 arg2, class_3039$class_3041 arg3)
m_bvgvgvrc(com.mojang.brigadier.context.CommandContext<C_pennblrk> arg0, C_hynzadkk arg1, C_sddaxwyk arg2, C_bqrskrfs$C_jsqppuqn arg3)
executeMine(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, BlockPos pos, ItemStack stack, LootCommand$Target constructor)
executeMine(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, BlockPos pos, ItemStack stack, LootCommand$Target constructor)
m_137912_(com.mojang.brigadier.context.CommandContext<C_2969_> p_137913_, C_4675_ p_137914_, C_1391_ p_137915_, C_5345_$C_5347_ p_137916_)
private static int
a(com.mojang.brigadier.context.CommandContext<et> arg0, bsr arg1, anj$b arg2)
dropKillLoot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, Entity arg1, LootCommand$DropConsumer arg2)
method_13189(com.mojang.brigadier.context.CommandContext<class_2168> arg0, class_1297 arg1, class_3039$class_3041 arg2)
m_aufflydm(com.mojang.brigadier.context.CommandContext<C_pennblrk> arg0, C_astfners arg1, C_bqrskrfs$C_jsqppuqn arg2)
executeKill(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Entity entity, LootCommand$Target constructor)
executeKill(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Entity entity, LootCommand$Target constructor)
m_137905_(com.mojang.brigadier.context.CommandContext<C_2969_> p_137906_, C_507_ p_137907_, C_5345_$C_5347_ p_137908_)
private static int
a(com.mojang.brigadier.context.CommandContext<et> arg0, jm<erw> arg1, anj$b arg2)
dropChestLoot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, Holder<LootTable> arg1, LootCommand$DropConsumer arg2)
method_13197(com.mojang.brigadier.context.CommandContext<class_2168> arg0, class_6880<class_52> arg1, class_3039$class_3041 arg2)
m_axxuzqtn(com.mojang.brigadier.context.CommandContext<C_pennblrk> arg0, C_cjzoxshv<C_inwsuliy> arg1, C_bqrskrfs$C_jsqppuqn arg2)
executeLoot(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, RegistryEntry<LootTable> lootTable, LootCommand$Target constructor)
executeLoot(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Holder<LootTable> arg1, LootCommand$Target constructor)
m_137932_(com.mojang.brigadier.context.CommandContext<C_2969_> p_137933_, C_203228_<C_2822_> p_333711_, C_5345_$C_5347_ p_137935_)
private static int
a(com.mojang.brigadier.context.CommandContext<et> arg0, jm<erw> arg1, jd arg2, cuq arg3, anj$b arg4)
dropFishingLoot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, Holder<LootTable> arg1, BlockPos arg2, ItemStack arg3, LootCommand$DropConsumer arg4)
method_13199(com.mojang.brigadier.context.CommandContext<class_2168> arg0, class_6880<class_52> arg1, class_2338 arg2, class_1799 arg3, class_3039$class_3041 arg4)
m_lqzcrgsp(com.mojang.brigadier.context.CommandContext<C_pennblrk> arg0, C_cjzoxshv<C_inwsuliy> arg1, C_hynzadkk arg2, C_sddaxwyk arg3, C_bqrskrfs$C_jsqppuqn arg4)
executeFish(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, RegistryEntry<LootTable> lootTable, BlockPos pos, ItemStack stack, LootCommand$Target constructor)
executeFish(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Holder<LootTable> arg1, BlockPos pos, ItemStack stack, LootCommand$Target constructor)
m_137926_(com.mojang.brigadier.context.CommandContext<C_2969_> p_137927_, C_203228_<C_2822_> p_334748_, C_4675_ p_137929_, C_1391_ p_137930_, C_5345_$C_5347_ p_137931_)
private static int
a(com.mojang.brigadier.context.CommandContext<et> arg0, jm<erw> arg1, eru arg2, anj$b arg3)
drop(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, Holder<LootTable> arg1, LootParams arg2, LootCommand$DropConsumer arg3)
method_13180(com.mojang.brigadier.context.CommandContext<class_2168> arg0, class_6880<class_52> arg1, class_8567 arg2, class_3039$class_3041 arg3)
m_qqunjpod(com.mojang.brigadier.context.CommandContext<C_pennblrk> arg0, C_cjzoxshv<C_inwsuliy> arg1, C_nzsnkdtl arg2, C_bqrskrfs$C_jsqppuqn arg3)
getFeedbackMessageSingle(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, RegistryEntry<LootTable> lootTable, LootContextParameterSet lootContextParameters, LootCommand$Target constructor)
getFeedbackMessageSingle(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Holder<LootTable> arg1, LootContextParameterSet parameterSet, LootCommand$Target constructor)
m_287198_(com.mojang.brigadier.context.CommandContext<C_2969_> p_287721_, C_203228_<C_2822_> p_330660_, C_286926_ p_287728_, C_5345_$C_5347_ p_287770_)