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
-
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
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.storage.loot.functions.LootItemFunction> static final net.minecraft.resources.Identifier -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec<? extends net.minecraft.world.level.storage.loot.functions.LootItemFunction> codec()Methods inherited from class AbstractEnergyLootItemFunction
applyMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BiFunction
andThenMethods 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()
-