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
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.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
static final LootDataType<LootFunction>
LootDataType.ITEM_MODIFIERS
Methods 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, Identifier identifier, LootPool[] lootPool, LootFunction[] lootFunction) -
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 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
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Fields in net.minecraft.loot.function with type parameters of type LootFunctionModifier and TypeFieldDescriptionprivate 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()
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) 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 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)