Package net.minecraft.loot.functions
Interface ILootFunction
- All Superinterfaces:
BiFunction<ItemStack,
,LootContext, ItemStack> IParameterized
- All Known Implementing Classes:
ApplyBonus
,CopyBlockState
,CopyName
,CopyNbt
,EnchantRandomly
,EnchantWithLevels
,ExplorationMap
,ExplosionDecay
,FillPlayerHead
,LimitCount
,LootFunction
,LootingEnchantBonus
,SetAttributes
,SetContents
,SetCount
,SetDamage
,SetLootTable
,SetLore
,SetName
,SetNBT
,SetStewEffect
,Smelt
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondecorate
(BiFunction<ItemStack, LootContext, ItemStack> p_215858_0_, Consumer<ItemStack> p_215858_1_, LootContext p_215858_2_) getType()
Methods inherited from interface java.util.function.BiFunction
andThen, apply
Methods inherited from interface net.minecraft.loot.IParameterized
getReferencedContextParams, validate
-
Method Details
-
getType
LootFunctionType getType() -
decorate
static Consumer<ItemStack> decorate(BiFunction<ItemStack, LootContext, ItemStack> p_215858_0_, Consumer<ItemStack> p_215858_1_, LootContext p_215858_2_)
-