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 esy
  • 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 Lesy;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 Lesy;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> Lesy;<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 Lerw;b()Lerx;
    • 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 Lerv;a(Lcuq;Leqj;)Lcuq;
    • 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 Lesy;c()Lerv$a;