Uses of Interface
net.minecraft.loot.function.LootFunction
Packages that use LootFunction
Package
Description
-
Uses of LootFunction in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return types with arguments of type LootFunctionModifier and TypeMethodDescriptionstatic RegistryEntry<LootFunction> RegistryEntryArgumentType.getLootFunction(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argument) -
Uses of LootFunction in net.minecraft.loot
Fields in net.minecraft.loot with type parameters of type LootFunctionModifier and TypeFieldDescriptionprivate final ImmutableList.Builder<LootFunction> LootPool.Builder.functionsprivate final List<LootFunction> LootPool.functionsprivate final ImmutableList.Builder<LootFunction> LootTable.Builder.functionsprivate final List<LootFunction> LootTable.functionsstatic final LootDataType<LootFunction> LootDataType.ITEM_MODIFIERS -
Uses of LootFunction in net.minecraft.loot.context
Methods in net.minecraft.loot.context that return types with arguments of type LootFunctionModifier and TypeMethodDescriptionstatic LootContext.Entry<LootFunction> LootContext.itemModifier(LootFunction itemModifier) Methods in net.minecraft.loot.context with parameters of type LootFunctionModifier and TypeMethodDescriptionstatic LootContext.Entry<LootFunction> LootContext.itemModifier(LootFunction itemModifier) -
Uses of LootFunction in net.minecraft.loot.entry
Fields in net.minecraft.loot.entry with type parameters of type LootFunctionModifier and TypeFieldDescriptionprivate final ImmutableList.Builder<LootFunction> LeafEntry.Builder.functionsprotected final List<LootFunction> LeafEntry.functionsMethods in net.minecraft.loot.entry that return types with arguments of type LootFunctionModifier and TypeMethodDescriptionprotected static <T extends LeafEntry>
com.mojang.datafixers.Products.P4<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<T>, Integer, Integer, List<LootCondition>, List<LootFunction>> LeafEntry.addLeafFields(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<T> instance) protected List<LootFunction> LeafEntry.Builder.getFunctions() -
Uses of LootFunction in net.minecraft.loot.function
Classes in net.minecraft.loot.function with type parameters of type LootFunctionClasses in net.minecraft.loot.function that implement LootFunctionModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassFields in net.minecraft.loot.function declared as LootFunctionModifier and TypeFieldDescriptionprivate final LootFunctionFilteredLootFunction.modifierprivate final LootFunctionModifyContentsLootFunction.modifierFields in net.minecraft.loot.function with type parameters of type LootFunctionModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<LootFunction> LootFunctionTypes.BASE_CODECstatic final com.mojang.serialization.Codec<LootFunction> LootFunctionTypes.CODECstatic final com.mojang.serialization.Codec<RegistryEntry<LootFunction>> LootFunctionTypes.ENTRY_CODECprivate final Function<List<LootCondition>, LootFunction> ConditionalLootFunction.Joiner.joinerprivate final RegistryKey<LootFunction> ReferenceLootFunction.nameprivate final List<LootFunction> AndLootFunction.termsMethods in net.minecraft.loot.function with type parameters of type LootFunctionMethods in net.minecraft.loot.function that return LootFunctionModifier and TypeMethodDescriptionConditionalLootFunction.Joiner.build()CopyComponentsLootFunction.Builder.build()CopyNbtLootFunction.Builder.build()CopyStateLootFunction.Builder.build()EnchantedCountIncreaseLootFunction.Builder.build()EnchantRandomlyLootFunction.Builder.build()EnchantWithLevelsLootFunction.Builder.build()ExplorationMapLootFunction.Builder.build()LootFunction.Builder.build()SetAttributesLootFunction.Builder.build()SetBannerPatternLootFunction.Builder.build()SetContentsLootFunction.Builder.build()SetEnchantmentsLootFunction.Builder.build()SetLoreLootFunction.Builder.build()SetStewEffectLootFunction.Builder.build()Methods in net.minecraft.loot.function that return types with arguments of type LootFunctionModifier and TypeMethodDescriptionLootFunctionType<? extends LootFunction> LootFunction.getType()Method parameters in net.minecraft.loot.function with type arguments of type LootFunctionModifier and TypeMethodDescriptionprotected static ConditionalLootFunction.Builder<?> ConditionalLootFunction.builder(Function<List<LootCondition>, LootFunction> joiner) static ConditionalLootFunction.Builder<?> ReferenceLootFunction.builder(RegistryKey<LootFunction> name) static AndLootFunctionAndLootFunction.create(List<LootFunction> terms) Constructors in net.minecraft.loot.function with parameters of type LootFunctionModifierConstructorDescriptionprivateFilteredLootFunction(List<LootCondition> conditions, ItemPredicate itemFilter, LootFunction modifier) privateModifyContentsLootFunction(List<LootCondition> conditions, ContainerComponentModifier<?> component, LootFunction modifier) Constructor parameters in net.minecraft.loot.function with type arguments of type LootFunctionModifierConstructorDescriptionprivateAndLootFunction(List<LootFunction> terms) Joiner(Function<List<LootCondition>, LootFunction> joiner) privateReferenceLootFunction(List<LootCondition> conditions, RegistryKey<LootFunction> name) -
Uses of LootFunction in net.minecraft.registry
Fields in net.minecraft.registry with type parameters of type LootFunctionModifier and TypeFieldDescriptionstatic final RegistryKey<Registry<LootFunction>> RegistryKeys.ITEM_MODIFIER -
Uses of LootFunction in net.minecraft.server.command
Method parameters in net.minecraft.server.command with type arguments of type LootFunctionModifier and TypeMethodDescriptionprivate static intItemCommand.executeBlockCopyBlock(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, BlockPos pos, int slot, RegistryEntry<LootFunction> lootFunction) private static intItemCommand.executeBlockCopyEntity(ServerCommandSource source, Entity sourceEntity, int sourceSlot, BlockPos pos, int slot, RegistryEntry<LootFunction> lootFunction) private static intItemCommand.executeBlockModify(ServerCommandSource source, BlockPos pos, int slot, RegistryEntry<LootFunction> lootFunction) private static intItemCommand.executeEntityCopyBlock(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, Collection<? extends Entity> targets, int slot, RegistryEntry<LootFunction> lootFunction) private static intItemCommand.executeEntityCopyEntity(ServerCommandSource source, Entity sourceEntity, int sourceSlot, Collection<? extends Entity> targets, int slot, RegistryEntry<LootFunction> lootFunction) private static intItemCommand.executeEntityModify(ServerCommandSource source, Collection<? extends Entity> targets, int slot, RegistryEntry<LootFunction> lootFunction) private static ItemStackItemCommand.getStackWithModifier(ServerCommandSource source, RegistryEntry<LootFunction> lootFunction, ItemStack stack)