net.minecraft.server.commands

public class LootCommand

anp
net.minecraft.server.commands.LootCommand
net.minecraft.class_3039
net.minecraft.server.command.LootCommand
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
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_NO_HELD_ITEMS
field_13604
NO_HELD_ITEMS_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
c
ERROR_NO_ENTITY_LOOT_TABLE
field_13606
NO_LOOT_TABLE_ENTITY_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
d
ERROR_NO_BLOCK_LOOT_TABLE
field_53969
NO_LOOT_TABLE_BLOCK_EXCEPTION

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<ex> arg0, et arg1)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0, CommandBuildContext arg1)
method_13193(com.mojang.brigadier.CommandDispatcher<class_2168> arg0, class_7157 arg1)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess)
private static <T extends com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, T>> T
a(T arg0, anp$c arg1)
addTargets(T arg0, LootCommand$TailProvider arg1)
method_13206(T arg0, class_3039$class_3042 arg1)
addTargetArguments(T rootArgument, LootCommand$SourceConstructor sourceConstructor)
private static Container
a(ex arg0, ji arg1)
getContainer(CommandSourceStack arg0, BlockPos arg1)
method_13207(class_2168 arg0, class_2338 arg1)
getBlockInventory(ServerCommandSource source, BlockPos pos)
private static int
a(ex arg0, ji arg1, List<cwq> arg2, anp$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)
private static boolean
a(bse arg0, cwq arg1)
distributeToContainer(Container arg0, ItemStack arg1)
method_13223(class_1263 arg0, class_1799 arg1)
insert(Inventory inventory, ItemStack stack)
private static int
a(ex arg0, ji arg1, int arg2, int arg3, List<cwq> arg4, anp$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)
private static boolean
a(cwq arg0, cwq arg1)
canMergeItems(ItemStack arg0, ItemStack arg1)
method_13218(class_1799 arg0, class_1799 arg1)
itemsMatch(ItemStack first, ItemStack second)
private static int
a(Collection<are> arg0, List<cwq> arg1, anp$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)
private static void
a(bum arg0, List<cwq> arg1, int arg2, int arg3, List<cwq> 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)
private static int
a(Collection<? extends bum> arg0, int arg1, int arg2, List<cwq> arg3, anp$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)
private static int
a(ex arg0, fbb arg1, List<cwq> arg2, anp$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)
private static void
a(ex arg0, List<cwq> arg1)
callback(CommandSourceStack arg0, List<ItemStack> arg1)
method_13213(class_2168 arg0, List<class_1799> arg1)
sendDroppedFeedback(ServerCommandSource source, List<ItemStack> stacks)
private static void
a(ex arg0, List<cwq> arg1, aku<evx> arg2)
callback(CommandSourceStack arg0, List<ItemStack> arg1, ResourceKey<LootTable> arg2)
method_13212(class_2168 arg0, List<class_1799> arg1, class_5321<class_52> arg2)
sendDroppedFeedback(ServerCommandSource source, List<ItemStack> stacks, RegistryKey<LootTable> lootTable)
private static ItemStack
a(ex arg0, buu arg1)
getSourceHandItem(CommandSourceStack arg0, EquipmentSlot arg1)
method_13178(class_2168 arg0, class_1304 arg1)
getHeldItem(ServerCommandSource source, EquipmentSlot slot)
private static int
a(com.mojang.brigadier.context.CommandContext<ex> arg0, ji arg1, cwq arg2, anp$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)
private static int
a(com.mojang.brigadier.context.CommandContext<ex> arg0, bum arg1, anp$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)
private static int
a(com.mojang.brigadier.context.CommandContext<ex> arg0, jr<evx> arg1, anp$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)
executeLoot(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, RegistryEntry<LootTable> lootTable, LootCommand$Target constructor)
private static int
a(com.mojang.brigadier.context.CommandContext<ex> arg0, jr<evx> arg1, ji arg2, cwq arg3, anp$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)
executeFish(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, RegistryEntry<LootTable> lootTable, BlockPos pos, ItemStack stack, LootCommand$Target constructor)
private static int
a(com.mojang.brigadier.context.CommandContext<ex> arg0, jr<evx> arg1, evv arg2, anp$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)
getFeedbackMessageSingle(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, RegistryEntry<LootTable> lootTable, LootWorldContext lootContextParameters, LootCommand$Target constructor)