Package net.minecraft.loot.function
Class SetLoreLootFunction
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction
net.minecraft.loot.function.SetLoreLootFunction
- All Implemented Interfaces:
- BiFunction<ItemStack,,- LootContext, - ItemStack> - LootContextAware,- LootFunction
- Mappings:
- Namespace - Name - named - net/minecraft/loot/function/SetLoreLootFunction- intermediary - net/minecraft/class_3671- official - eya
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<SetLoreLootFunction> private final Optional<LootContext.EntityTarget> private final ListOperationFields inherited from class net.minecraft.loot.function.ConditionalLootFunctionconditions
- 
Constructor SummaryConstructorsConstructorDescriptionSetLoreLootFunction(List<LootCondition> conditions, List<Text> lore, ListOperation operation, Optional<LootContext.EntityTarget> entity) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic SetLoreLootFunction.Builderbuilder()Set<ContextParameter<?>> getNewLoreTexts(@Nullable LoreComponent current, LootContext context) getType()process(ItemStack stack, LootContext context) Methods inherited from class net.minecraft.loot.function.ConditionalLootFunctionaddConditionsField, apply, builder, validateMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunctionandThen
- 
Field Details- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/loot/function/SetLoreLootFunction;CODEC:Lcom/mojang/serialization/MapCodec;- intermediary - field_45847- Lnet/minecraft/class_3671;field_45847:Lcom/mojang/serialization/MapCodec;- official - a- Leya;a:Lcom/mojang/serialization/MapCodec;
 
- 
lore- Mappings:
- Namespace - Name - Mixin selector - named - lore- Lnet/minecraft/loot/function/SetLoreLootFunction;lore:Ljava/util/List;- intermediary - field_16231- Lnet/minecraft/class_3671;field_16231:Ljava/util/List;- official - b- Leya;b:Ljava/util/List;
 
- 
operation- Mappings:
- Namespace - Name - Mixin selector - named - operation- Lnet/minecraft/loot/function/SetLoreLootFunction;operation:Lnet/minecraft/util/collection/ListOperation;- intermediary - field_50024- Lnet/minecraft/class_3671;field_50024:Lnet/minecraft/class_9368;- official - c- Leya;c:Lexe;
 
- 
entity- Mappings:
- Namespace - Name - Mixin selector - named - entity- Lnet/minecraft/loot/function/SetLoreLootFunction;entity:Ljava/util/Optional;- intermediary - field_16233- Lnet/minecraft/class_3671;field_16233:Ljava/util/Optional;- official - d- Leya;d:Ljava/util/Optional;
 
 
- 
- 
Constructor Details- 
SetLoreLootFunctionpublic SetLoreLootFunction(List<LootCondition> conditions, List<Text> lore, ListOperation operation, Optional<LootContext.EntityTarget> entity) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/loot/function/SetLoreLootFunction;<init>(Ljava/util/List;Ljava/util/List;Lnet/minecraft/util/collection/ListOperation;Ljava/util/Optional;)V- intermediary - <init>- Lnet/minecraft/class_3671;<init>(Ljava/util/List;Ljava/util/List;Lnet/minecraft/class_9368;Ljava/util/Optional;)V- official - <init>- Leya;<init>(Ljava/util/List;Ljava/util/List;Lexe;Ljava/util/Optional;)V
 
 
- 
- 
Method Details- 
getType- Specified by:
- getTypein interface- LootFunction
- Specified by:
- getTypein class- ConditionalLootFunction
- Mappings:
- Namespace - Name - Mixin selector - named - getType- Lnet/minecraft/loot/function/LootFunction;getType()Lnet/minecraft/loot/function/LootFunctionType;- intermediary - method_29321- Lnet/minecraft/class_117;method_29321()Lnet/minecraft/class_5339;- official - b- Lexg;b()Lexh;
 
- 
getAllowedParameters- Mappings:
- Namespace - Name - Mixin selector - named - getAllowedParameters- Lnet/minecraft/loot/context/LootContextAware;getAllowedParameters()Ljava/util/Set;- intermediary - method_293- Lnet/minecraft/class_46;method_293()Ljava/util/Set;- official - a- Levt;a()Ljava/util/Set;
 
- 
process- Specified by:
- processin class- ConditionalLootFunction
- Mappings:
- Namespace - Name - Mixin selector - named - process- Lnet/minecraft/loot/function/ConditionalLootFunction;process(Lnet/minecraft/item/ItemStack;Lnet/minecraft/loot/context/LootContext;)Lnet/minecraft/item/ItemStack;- intermediary - method_522- Lnet/minecraft/class_120;method_522(Lnet/minecraft/class_1799;Lnet/minecraft/class_47;)Lnet/minecraft/class_1799;- official - a- Lexf;a(Lcwq;Levs;)Lcwq;
 
- 
getNewLoreTexts- Mappings:
- Namespace - Name - Mixin selector - named - getNewLoreTexts- Lnet/minecraft/loot/function/SetLoreLootFunction;getNewLoreTexts(Lnet/minecraft/component/type/LoreComponent;Lnet/minecraft/loot/context/LootContext;)Ljava/util/List;- intermediary - method_57658- Lnet/minecraft/class_3671;method_57658(Lnet/minecraft/class_9290;Lnet/minecraft/class_47;)Ljava/util/List;- official - a- Leya;a(Lczj;Levs;)Ljava/util/List;
 
- 
builder- Mappings:
- Namespace - Name - Mixin selector - named - builder- Lnet/minecraft/loot/function/SetLoreLootFunction;builder()Lnet/minecraft/loot/function/SetLoreLootFunction$Builder;- intermediary - method_35544- Lnet/minecraft/class_3671;method_35544()Lnet/minecraft/class_3671$class_6159;- official - c- Leya;c()Leya$a;
 
 
-