Class SetLoreFunction.Builder
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder<SetLoreFunction.Builder>
net.minecraft.world.level.storage.loot.functions.SetLoreFunction.Builder
- All Implemented Interfaces:
LootItemFunction.Builder
,ConditionUserBuilder<SetLoreFunction.Builder>
- Enclosing class:
SetLoreFunction
public static class SetLoreFunction.Builder
extends LootItemConditionalFunction.Builder<SetLoreFunction.Builder>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableList.Builder
<Component> private ListOperation
private Optional
<LootContext.EntityTarget> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
protected SetLoreFunction.Builder
getThis()
setMode
(ListOperation p_333307_) setResolutionContext
(LootContext.EntityTarget p_165450_) Methods inherited from class net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder
getConditions, unwrap, when
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.level.storage.loot.predicates.ConditionUserBuilder
when
-
Field Details
-
resolutionContext
-
lore
-
mode
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setMode
-
setResolutionContext
-
addLine
-
getThis
- Specified by:
getThis
in classLootItemConditionalFunction.Builder<SetLoreFunction.Builder>
-
build
-