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 LootFunctionModifier and TypeMethodDescriptionstatic LootFunctionIdentifierArgumentType.getItemModifierArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argumentName) -
Uses of LootFunction in net.minecraft.loot
Classes in net.minecraft.loot that implement LootFunctionFields in net.minecraft.loot declared as LootFunctionModifier and TypeFieldDescriptionprotected final LootFunction[]LootManager.AndFunction.functions(package private) final LootFunction[]LootPool.functions(package private) final LootFunction[]LootTable.functionsFields in net.minecraft.loot with type parameters of type LootFunctionModifier and TypeFieldDescriptionprivate final List<LootFunction>LootPool.Builder.functionsprivate final List<LootFunction>LootTable.Builder.functionsstatic final LootDataType<LootFunction>LootDataType.ITEM_MODIFIERSMethods in net.minecraft.loot that return LootFunctionMethods in net.minecraft.loot with parameters of type LootFunctionConstructors in net.minecraft.loot with parameters of type LootFunctionModifierConstructorDescriptionAndFunction(LootFunction[] functions) (package private)LootPool(LootPoolEntry[] entries, LootCondition[] conditions, LootFunction[] functions, LootNumberProvider rolls, LootNumberProvider bonusRolls) (package private)LootTable(LootContextType type, LootPool[] pools, LootFunction[] functions) -
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 declared as LootFunctionFields in net.minecraft.loot.entry with type parameters of type LootFunctionMethods in net.minecraft.loot.entry that return LootFunctionMethods in net.minecraft.loot.entry with parameters of type LootFunctionModifier and TypeMethodDescriptionLeafEntry.Factory.build(int weight, int quality, LootCondition[] conditions, LootFunction[] functions) protected DynamicEntryDynamicEntry.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction) EmptyEntry.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction) protected ItemEntryItemEntry.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction) protected abstract TLeafEntry.Serializer.fromJson(JsonObject entryJson, JsonDeserializationContext context, int weight, int quality, LootCondition[] conditions, LootFunction[] functions) protected LootTableEntryLootTableEntry.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction) protected TagEntryTagEntry.Serializer.fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction) Constructors in net.minecraft.loot.entry with parameters of type LootFunctionModifierConstructorDescription(package private)DynamicEntry(Identifier name, int weight, int quality, LootCondition[] conditions, LootFunction[] functions) (package private)EmptyEntry(int weight, int quality, LootCondition[] conditions, LootFunction[] functions) (package private)ItemEntry(Item item, int weight, int quality, LootCondition[] conditions, LootFunction[] functions) protectedLeafEntry(int weight, int quality, LootCondition[] conditions, LootFunction[] functions) (package private)LootTableEntry(Identifier id, int weight, int quality, LootCondition[] conditions, LootFunction[] functions) (package private)TagEntry(TagKey<Item> name, boolean expand, int weight, int quality, LootCondition[] conditions, LootFunction[] functions) -
Uses of LootFunction in net.minecraft.loot.function
Classes in net.minecraft.loot.function that implement LootFunctionModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassFields in net.minecraft.loot.function with type parameters of type LootFunctionModifier and TypeFieldDescriptionprivate final Function<LootCondition[],LootFunction> ConditionalLootFunction.Joiner.joinerMethods in net.minecraft.loot.function that return LootFunctionModifier and TypeMethodDescriptionConditionalLootFunction.Joiner.build()CopyNbtLootFunction.Builder.build()CopyStateFunction.Builder.build()EnchantRandomlyLootFunction.Builder.build()EnchantWithLevelsLootFunction.Builder.build()ExplorationMapLootFunction.Builder.build()LootFunction.Builder.build()LootingEnchantLootFunction.Builder.build()SetAttributesLootFunction.Builder.build()SetBannerPatternFunction.Builder.build()SetContentsLootFunction.Builder.build()SetEnchantmentsLootFunction.Builder.build()SetLoreLootFunction.Builder.build()SetStewEffectLootFunction.Builder.build()Method parameters in net.minecraft.loot.function with type arguments of type LootFunctionModifier and TypeMethodDescriptionprotected static ConditionalLootFunction.Builder<?>ConditionalLootFunction.builder(Function<LootCondition[], LootFunction> joiner) private static LootFunctionTypeLootFunctionTypes.register(String id, JsonSerializer<? extends LootFunction> jsonSerializer) Constructor parameters in net.minecraft.loot.function with type arguments of type LootFunctionModifierConstructorDescriptionJoiner(Function<LootCondition[], LootFunction> joiner) LootFunctionType(JsonSerializer<? extends LootFunction> jsonSerializer) -
Uses of LootFunction in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type LootFunctionModifier and TypeMethodDescriptionprivate static intItemCommand.executeBlockCopyBlock(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, BlockPos pos, int slot, LootFunction modifier) private static intItemCommand.executeBlockCopyEntity(ServerCommandSource source, Entity sourceEntity, int sourceSlot, BlockPos pos, int slot, LootFunction modifier) private static intItemCommand.executeBlockModify(ServerCommandSource source, BlockPos pos, int slot, LootFunction modifier) private static intItemCommand.executeEntityCopyBlock(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, Collection<? extends Entity> targets, int slot, LootFunction modifier) private static intItemCommand.executeEntityCopyEntity(ServerCommandSource source, Entity sourceEntity, int sourceSlot, Collection<? extends Entity> targets, int slot, LootFunction modifier) private static intItemCommand.executeEntityModify(ServerCommandSource source, Collection<? extends Entity> targets, int slot, LootFunction modifier) private static ItemStackItemCommand.getStackWithModifier(ServerCommandSource source, LootFunction modifier, ItemStack stack)