接口 LootContext.Dropper

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

    @FunctionalInterface
    public static interface LootContext.Dropper
    Mappings:
    Namespace Name
    official dhp$b
    intermediary net/minecraft/class_47$class_49
    named net/minecraft/loot/context/LootContext$Dropper
    • 方法详细资料

      • add

        void add​(LootContext context,
                 Consumer<ItemStack> consumer)
        Mappings:
        Namespace Name Mixin selector
        official add Ldhp$b;add(Ldhp;Ljava/util/function/Consumer;)V
        intermediary add Lnet/minecraft/class_47$class_49;add(Lnet/minecraft/class_47;Ljava/util/function/Consumer;)V
        named add Lnet/minecraft/loot/context/LootContext$Dropper;add(Lnet/minecraft/loot/context/LootContext;Ljava/util/function/Consumer;)V