extends LootItemConditionalFunction
All mapped superinterfaces:
LootItemFunction, LootContextUser
eyy | |
net.minecraft.world.level.storage.loot.functions.SetNameFunction | |
net.minecraft.class_3670 | |
net.minecraft.loot.function.SetNameLootFunction | |
net.minecraft.world.level.storage.loot.functions.LootItemFunctionSetName |
Field summary
Modifier and Type | Field | ||||||||
---|---|---|---|---|---|---|---|---|---|
private static final org.slf4j.Logger |
| ||||||||
public static final com.mojang.serialization.MapCodec<SetNameFunction> |
| ||||||||
private final Optional<Component> |
| ||||||||
private final Optional<LootContext$EntityTarget> |
| ||||||||
private final SetNameFunction$Target |
|
Constructor summary
Modifier | Constructor |
---|---|
private | (List<LootItemCondition> conditions, Optional<Component> name, Optional<LootContext$EntityTarget> entity, SetNameFunction$Target target) |
Method summary
Modifier and Type | Method | ||||||||
---|---|---|---|---|---|---|---|---|---|
public LootItemFunctionType<SetNameFunction> |
| ||||||||
public Set<ContextKey<?>> |
| ||||||||
public static UnaryOperator<Component> |
| ||||||||
public ItemStack |
| ||||||||
public static LootItemConditionalFunction$Builder<?> |
| ||||||||
public static LootItemConditionalFunction$Builder<?> |
|