Uses of Interface
net.minecraft.world.level.storage.loot.functions.LootItemFunction
Packages that use LootItemFunction
Package
Description
-
Uses of LootItemFunction in net.minecraft.commands.arguments
Methods in net.minecraft.commands.arguments that return LootItemFunctionModifier and TypeMethodDescriptionstatic LootItemFunction
ResourceLocationArgument.getItemModifier
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_171032_, String p_171033_) -
Uses of LootItemFunction in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type LootItemFunctionModifier and TypeMethodDescriptionprivate static ItemStack
ItemCommands.applyModifier
(CommandSourceStack p_180284_, LootItemFunction p_180285_, ItemStack p_180286_) private static int
ItemCommands.blockToBlock
(CommandSourceStack p_180308_, BlockPos p_180309_, int p_180310_, BlockPos p_180311_, int p_180312_, LootItemFunction p_180313_) private static int
ItemCommands.blockToEntities
(CommandSourceStack p_180321_, BlockPos p_180322_, int p_180323_, Collection<? extends Entity> p_180324_, int p_180325_, LootItemFunction p_180326_) private static int
ItemCommands.entityToBlock
(CommandSourceStack p_180264_, Entity p_180265_, int p_180266_, BlockPos p_180267_, int p_180268_, LootItemFunction p_180269_) private static int
ItemCommands.entityToEntities
(CommandSourceStack p_180277_, Entity p_180278_, int p_180279_, Collection<? extends Entity> p_180280_, int p_180281_, LootItemFunction p_180282_) private static int
ItemCommands.modifyBlockItem
(CommandSourceStack p_180297_, BlockPos p_180298_, int p_180299_, LootItemFunction p_180300_) private static int
ItemCommands.modifyEntityItem
(CommandSourceStack p_180337_, Collection<? extends Entity> p_180338_, int p_180339_, LootItemFunction p_180340_) -
Uses of LootItemFunction in net.minecraft.world.level.storage.loot
Fields in net.minecraft.world.level.storage.loot with type parameters of type LootItemFunctionModifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableList.Builder<LootItemFunction>
LootPool.Builder.functions
private final List<LootItemFunction>
LootPool.functions
private final com.google.common.collect.ImmutableList.Builder<LootItemFunction>
LootTable.Builder.functions
private final List<LootItemFunction>
LootTable.functions
static final LootDataType<LootItemFunction>
LootDataType.MODIFIER
Methods in net.minecraft.world.level.storage.loot that return types with arguments of type LootItemFunctionMethods in net.minecraft.world.level.storage.loot with parameters of type LootItemFunction -
Uses of LootItemFunction in net.minecraft.world.level.storage.loot.entries
Fields in net.minecraft.world.level.storage.loot.entries with type parameters of type LootItemFunctionModifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableList.Builder<LootItemFunction>
LootPoolSingletonContainer.Builder.functions
protected final List<LootItemFunction>
LootPoolSingletonContainer.functions
Methods in net.minecraft.world.level.storage.loot.entries that return types with arguments of type LootItemFunctionModifier and TypeMethodDescriptionprotected List<LootItemFunction>
LootPoolSingletonContainer.Builder.getFunctions()
protected static <T extends LootPoolSingletonContainer>
com.mojang.datafixers.Products.P4<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<T>,Integer, Integer, List<LootItemCondition>, List<LootItemFunction>> LootPoolSingletonContainer.singletonFields
(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<T> p_299239_) -
Uses of LootItemFunction in net.minecraft.world.level.storage.loot.functions
Classes in net.minecraft.world.level.storage.loot.functions that implement LootItemFunctionModifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Fields in net.minecraft.world.level.storage.loot.functions with type parameters of type LootItemFunctionModifier and TypeFieldDescriptionprivate final com.mojang.serialization.Codec<? extends LootItemFunction>
LootItemFunctionType.codec
The field for thecodec
record component.static final com.mojang.serialization.Codec<LootItemFunction>
LootItemFunctions.CODEC
private final Function<List<LootItemCondition>,
LootItemFunction> LootItemConditionalFunction.DummyBuilder.constructor
private final List<LootItemFunction>
SequenceFunction.functions
private static final com.mojang.serialization.Codec<LootItemFunction>
LootItemFunctions.TYPED_CODEC
Methods in net.minecraft.world.level.storage.loot.functions that return LootItemFunctionModifier and TypeMethodDescriptionCopyBlockState.Builder.build()
CopyNbtFunction.Builder.build()
EnchantRandomlyFunction.Builder.build()
EnchantWithLevelsFunction.Builder.build()
ExplorationMapFunction.Builder.build()
LootingEnchantFunction.Builder.build()
LootItemConditionalFunction.DummyBuilder.build()
LootItemFunction.Builder.build()
SetAttributesFunction.Builder.build()
SetBannerPatternFunction.Builder.build()
SetContainerContents.Builder.build()
SetEnchantmentsFunction.Builder.build()
SetLoreFunction.Builder.build()
SetStewEffectFunction.Builder.build()
Methods in net.minecraft.world.level.storage.loot.functions that return types with arguments of type LootItemFunctionModifier and TypeMethodDescriptioncom.mojang.serialization.Codec<? extends LootItemFunction>
LootItemFunctionType.codec()
Returns the value of thecodec
record component.Method parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type LootItemFunctionModifier and TypeMethodDescriptionstatic SequenceFunction
SequenceFunction.of
(List<LootItemFunction> p_298958_) private static LootItemFunctionType
LootItemFunctions.register
(String p_80763_, com.mojang.serialization.Codec<? extends LootItemFunction> p_298583_) protected static LootItemConditionalFunction.Builder<?>
LootItemConditionalFunction.simpleBuilder
(Function<List<LootItemCondition>, LootItemFunction> p_80684_) Constructor parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type LootItemFunctionModifierConstructorDescriptionDummyBuilder
(Function<List<LootItemCondition>, LootItemFunction> p_80702_) LootItemFunctionType
(com.mojang.serialization.Codec<? extends LootItemFunction> codec) Creates an instance of aLootItemFunctionType
record class.private
SequenceFunction
(List<LootItemFunction> p_299323_)