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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
protected SetLoreFunction.Builder
getThis()
setReplace
(boolean p_165454_) setResolutionContext
(LootContext.EntityTarget p_165450_) Methods inherited from class net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder
getConditions, unwrap, when
-
Field Details
-
replace
private boolean replace -
resolutionContext
-
lore
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setReplace
-
setResolutionContext
-
addLine
-
getThis
- Specified by:
getThis
in classLootItemConditionalFunction.Builder<SetLoreFunction.Builder>
-
build
-