net.minecraft.server.commands

public class LootCommand

aor
net.minecraft.server.commands.LootCommand
net.minecraft.class_3039

Field summary

Modifier and TypeField
public static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
a
SUGGEST_LOOT_TABLE
field_13605
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_NO_HELD_ITEMS
field_13604
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
c
ERROR_NO_ENTITY_LOOT_TABLE
field_13606
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
d
ERROR_NO_BLOCK_LOOT_TABLE
field_53969

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<ek> arg0, eg arg1)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0, CommandBuildContext arg1)
method_13193(com.mojang.brigadier.CommandDispatcher<class_2168> arg0, class_7157 arg1)
private static <T extends com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, T>> T
a(T arg0, aor$c arg1)
addTargets(T arg0, LootCommand$TailProvider arg1)
method_13206(T arg0, class_3039$class_3042 arg1)
private static Container
a(ek arg0, iy arg1)
getContainer(CommandSourceStack arg0, BlockPos arg1)
method_13207(class_2168 arg0, class_2338 arg1)
private static int
a(ek arg0, iy arg1, List<dba> arg2, aor$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)
private static boolean
a(bvi arg0, dba arg1)
distributeToContainer(Container arg0, ItemStack arg1)
method_13223(class_1263 arg0, class_1799 arg1)
private static int
a(ek arg0, iy arg1, int arg2, int arg3, List<dba> arg4, aor$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)
private static boolean
a(dba arg0, dba arg1)
canMergeItems(ItemStack arg0, ItemStack arg1)
method_13218(class_1799 arg0, class_1799 arg1)
private static int
a(Collection<asj> arg0, List<dba> arg1, aor$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)
private static void
a(bxs arg0, List<dba> arg1, int arg2, int arg3, List<dba> 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)
private static int
a(Collection<? extends bxs> arg0, int arg1, int arg2, List<dba> arg3, aor$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)
private static int
a(ek arg0, fgx arg1, List<dba> arg2, aor$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)
private static void
a(ek arg0, List<dba> arg1)
callback(CommandSourceStack arg0, List<ItemStack> arg1)
method_13213(class_2168 arg0, List<class_1799> arg1)
private static void
a(ek arg0, List<dba> arg1, alv<fbt> arg2)
callback(CommandSourceStack arg0, List<ItemStack> arg1, ResourceKey<LootTable> arg2)
method_13212(class_2168 arg0, List<class_1799> arg1, class_5321<class_52> arg2)
private static ItemStack
a(ek arg0, byc arg1)
getSourceHandItem(CommandSourceStack arg0, EquipmentSlot arg1)
method_13178(class_2168 arg0, class_1304 arg1)
private static int
a(com.mojang.brigadier.context.CommandContext<ek> arg0, iy arg1, dba arg2, aor$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)
private static int
a(com.mojang.brigadier.context.CommandContext<ek> arg0, bxs arg1, aor$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)
private static int
a(com.mojang.brigadier.context.CommandContext<ek> arg0, ji<fbt> arg1, aor$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)
private static int
a(com.mojang.brigadier.context.CommandContext<ek> arg0, ji<fbt> arg1, iy arg2, dba arg3, aor$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)
private static int
a(com.mojang.brigadier.context.CommandContext<ek> arg0, ji<fbt> arg1, fbr arg2, aor$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)