Uses of Class
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
Packages that use LootItemConditionalFunction
-
Uses of LootItemConditionalFunction in net.minecraft.world.level.storage.loot.functions
Modifier and TypeClassDescriptionclass
LootItemFunction that modifies the stack's count based on an enchantment level on the tool using various formulas.class
LootItemFunction that reduces a stack's count based on the explosion radius.class
LootItemFunction that copies a set of block state properties to the"BlockStateTag"
NBT tag of the ItemStack.class
class
class
LootItemFunction that sets the stack's name by copying it from somewhere else, such as the killing player.class
class
LootItemFunction that applies a random enchantment to the stack.class
Applies a random enchantment to the stack.class
Convert any empty maps into explorer maps that lead to a structure that is nearest to the currentinvalid reference
LootContextParams.ORIGIN
class
LootItemFunction that applies the"SkullOwner"
NBT tag to any player heads based on the givenLootContext.EntityTarget
.class
class
class
A LootItemFunction that limits the stack's count to fall within a givenIntRange
.class
class
LootItemFunction that adds a list of attribute modifiers to the stacks.class
LootItemFunction that sets the banner patterns for a banner item.class
class
class
LootItemFunction that sets the contents of a container such as a chest by setting theBlocKEntityTag
of the stacks.class
LootItemFunction that sets the LootTable and optionally the loot table seed on the stack'sBlockEntityTag
.class
class
class
LootItemFunction that sets a stack's enchantments.class
class
class
class
LootItemFunction that sets the stack's count based on aNumberProvider
, optionally adding to any existing count.class
LootItemFunction that sets the stack's damage based on aNumberProvider
, optionally adding to any existing damage.class
class
LootItemFunction that sets a stack's lore tag, optionally replacing any previously present lore.class
LootItemFunction that sets a stack's name.class
class
class
LootItemFunction that adds an effect to any suspicious stew items.class
class
class
LootItemFunction that tries to smelt any items usinginvalid reference
RecipeType.SMELTING
class
Methods in net.minecraft.world.level.storage.loot.functions with type parameters of type LootItemConditionalFunctionModifier and TypeMethodDescriptionprotected static <T extends LootItemConditionalFunction>
com.mojang.datafixers.Products.P1<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<T>, List<LootItemCondition>> LootItemConditionalFunction.commonFields
(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<T> p_298453_) Methods in net.minecraft.world.level.storage.loot.functions that return types with arguments of type LootItemConditionalFunctionModifier and TypeMethodDescriptionabstract LootItemFunctionType
<? extends LootItemConditionalFunction> LootItemConditionalFunction.getType()