Package net.minecraft.loot.function
Class SetLoreLootFunction.Builder
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction.Builder<SetLoreLootFunction.Builder>
net.minecraft.loot.function.SetLoreLootFunction.Builder
- All Implemented Interfaces:
LootConditionConsumingBuilder<SetLoreLootFunction.Builder>
,LootFunction.Builder
- Enclosing class:
SetLoreLootFunction
public static class SetLoreLootFunction.Builder
extends ConditionalLootFunction.Builder<SetLoreLootFunction.Builder>
- Mappings:
Namespace Name official eiw$a
intermediary net/minecraft/class_3671$class_6159
named net/minecraft/loot/function/SetLoreLootFunction$Builder
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ImmutableList.Builder<Text>
private boolean
private Optional<LootContext.EntityTarget>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
protected SetLoreLootFunction.Builder
replace
(boolean replace) target
(LootContext.EntityTarget target) Methods inherited from class net.minecraft.loot.function.ConditionalLootFunction.Builder
conditionally, getConditions, getThisConditionConsumingBuilder
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.loot.condition.LootConditionConsumingBuilder
conditionally
-
Field Details
-
replace
private boolean replace- Mappings:
Namespace Name Mixin selector official a
Leiw$a;a:Z
intermediary field_31866
Lnet/minecraft/class_3671$class_6159;field_31866:Z
named replace
Lnet/minecraft/loot/function/SetLoreLootFunction$Builder;replace:Z
-
target
- Mappings:
Namespace Name Mixin selector official b
Leiw$a;b:Ljava/util/Optional;
intermediary field_31867
Lnet/minecraft/class_3671$class_6159;field_31867:Ljava/util/Optional;
named target
Lnet/minecraft/loot/function/SetLoreLootFunction$Builder;target:Ljava/util/Optional;
-
lore
- Mappings:
Namespace Name Mixin selector official c
Leiw$a;c:Lcom/google/common/collect/ImmutableList$Builder;
intermediary field_31868
Lnet/minecraft/class_3671$class_6159;field_31868:Lcom/google/common/collect/ImmutableList$Builder;
named lore
Lnet/minecraft/loot/function/SetLoreLootFunction$Builder;lore:Lcom/google/common/collect/ImmutableList$Builder;
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
replace
- Mappings:
Namespace Name Mixin selector official a
Leiw$a;a(Z)Leiw$a;
intermediary method_35548
Lnet/minecraft/class_3671$class_6159;method_35548(Z)Lnet/minecraft/class_3671$class_6159;
named replace
Lnet/minecraft/loot/function/SetLoreLootFunction$Builder;replace(Z)Lnet/minecraft/loot/function/SetLoreLootFunction$Builder;
-
target
- Mappings:
Namespace Name Mixin selector official a
Leiw$a;a(Legw$b;)Leiw$a;
intermediary method_35546
Lnet/minecraft/class_3671$class_6159;method_35546(Lnet/minecraft/class_47$class_50;)Lnet/minecraft/class_3671$class_6159;
named target
Lnet/minecraft/loot/function/SetLoreLootFunction$Builder;target(Lnet/minecraft/loot/context/LootContext$EntityTarget;)Lnet/minecraft/loot/function/SetLoreLootFunction$Builder;
-
lore
- Mappings:
Namespace Name Mixin selector official a
Leiw$a;a(Lvf;)Leiw$a;
intermediary method_35547
Lnet/minecraft/class_3671$class_6159;method_35547(Lnet/minecraft/class_2561;)Lnet/minecraft/class_3671$class_6159;
named lore
Lnet/minecraft/loot/function/SetLoreLootFunction$Builder;lore(Lnet/minecraft/text/Text;)Lnet/minecraft/loot/function/SetLoreLootFunction$Builder;
-
getThisBuilder
- Specified by:
getThisBuilder
in classConditionalLootFunction.Builder<SetLoreLootFunction.Builder>
- Mappings:
Namespace Name Mixin selector official a
Leiw$a;a()Leiw$a;
intermediary method_35545
Lnet/minecraft/class_3671$class_6159;method_35545()Lnet/minecraft/class_3671$class_6159;
named getThisBuilder
Lnet/minecraft/loot/function/SetLoreLootFunction$Builder;getThisBuilder()Lnet/minecraft/loot/function/SetLoreLootFunction$Builder;
-
build
- Mappings:
Namespace Name Mixin selector official b
Leij$a;b()Leij;
intermediary method_515
Lnet/minecraft/class_117$class_118;method_515()Lnet/minecraft/class_117;
named build
Lnet/minecraft/loot/function/LootFunction$Builder;build()Lnet/minecraft/loot/function/LootFunction;
-