Package net.minecraft

Class class__6662

All Implemented Interfaces:
BiFunction<ItemStack,LootContext,ItemStack>, LootContextAware, LootFunction

public class class__6662 extends ConditionalLootFunction
Mappings:
Namespace Name
official dma
intermediary net/minecraft/class__6662
named net/minecraft/class__6662
  • Field Details

    • field_35080

      final Potion field_35080
      Mappings:
      Namespace Name Mixin selector
      official a Ldma;a:Lbup;
      intermediary field_35080 Lnet/minecraft/class__6662;field_35080:Lnet/minecraft/class_1842;
      named field_35080 Lnet/minecraft/class__6662;field_35080:Lnet/minecraft/potion/Potion;
  • Constructor Details

  • Method Details

    • getType

      public LootFunctionType getType()
      Mappings:
      Namespace Name Mixin selector
      official a Ldlm;a()Ldln;
      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;
    • process

      public ItemStack process(ItemStack stack, LootContext context)
      Specified by:
      process in class ConditionalLootFunction
      Mappings:
      Namespace Name Mixin selector
      official a Ldll;a(Lbsu;Ldkb;)Lbsu;
      intermediary method_522 Lnet/minecraft/class_120;method_522(Lnet/minecraft/class_1799;Lnet/minecraft/class_47;)Lnet/minecraft/class_1799;
      named process Lnet/minecraft/loot/function/ConditionalLootFunction;process(Lnet/minecraft/item/ItemStack;Lnet/minecraft/loot/context/LootContext;)Lnet/minecraft/item/ItemStack;
    • method_38927

      public static ConditionalLootFunction.Builder<?> method_38927(Potion potion)
      Mappings:
      Namespace Name Mixin selector
      official a Ldma;a(Lbup;)Ldll$a;
      intermediary method_38927 Lnet/minecraft/class__6662;method_38927(Lnet/minecraft/class_1842;)Lnet/minecraft/class_120$class_121;
      named method_38927 Lnet/minecraft/class__6662;method_38927(Lnet/minecraft/potion/Potion;)Lnet/minecraft/loot/function/ConditionalLootFunction$Builder;