Class AbstractEnergyLootItemFunction

java.lang.Object
com.refinedmods.refinedstorage.common.support.energy.AbstractEnergyLootItemFunction
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
Direct Known Subclasses:
EnergyLootItemFunction, PortableGridLootItemFunction

public abstract class AbstractEnergyLootItemFunction extends Object implements net.minecraft.world.level.storage.loot.functions.LootItemFunction
  • 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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.item.ItemStack
    apply(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.storage.loot.LootContext lootContext)
     

    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

    Methods inherited from interface net.minecraft.world.level.storage.loot.functions.LootItemFunction

    codec
  • Constructor Details

    • AbstractEnergyLootItemFunction

      public AbstractEnergyLootItemFunction()
  • Method Details

    • apply

      public net.minecraft.world.item.ItemStack apply(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.storage.loot.LootContext lootContext)
      Specified by:
      apply in interface BiFunction<net.minecraft.world.item.ItemStack, net.minecraft.world.level.storage.loot.LootContext, net.minecraft.world.item.ItemStack>