Class FurnaceSmeltLootFunction

java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction
net.minecraft.loot.function.FurnaceSmeltLootFunction
All Implemented Interfaces:
BiFunction<ItemStack,LootContext,ItemStack>, LootContextAware, LootFunction

public class FurnaceSmeltLootFunction extends ConditionalLootFunction
Mappings:
Namespace Name
named net/minecraft/loot/function/FurnaceSmeltLootFunction
intermediary net/minecraft/class_165
official eua
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/loot/function/FurnaceSmeltLootFunction;LOGGER:Lorg/slf4j/Logger;
      intermediary field_1159 Lnet/minecraft/class_165;field_1159:Lorg/slf4j/Logger;
      official b Leua;b:Lorg/slf4j/Logger;
    • CODEC

      public static final com.mojang.serialization.MapCodec<FurnaceSmeltLootFunction> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/loot/function/FurnaceSmeltLootFunction;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_45855 Lnet/minecraft/class_165;field_45855:Lcom/mojang/serialization/MapCodec;
      official a Leua;a:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

    • FurnaceSmeltLootFunction

      private FurnaceSmeltLootFunction(List<LootCondition> conditions)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/loot/function/FurnaceSmeltLootFunction;<init>(Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_165;<init>(Ljava/util/List;)V
      official <init> Leua;<init>(Ljava/util/List;)V
  • Method Details

    • getType

      Specified by:
      getType in interface LootFunction
      Specified by:
      getType in class ConditionalLootFunction
      Mappings:
      Namespace Name Mixin selector
      named getType Lnet/minecraft/loot/function/LootFunction;getType()Lnet/minecraft/loot/function/LootFunctionType;
      intermediary method_29321 Lnet/minecraft/class_117;method_29321()Lnet/minecraft/class_5339;
      official b Lesz;b()Leta;
    • process

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

      public static ConditionalLootFunction.Builder<?> builder()
      Mappings:
      Namespace Name Mixin selector
      named builder Lnet/minecraft/loot/function/FurnaceSmeltLootFunction;builder()Lnet/minecraft/loot/function/ConditionalLootFunction$Builder;
      intermediary method_724 Lnet/minecraft/class_165;method_724()Lnet/minecraft/class_120$class_121;
      official c Leua;c()Lesy$a;