Uses of Interface
net.minecraft.loot.function.LootFunction
Package
Description
-
Uses of LootFunction in net.minecraft.command.argument
Modifier and TypeMethodDescriptionstatic RegistryEntry
<LootFunction> RegistryEntryArgumentType.getLootFunction
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argument) -
Uses of LootFunction in net.minecraft.loot
Modifier and TypeFieldDescriptionstatic final LootDataType
<LootFunction> LootDataType.field_44497
private final ImmutableList.Builder
<LootFunction> LootPool.Builder.functions
private final List
<LootFunction> LootPool.functions
private final ImmutableList.Builder
<LootFunction> LootTable.Builder.functions
private final List
<LootFunction> LootTable.functions
-
Uses of LootFunction in net.minecraft.loot.context
Modifier and TypeMethodDescriptionstatic LootContext.Entry
<LootFunction> LootContext.itemModifier
(LootFunction itemModifier) Modifier and TypeMethodDescriptionstatic LootContext.Entry
<LootFunction> LootContext.itemModifier
(LootFunction itemModifier) -
Uses of LootFunction in net.minecraft.loot.entry
Modifier and TypeFieldDescriptionprivate final ImmutableList.Builder
<LootFunction> LeafEntry.Builder.functions
protected final List
<LootFunction> LeafEntry.functions
Modifier 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
Modifier 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
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeFieldDescriptionprivate final LootFunction
FilteredLootFunction.modifier
private final LootFunction
ModifyContentsLootFunction.modifier
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<LootFunction> LootFunctionTypes.BASE_CODEC
static final com.mojang.serialization.Codec
<LootFunction> LootFunctionTypes.CODEC
static final com.mojang.serialization.Codec
<RegistryEntry<LootFunction>> LootFunctionTypes.ENTRY_CODEC
private final Function
<List<LootCondition>, LootFunction> ConditionalLootFunction.Joiner.joiner
private final RegistryKey
<LootFunction> ReferenceLootFunction.name
private final List
<LootFunction> AndLootFunction.terms
Modifier 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()
Modifier and TypeMethodDescriptionLootFunctionType
<? extends LootFunction> LootFunction.getType()
Modifier and TypeMethodDescriptionprotected static ConditionalLootFunction.Builder
<?> ConditionalLootFunction.builder
(Function<List<LootCondition>, LootFunction> joiner) static ConditionalLootFunction.Builder
<?> ReferenceLootFunction.builder
(RegistryKey<LootFunction> name) static AndLootFunction
AndLootFunction.create
(List<LootFunction> terms) ModifierConstructorDescriptionprivate
FilteredLootFunction
(List<LootCondition> conditions, ItemPredicate itemFilter, LootFunction modifier) private
ModifyContentsLootFunction
(List<LootCondition> conditions, ContainerComponentModifier<?> component, LootFunction modifier) ModifierConstructorDescriptionprivate
AndLootFunction
(List<LootFunction> terms) Joiner
(Function<List<LootCondition>, LootFunction> joiner) private
ReferenceLootFunction
(List<LootCondition> conditions, RegistryKey<LootFunction> name) -
Uses of LootFunction in net.minecraft.registry
Modifier and TypeFieldDescriptionstatic final RegistryKey
<Registry<LootFunction>> RegistryKeys.ITEM_MODIFIER
-
Uses of LootFunction in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate static int
ItemCommand.executeBlockCopyBlock
(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, BlockPos pos, int slot, RegistryEntry<LootFunction> lootFunction) private static int
ItemCommand.executeBlockCopyEntity
(ServerCommandSource source, Entity sourceEntity, int sourceSlot, BlockPos pos, int slot, RegistryEntry<LootFunction> lootFunction) private static int
ItemCommand.executeBlockModify
(ServerCommandSource source, BlockPos pos, int slot, RegistryEntry<LootFunction> lootFunction) private static int
ItemCommand.executeEntityCopyBlock
(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, Collection<? extends Entity> targets, int slot, RegistryEntry<LootFunction> lootFunction) private static int
ItemCommand.executeEntityCopyEntity
(ServerCommandSource source, Entity sourceEntity, int sourceSlot, Collection<? extends Entity> targets, int slot, RegistryEntry<LootFunction> lootFunction) private static int
ItemCommand.executeEntityModify
(ServerCommandSource source, Collection<? extends Entity> targets, int slot, RegistryEntry<LootFunction> lootFunction) private static ItemStack
ItemCommand.getStackWithModifier
(ServerCommandSource source, RegistryEntry<LootFunction> lootFunction, ItemStack stack)