Class EnergyLootItemFunction

java.lang.Object
com.refinedmods.refinedstorage.common.support.energy.AbstractEnergyLootItemFunction
com.refinedmods.refinedstorage.common.support.energy.EnergyLootItemFunction
All Implemented Interfaces:
BiFunction<net.minecraft.world.item.ItemStack, net.minecraft.world.level.storage.loot.LootContext, net.minecraft.world.item.ItemStack>, net.minecraft.world.level.storage.loot.functions.LootItemFunction, net.minecraft.world.level.storage.loot.LootContextUser, net.minecraft.world.level.storage.loot.Validatable

public class EnergyLootItemFunction extends AbstractEnergyLootItemFunction
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.minecraft.world.level.storage.loot.functions.LootItemFunction

    net.minecraft.world.level.storage.loot.functions.LootItemFunction.Builder
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.storage.loot.functions.LootItemFunction>
     
    static final net.minecraft.resources.Identifier
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.storage.loot.functions.LootItemFunction>
     

    Methods inherited from class AbstractEnergyLootItemFunction

    apply

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface BiFunction

    andThen

    Methods inherited from interface net.minecraft.world.level.storage.loot.LootContextUser

    getReferencedContextParams, validate
  • Field Details

    • FUNCTION_CODEC

      public static final com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.storage.loot.functions.LootItemFunction> FUNCTION_CODEC
    • NAME

      public static final net.minecraft.resources.Identifier NAME
  • Constructor Details

    • EnergyLootItemFunction

      public EnergyLootItemFunction()
  • Method Details

    • codec

      public com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.storage.loot.functions.LootItemFunction> codec()