net.minecraft.loot.function

public class SetLoreLootFunction$Builder

extends ConditionalLootFunction$Builder<SetLoreLootFunction$Builder>

All mapped superinterfaces:

LootFunction$Builder, LootConditionConsumingBuilder

net.minecraft.world.level.storage.loot.functions.SetLoreFunction$Builder
net.minecraft.class_3671$class_6159
net.minecraft.loot.function.SetLoreLootFunction$Builder

Field summary

Modifier and TypeField
private Optional<LootContext$EntityReference>
resolutionContext
field_31867
target
private final com.google.common.collect.ImmutableList$Builder<Text>
lore
field_31868
lore
private ListOperation
mode
field_50025
operation

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public SetLoreLootFunction$Builder
setMode(ListOperation mode)
method_58460(class_9368 arg0)
operation(ListOperation operation)
public SetLoreLootFunction$Builder
setResolutionContext(LootContext$EntityTarget resolutionContext)
method_35546(class_47$class_50 arg0)
target(LootContext$EntityReference target)
public SetLoreLootFunction$Builder
addLine(Component line)
method_35547(class_2561 arg0)
lore(Text lore)
protected SetLoreLootFunction$Builder
getThis()
method_523()
getThisBuilder()
public LootFunction
build()
method_515()
build()
protected ConditionalLootFunction$Builder
getThis()
method_523()
getThisBuilder()