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 LootFunction
IdentifierArgumentType.getItemModifierArgument
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argumentName) -
Uses of LootFunction in net.minecraft.loot
Fields in net.minecraft.loot declared as LootFunctionModifier and TypeFieldDescription(package private) final LootFunction[]
LootPool.functions
(package private) final LootFunction[]
LootTable.functions
Fields in net.minecraft.loot with type parameters of type LootFunctionModifier and TypeFieldDescriptionprivate final List<LootFunction>
LootPool.Builder.functions
private final List<LootFunction>
LootTable.Builder.functions
Constructors in net.minecraft.loot with parameters of type LootFunctionModifierConstructorDescription(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.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 DynamicEntry
DynamicEntry.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 ItemEntry
ItemEntry.Serializer.fromJson
(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction) protected abstract T
LeafEntry.Serializer.fromJson
(JsonObject entryJson, JsonDeserializationContext context, int weight, int quality, LootCondition[] conditions, LootFunction[] functions) protected LootTableEntry
LootTableEntry.Serializer.fromJson
(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction) protected TagEntry
TagEntry.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) protected
LeafEntry
(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 TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
private static class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Fields in net.minecraft.loot.function declared as LootFunctionModifier and TypeFieldDescriptionprotected final LootFunction[]
LootFunctionManager.AndFunction.functions
Fields in net.minecraft.loot.function with type parameters of type LootFunctionModifier and TypeFieldDescriptionprivate Map<Identifier,
LootFunction> LootFunctionManager.functions
private final Function<LootCondition[],
LootFunction> ConditionalLootFunction.Joiner.joiner
Methods 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()
LootFunctionManager.get
(Identifier id) LootFunctionManager.getOrDefault
(Identifier id, LootFunction fallback) Methods in net.minecraft.loot.function with parameters of type LootFunctionModifier and TypeMethodDescriptionLootFunctionManager.getOrDefault
(Identifier id, LootFunction fallback) 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 LootFunctionType
LootFunctionTypes.register
(String id, JsonSerializer<? extends LootFunction> jsonSerializer) Constructors in net.minecraft.loot.function with parameters of type LootFunctionConstructor 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 int
ItemCommand.executeBlockCopyBlock
(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, BlockPos pos, int slot, LootFunction modifier) private static int
ItemCommand.executeBlockCopyEntity
(ServerCommandSource source, Entity sourceEntity, int sourceSlot, BlockPos pos, int slot, LootFunction modifier) private static int
ItemCommand.executeBlockModify
(ServerCommandSource source, BlockPos pos, int slot, LootFunction modifier) private static int
ItemCommand.executeEntityCopyBlock
(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, Collection<? extends Entity> targets, int slot, LootFunction modifier) private static int
ItemCommand.executeEntityCopyEntity
(ServerCommandSource source, Entity sourceEntity, int sourceSlot, Collection<? extends Entity> targets, int slot, LootFunction modifier) private static int
ItemCommand.executeEntityModify
(ServerCommandSource source, Collection<? extends Entity> targets, int slot, LootFunction modifier) private static ItemStack
ItemCommand.getStackWithModifier
(ServerCommandSource source, LootFunction modifier, ItemStack stack)