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 TypeClassDescriptionclassLootItemFunction that modifies the stack's count based on an enchantment level on the tool using various formulas.classLootItemFunction that reduces a stack's count based on the explosion radius.classLootItemFunction that copies a set of block state properties to the"BlockStateTag"NBT tag of the ItemStack.classclassclassLootItemFunction that sets the stack's name by copying it from somewhere else, such as the killing player.classclassLootItemFunction that applies a random enchantment to the stack.classApplies a random enchantment to the stack.classConvert any empty maps into explorer maps that lead to a structure that is nearest to the current, if present.invalid reference
LootContextParams.ORIGIN
classLootItemFunction that applies the"SkullOwner"NBT tag to any player heads based on the givenLootContext.EntityTarget.classclassclassA LootItemFunction that limits the stack's count to fall within a givenIntRange.classclassLootItemFunction that adds a list of attribute modifiers to the stacks.classLootItemFunction that sets the banner patterns for a banner item.classclassclassLootItemFunction that sets the contents of a container such as a chest by setting theBlocKEntityTagof the stacks.classLootItemFunction that sets the LootTable and optionally the loot table seed on the stack'sBlockEntityTag.classclassclassLootItemFunction that sets a stack's enchantments.classclassclassclassLootItemFunction that sets the stack's count based on aNumberProvider, optionally adding to any existing count.classLootItemFunction that sets the stack's damage based on aNumberProvider, optionally adding to any existing damage.classclassLootItemFunction that sets a stack's lore tag, optionally replacing any previously present lore.classLootItemFunction that sets a stack's name.classclassclassLootItemFunction that adds an effect to any suspicious stew items.classclassclassLootItemFunction that tries to smelt any items using.invalid reference
RecipeType.SMELTINGclassMethods 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> instance) Methods in net.minecraft.world.level.storage.loot.functions that return types with arguments of type LootItemConditionalFunctionModifier and TypeMethodDescriptionabstract LootItemFunctionType<? extends LootItemConditionalFunction> LootItemConditionalFunction.getType()