接口 LootCommand.Target

  • 封闭类:
    LootCommand
    函数接口:
    这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

    @FunctionalInterface
    static interface LootCommand.Target
    Mappings:
    Namespace Name
    official yq$b
    intermediary net/minecraft/class_3039$class_3041
    named net/minecraft/server/command/LootCommand$Target
    • 方法详细资料

      • accept

        int accept​(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context,
                   List<ItemStack> items,
                   LootCommand.FeedbackMessage messageSender)
            throws com.mojang.brigadier.exceptions.CommandSyntaxException
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official accept Lyq$b;accept(Lcom/mojang/brigadier/context/CommandContext;Ljava/util/List;Lyq$a;)I
        intermediary accept Lnet/minecraft/class_3039$class_3041;accept(Lcom/mojang/brigadier/context/CommandContext;Ljava/util/List;Lnet/minecraft/class_3039$class_3040;)I
        named accept Lnet/minecraft/server/command/LootCommand$Target;accept(Lcom/mojang/brigadier/context/CommandContext;Ljava/util/List;Lnet/minecraft/server/command/LootCommand$FeedbackMessage;)I