Class ExplosionDecayLootFunction

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

public class ExplosionDecayLootFunction extends ConditionalLootFunction
Mappings:
Namespace Name
named net/minecraft/loot/function/ExplosionDecayLootFunction
intermediary net/minecraft/class_104
official erh
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<ExplosionDecayLootFunction> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/loot/function/ExplosionDecayLootFunction;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_45815 Lnet/minecraft/class_104;field_45815:Lcom/mojang/serialization/MapCodec;
      official a Lerh;a:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

    • ExplosionDecayLootFunction

      private ExplosionDecayLootFunction(List<LootCondition> conditions)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/loot/function/ExplosionDecayLootFunction;<init>(Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_104;<init>(Ljava/util/List;)V
      official <init> Lerh;<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/ExplosionDecayLootFunction;builder()Lnet/minecraft/loot/function/ConditionalLootFunction$Builder;
      intermediary method_478 Lnet/minecraft/class_104;method_478()Lnet/minecraft/class_120$class_121;
      official c Lerh;c()Lerv$a;