Uses of Interface
net.minecraft.loot.function.LootFunction
| Package | Description |
|---|---|
| net.minecraft.command.argument | |
| net.minecraft.loot | |
| net.minecraft.loot.entry | |
| net.minecraft.loot.function | |
| net.minecraft.server.command |
-
Uses of LootFunction in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return LootFunction Modifier and Type Method Description static LootFunctionIdentifierArgumentType. getItemModifierArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argumentName) -
Uses of LootFunction in net.minecraft.loot
Fields in net.minecraft.loot declared as LootFunction Modifier and Type Field Description private LootFunction[]LootPool. functionsprivate LootFunction[]LootTable. functionsFields in net.minecraft.loot with type parameters of type LootFunction Modifier and Type Field Description private List<LootFunction>LootPool.Builder. functionsprivate List<LootFunction>LootTable.Builder. functionsConstructors in net.minecraft.loot with parameters of type LootFunction Constructor Description LootPool(LootPoolEntry[] entries, LootCondition[] conditions, LootFunction[] functions, LootNumberProvider rolls, LootNumberProvider bonusRolls)LootTable(LootContextType type, LootPool[] pools, LootFunction[] functions) -
Uses of LootFunction in net.minecraft.loot.entry
Fields in net.minecraft.loot.entry declared as LootFunction Modifier and Type Field Description protected LootFunction[]LeafEntry. functionsFields in net.minecraft.loot.entry with type parameters of type LootFunction Modifier and Type Field Description private List<LootFunction>LeafEntry.Builder. functionsMethods in net.minecraft.loot.entry that return LootFunction Modifier and Type Method Description protected LootFunction[]LeafEntry.Builder. getFunctions()Methods in net.minecraft.loot.entry with parameters of type LootFunction Modifier and Type Method Description LeafEntryLeafEntry.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)EmptyEntryEmptyEntry.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 LootFunction Constructor Description DynamicEntry(Identifier name, int weight, int quality, LootCondition[] conditions, LootFunction[] functions)EmptyEntry(int weight, int quality, LootCondition[] conditions, LootFunction[] functions)ItemEntry(Item item, int weight, int quality, LootCondition[] conditions, LootFunction[] functions)LeafEntry(int weight, int quality, LootCondition[] conditions, LootFunction[] functions)LootTableEntry(Identifier id, int weight, int quality, LootCondition[] conditions, LootFunction[] functions)TagEntry(Tag<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 LootFunction Modifier and Type Class Description classApplyBonusLootFunctionclassConditionalLootFunctionclassCopyNameLootFunctionclassCopyNbtLootFunctionclassCopyStateFunctionclassEnchantRandomlyLootFunctionclassEnchantWithLevelsLootFunctionclassExplorationMapLootFunctionclassExplosionDecayLootFunctionclassFillPlayerHeadLootFunctionclassFurnaceSmeltLootFunctionclassLimitCountLootFunction(package private) static classLootFunctionManager.AndFunctionclassLootingEnchantLootFunctionclassSetAttributesLootFunctionclassSetBannerPatternFunctionclassSetContentsLootFunctionclassSetCountLootFunctionclassSetDamageLootFunctionclassSetEnchantmentsLootFunctionclassSetLootTableLootFunctionclassSetLoreLootFunctionclassSetNameLootFunctionclassSetNbtLootFunctionclassSetStewEffectLootFunctionFields in net.minecraft.loot.function declared as LootFunction Modifier and Type Field Description protected LootFunction[]LootFunctionManager.AndFunction. functionsFields in net.minecraft.loot.function with type parameters of type LootFunction Modifier and Type Field Description private Map<Identifier,LootFunction>LootFunctionManager. functionsprivate Function<LootCondition[],LootFunction>ConditionalLootFunction.Joiner. joinerMethods in net.minecraft.loot.function that return LootFunction Modifier and Type Method Description LootFunctionConditionalLootFunction.Joiner. build()LootFunctionCopyNbtLootFunction.Builder. build()LootFunctionCopyStateFunction.Builder. build()LootFunctionEnchantRandomlyLootFunction.Builder. build()LootFunctionEnchantWithLevelsLootFunction.Builder. build()LootFunctionExplorationMapLootFunction.Builder. build()LootFunctionLootFunction.Builder. build()LootFunctionLootingEnchantLootFunction.Builder. build()LootFunctionSetAttributesLootFunction.class_6155. build()LootFunctionSetBannerPatternFunction.class_6157. build()LootFunctionSetContentsLootFunction.Builer. build()LootFunctionSetEnchantmentsLootFunction.class_6158. build()LootFunctionSetLoreLootFunction.class_6159. build()LootFunctionSetStewEffectLootFunction.Builder. build()@Nullable LootFunctionLootFunctionManager. get(Identifier id)LootFunctionLootFunctionManager. method_35507(Identifier identifier, LootFunction lootFunction)Methods in net.minecraft.loot.function with parameters of type LootFunction Modifier and Type Method Description LootFunctionLootFunctionManager. method_35507(Identifier identifier, LootFunction lootFunction)Method parameters in net.minecraft.loot.function with type arguments of type LootFunction Modifier and Type Method Description protected static ConditionalLootFunction.Builder<?>ConditionalLootFunction. builder(Function<LootCondition[],LootFunction> joiner)private static LootFunctionTypeLootFunctionTypes. register(String id, JsonSerializer<? extends LootFunction> jsonSerializer)Constructors in net.minecraft.loot.function with parameters of type LootFunction Constructor Description AndFunction(LootFunction[] functions)Constructor parameters in net.minecraft.loot.function with type arguments of type LootFunction Constructor Description Joiner(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 LootFunction Modifier and Type Method Description private 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)