Package net.minecraft

Class class_9320

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

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

    • field_49444

      public static final com.mojang.serialization.Codec<class_9320> field_49444
      Mappings:
      Namespace Name Mixin selector
      official a Leow;a:Lcom/mojang/serialization/Codec;
      intermediary field_49444 Lnet/minecraft/class_9320;field_49444:Lcom/mojang/serialization/Codec;
      named field_49444 Lnet/minecraft/class_9320;field_49444:Lcom/mojang/serialization/Codec;
    • field_49445

      private final ComponentChanges field_49445
      Mappings:
      Namespace Name Mixin selector
      official b Leow;b:Ljm;
      intermediary field_49445 Lnet/minecraft/class_9320;field_49445:Lnet/minecraft/class_9326;
      named field_49445 Lnet/minecraft/class_9320;field_49445:Lnet/minecraft/component/ComponentChanges;
  • Constructor Details

  • Method Details

    • getType

      public LootFunctionType getType()
      Mappings:
      Namespace Name Mixin selector
      official b Leop;b()Leoq;
      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 Leoo;a(Lcrj;Lenb;)Lcrj;
      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_57650

      public static <T> ConditionalLootFunction.Builder<?> method_57650(DataComponentType<T> dataComponentType, T t)
      Mappings:
      Namespace Name Mixin selector
      official a Leow;a(Ljo;Ljava/lang/Object;)Leoo$a;
      intermediary method_57650 Lnet/minecraft/class_9320;method_57650(Lnet/minecraft/class_9331;Ljava/lang/Object;)Lnet/minecraft/class_120$class_121;
      named method_57650 Lnet/minecraft/class_9320;method_57650(Lnet/minecraft/component/DataComponentType;Ljava/lang/Object;)Lnet/minecraft/loot/function/ConditionalLootFunction$Builder;