Class LootFunctionManager.AndFunction

java.lang.Object
net.minecraft.loot.function.LootFunctionManager.AndFunction
All Implemented Interfaces:
BiFunction<ItemStack,LootContext,ItemStack>, LootContextAware, LootFunction
Enclosing class:
LootFunctionManager

private static class LootFunctionManager.AndFunction extends Object implements LootFunction
Mappings:
Namespace Name
official drf$a
intermediary net/minecraft/class_5640$class_5641
named net/minecraft/loot/function/LootFunctionManager$AndFunction
  • Field Details

    • functions

      protected final LootFunction[] functions
      Mappings:
      Namespace Name Mixin selector
      official a Ldrf$a;a:[Ldsr;
      intermediary field_27904 Lnet/minecraft/class_5640$class_5641;field_27904:[Lnet/minecraft/class_117;
      named functions Lnet/minecraft/loot/function/LootFunctionManager$AndFunction;functions:[Lnet/minecraft/loot/function/LootFunction;
    • field_27905

      private final BiFunction<ItemStack,LootContext,ItemStack> field_27905
      Mappings:
      Namespace Name Mixin selector
      official b Ldrf$a;b:Ljava/util/function/BiFunction;
      intermediary field_27905 Lnet/minecraft/class_5640$class_5641;field_27905:Ljava/util/function/BiFunction;
      named field_27905 Lnet/minecraft/loot/function/LootFunctionManager$AndFunction;field_27905:Ljava/util/function/BiFunction;
  • Constructor Details

    • AndFunction

      public AndFunction(LootFunction[] functions)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldrf$a;<init>([Ldsr;)V
      intermediary <init> Lnet/minecraft/class_5640$class_5641;<init>([Lnet/minecraft/class_117;)V
      named <init> Lnet/minecraft/loot/function/LootFunctionManager$AndFunction;<init>([Lnet/minecraft/loot/function/LootFunction;)V
  • Method Details

    • apply

      public ItemStack apply(ItemStack itemStack, LootContext lootContext)
      Specified by:
      apply in interface BiFunction<ItemStack,LootContext,ItemStack>
      Mappings:
      Namespace Name Mixin selector
      official a Ldrf$a;a(Lcaa;Ldrg;)Lcaa;
      intermediary method_32405 Lnet/minecraft/class_5640$class_5641;method_32405(Lnet/minecraft/class_1799;Lnet/minecraft/class_47;)Lnet/minecraft/class_1799;
      named apply Lnet/minecraft/loot/function/LootFunctionManager$AndFunction;apply(Lnet/minecraft/item/ItemStack;Lnet/minecraft/loot/context/LootContext;)Lnet/minecraft/item/ItemStack;
    • getType

      public LootFunctionType getType()
      Specified by:
      getType in interface LootFunction
      Mappings:
      Namespace Name Mixin selector
      official a Ldsr;a()Ldss;
      intermediary method_29321 Lnet/minecraft/class_117;method_29321()Lnet/minecraft/class_5339;
      named getType Lnet/minecraft/loot/function/LootFunction;getType()Lnet/minecraft/loot/function/LootFunctionType;