Interface LootItemFunction
- All Superinterfaces:
BiFunction<ItemStack,LootContext,ItemStack>
,LootContextUser
- All Known Implementing Classes:
ApplyBonusCount
,ApplyExplosionDecay
,CopyBlockState
,CopyNameFunction
,CopyNbtFunction
,EnchantRandomlyFunction
,EnchantWithLevelsFunction
,ExplorationMapFunction
,FillPlayerHead
,ItemModifierManager.FunctionSequence
,LimitCount
,LootingEnchantFunction
,LootItemConditionalFunction
,SetAttributesFunction
,SetBannerPatternFunction
,SetContainerContents
,SetContainerLootTable
,SetEnchantmentsFunction
,SetItemCountFunction
,SetItemDamageFunction
,SetLoreFunction
,SetNameFunction
,SetNbtFunction
,SetStewEffectFunction
,SmeltItemFunction
public interface LootItemFunction
extends LootContextUser, BiFunction<ItemStack,LootContext,ItemStack>
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondecorate(BiFunction<ItemStack,LootContext,ItemStack> p_80725_, Consumer<ItemStack> p_80726_, LootContext p_80727_)
getType()
Methods inherited from interface java.util.function.BiFunction
andThen, apply
Methods inherited from interface net.minecraft.world.level.storage.loot.LootContextUser
getReferencedContextParams, validate
-
Method Details
-
getType
LootItemFunctionType getType() -
decorate
static Consumer<ItemStack> decorate(BiFunction<ItemStack,LootContext,ItemStack> p_80725_, Consumer<ItemStack> p_80726_, LootContext p_80727_)
-