net.minecraft.server.commands

public class LootCommand

yx
net.minecraft.server.commands.LootCommand
net.minecraft.class_3039
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
SUGGESTION_PROVIDER
f_137877_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_NO_HELD_ITEMS
field_13604
NO_HELD_ITEMS_EXCEPTION
f_137878_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
c
ERROR_NO_LOOT_TABLE
field_13606
NO_LOOT_TABLE_EXCEPTION
f_137879_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<dl> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_13193(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
m_137897_(com.mojang.brigadier.CommandDispatcher<C_2969_> p_137898_)
private static <T extends com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, T>> T
a(T arg0, yx$c arg1)
addTargets(T arg0, LootCommand$TailProvider arg1)
method_13206(T arg0, class_3039$class_3042 arg1)
addTargetArguments(T rootArgument, LootCommand$SourceConstructor sourceConstructor)
m_137902_(T p_137903_, C_5345_$C_5348_ p_137904_)
private static Container
a(dl arg0, gg arg1)
getContainer(CommandSourceStack arg0, BlockPos arg1)
method_13207(class_2168 arg0, class_2338 arg1)
getBlockInventory(ServerCommandSource source, BlockPos pos)
m_137950_(C_2969_ p_137951_, C_4675_ p_137952_)
private static int
a(dl arg0, gg arg1, List<bqp> arg2, yx$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)
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(art arg0, bqp arg1)
distributeToContainer(Container arg0, ItemStack arg1)
method_13223(class_1263 arg0, class_1799 arg1)
insert(Inventory inventory, ItemStack stack)
m_137885_(C_464_ p_137886_, C_1391_ p_137887_)
private static int
a(dl arg0, gg arg1, int arg2, int arg3, List<bqp> arg4, yx$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)
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(bqp arg0, bqp arg1)
canMergeItems(ItemStack arg0, ItemStack arg1)
method_13218(class_1799 arg0, class_1799 arg1)
itemsMatch(ItemStack first, ItemStack second)
m_137894_(C_1391_ p_137895_, C_1391_ p_137896_)
private static int
a(Collection<abs> arg0, List<bqp> arg1, yx$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)
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(atf arg0, List<bqp> arg1, int arg2, int arg3, List<bqp> 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)
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 atf> arg0, int arg1, int arg2, List<bqp> arg3, yx$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)
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(dl arg0, dna arg1, List<bqp> arg2, yx$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)
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(dl arg0, List<bqp> arg1)
callback(CommandSourceStack arg0, List<ItemStack> arg1)
method_13213(class_2168 arg0, List<class_1799> arg1)
sendDroppedFeedback(ServerCommandSource source, List<ItemStack> stacks)
m_137965_(C_2969_ p_137966_, List<C_1391_> p_137967_)
private static void
a(dl arg0, List<bqp> arg1, ww arg2)
callback(CommandSourceStack arg0, List<ItemStack> arg1, ResourceLocation arg2)
method_13212(class_2168 arg0, List<class_1799> arg1, class_2960 arg2)
sendDroppedFeedback(ServerCommandSource source, List<ItemStack> stacks, Identifier lootTable)
m_137968_(C_2969_ p_137969_, List<C_1391_> p_137970_, C_5265_ p_137971_)
private static ItemStack
a(dl arg0, atk arg1)
getSourceHandItem(CommandSourceStack arg0, EquipmentSlot arg1)
method_13178(class_2168 arg0, class_1304 arg1)
getHeldItem(ServerCommandSource source, EquipmentSlot slot)
m_137938_(C_2969_ p_137939_, C_516_ p_137940_)
private static int
a(com.mojang.brigadier.context.CommandContext<dl> arg0, gg arg1, bqp arg2, yx$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)
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<dl> arg0, atf arg1, yx$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)
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<dl> arg0, ww arg1, yx$b arg2)
dropChestLoot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, ResourceLocation arg1, LootCommand$DropConsumer arg2)
method_13197(com.mojang.brigadier.context.CommandContext<class_2168> arg0, class_2960 arg1, class_3039$class_3041 arg2)
executeLoot(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Identifier lootTable, LootCommand$Target constructor)
m_137932_(com.mojang.brigadier.context.CommandContext<C_2969_> p_137933_, C_5265_ p_137934_, C_5345_$C_5347_ p_137935_)
private static int
a(com.mojang.brigadier.context.CommandContext<dl> arg0, ww arg1, gg arg2, bqp arg3, yx$b arg4)
dropFishingLoot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, ResourceLocation arg1, BlockPos arg2, ItemStack arg3, LootCommand$DropConsumer arg4)
method_13199(com.mojang.brigadier.context.CommandContext<class_2168> arg0, class_2960 arg1, class_2338 arg2, class_1799 arg3, class_3039$class_3041 arg4)
executeFish(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Identifier lootTable, BlockPos pos, ItemStack stack, LootCommand$Target constructor)
m_137926_(com.mojang.brigadier.context.CommandContext<C_2969_> p_137927_, C_5265_ p_137928_, C_4675_ p_137929_, C_1391_ p_137930_, C_5345_$C_5347_ p_137931_)
private static int
a(com.mojang.brigadier.context.CommandContext<dl> arg0, ww arg1, dip arg2, yx$b arg3)
drop(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, ResourceLocation arg1, LootContext arg2, LootCommand$DropConsumer arg3)
method_13180(com.mojang.brigadier.context.CommandContext<class_2168> arg0, class_2960 arg1, class_47 arg2, class_3039$class_3041 arg3)
getFeedbackMessageSingle(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Identifier lootTable, LootContext lootContext, LootCommand$Target constructor)
m_137921_(com.mojang.brigadier.context.CommandContext<C_2969_> p_137922_, C_5265_ p_137923_, C_2811_ p_137924_, C_5345_$C_5347_ p_137925_)