net.minecraft.server.commands

public class LootCommand

wi
net.minecraft.server.commands.LootCommand
net.minecraft.class_3039
net.minecraft.server.command.LootCommand
net.minecraft.command.impl.LootCommand
net.minecraft.server.v1_16_R1.CommandLoot

Field summary

Modifier and TypeField
public static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
a
SUGGEST_LOOT_TABLE
field_13605
SUGGESTION_PROVIDER
field_218904_a
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_NO_HELD_ITEMS
field_13604
NO_HELD_ITEMS_EXCEPTION
field_218905_b
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
c
ERROR_NO_LOOT_TABLE
field_13606
NO_LOOT_TABLE_EXCEPTION
field_218906_c

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<cz> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_13193(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
func_218886_a(com.mojang.brigadier.CommandDispatcher<CommandSource> arg0)
private static <T extends com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, T>> T
a(T arg0, wi$c arg1)
addTargets(T arg0, LootCommand$TailProvider arg1)
method_13206(T arg0, class_3039$class_3042 arg1)
addTargetArguments(T rootArgument, LootCommand$SourceConstructor sourceConstructor)
func_218868_a(T arg0, LootCommand$ISourceArgumentBuilder arg1)
private static Container
a(cz arg0, fu arg1)
getContainer(CommandSourceStack arg0, BlockPos arg1)
method_13207(class_2168 arg0, class_2338 arg1)
getBlockInventory(ServerCommandSource source, BlockPos pos)
func_218862_a(CommandSource arg0, BlockPos arg1)
private static int
a(cz arg0, fu arg1, List<bki> arg2, wi$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)
func_218900_a(CommandSource arg0, BlockPos arg1, List<ItemStack> arg2, LootCommand$ISuccessListener arg3)
private static boolean
a(amz arg0, bki arg1)
distributeToContainer(Container arg0, ItemStack arg1)
method_13223(class_1263 arg0, class_1799 arg1)
insert(Inventory inventory, ItemStack stack)
func_218890_a(IInventory arg0, ItemStack arg1)
private static int
a(cz arg0, fu arg1, int arg2, int arg3, List<bki> arg4, wi$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)
func_218894_a(CommandSource arg0, BlockPos arg1, int arg2, int arg3, List<ItemStack> arg4, LootCommand$ISuccessListener arg5)
private static boolean
a(bki arg0, bki arg1)
canMergeItems(ItemStack arg0, ItemStack arg1)
method_13218(class_1799 arg0, class_1799 arg1)
itemsMatch(ItemStack first, ItemStack second)
func_218883_a(ItemStack arg0, ItemStack arg1)
private static int
a(Collection<ze> arg0, List<bki> arg1, wi$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)
func_218859_a(Collection<ServerPlayerEntity> arg0, List<ItemStack> arg1, LootCommand$ISuccessListener arg2)
private static void
a(aom arg0, List<bki> arg1, int arg2, int arg3, List<bki> 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)
func_218901_a(Entity arg0, List<ItemStack> arg1, int arg2, int arg3, List<ItemStack> arg4)
private static int
a(Collection<? extends aom> arg0, int arg1, int arg2, List<bki> arg3, wi$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)
func_218865_a(Collection<? extends Entity> arg0, int arg1, int arg2, List<ItemStack> arg3, LootCommand$ISuccessListener arg4)
private static int
a(cz arg0, dem arg1, List<bki> arg2, wi$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)
func_218881_a(CommandSource arg0, Vector3d arg1, List<ItemStack> arg2, LootCommand$ISuccessListener arg3)
private static void
a(cz arg0, List<bki> arg1)
callback(CommandSourceStack arg0, List<ItemStack> arg1)
method_13213(class_2168 arg0, List<class_1799> arg1)
sendDroppedFeedback(ServerCommandSource source, List<ItemStack> stacks)
func_218875_a(CommandSource arg0, List<ItemStack> arg1)
private static void
a(cz arg0, List<bki> arg1, uh 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)
func_218860_a(CommandSource arg0, List<ItemStack> arg1, ResourceLocation arg2)
private static ItemStack
a(cz arg0, aor arg1)
getSourceHandItem(CommandSourceStack arg0, EquipmentSlot arg1)
method_13178(class_2168 arg0, class_1304 arg1)
getHeldItem(ServerCommandSource source, EquipmentSlot slot)
func_218872_a(CommandSource arg0, EquipmentSlotType arg1)
private static int
a(com.mojang.brigadier.context.CommandContext<cz> arg0, fu arg1, bki arg2, wi$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)
func_218879_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, BlockPos arg1, ItemStack arg2, LootCommand$ITargetHandler arg3)
private static int
a(com.mojang.brigadier.context.CommandContext<cz> arg0, aom arg1, wi$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)
func_218869_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, Entity arg1, LootCommand$ITargetHandler arg2)
private static int
a(com.mojang.brigadier.context.CommandContext<cz> arg0, uh arg1, wi$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)
func_218887_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, ResourceLocation arg1, LootCommand$ITargetHandler arg2)
private static int
a(com.mojang.brigadier.context.CommandContext<cz> arg0, uh arg1, fu arg2, bki arg3, wi$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)
func_218876_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, ResourceLocation arg1, BlockPos arg2, ItemStack arg3, LootCommand$ITargetHandler arg4)
private static int
a(com.mojang.brigadier.context.CommandContext<cz> arg0, uh arg1, dat arg2, wi$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)
func_218871_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, ResourceLocation arg1, LootContext arg2, LootCommand$ITargetHandler arg3)