Package net.minecraft.loot.functions
Interface ILootFunction
-
- All Superinterfaces:
java.util.function.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
public interface ILootFunction extends IParameterized, java.util.function.BiFunction<ItemStack,LootContext,ItemStack>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ILootFunction.IBuilder
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static java.util.function.Consumer<ItemStack>
decorate(java.util.function.BiFunction<ItemStack,LootContext,ItemStack> p_215858_0_, java.util.function.Consumer<ItemStack> p_215858_1_, LootContext p_215858_2_)
LootFunctionType
getType()
-
Methods inherited from interface net.minecraft.loot.IParameterized
getReferencedContextParams, validate
-
-
-
-
Method Detail
-
getType
LootFunctionType getType()
-
decorate
static java.util.function.Consumer<ItemStack> decorate(java.util.function.BiFunction<ItemStack,LootContext,ItemStack> p_215858_0_, java.util.function.Consumer<ItemStack> p_215858_1_, LootContext p_215858_2_)
-
-