net.minecraft.world.level.storage.loot.functions

public class SetBookCoverFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

exn
net.minecraft.world.level.storage.loot.functions.SetBookCoverFunction
net.minecraft.class_9374
net.minecraft.loot.function.SetBookCoverLootFunction
net.minecraft.world.level.storage.loot.functions.SetBookCoverFunction

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<SetBookCoverFunction>
a
CODEC
field_49870
CODEC
private final Optional<String>
b
author
field_49871
author
private final Optional<Filterable<String>>
c
title
field_49872
title
private final Optional<Integer>
d
generation
field_49873
generation

Constructor summary

ModifierConstructor
public (List<LootItemCondition> conditions, Optional<Filterable<String>> title, Optional<String> author, Optional<Integer> generation)

Method summary

Modifier and TypeMethod
protected ItemStack
a(cwq arg0, evs arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
private WrittenBookContent
a(czy arg0)
apply(WrittenBookContent arg0)
method_58200(class_9302 arg0)
apply(WrittenBookContentComponent current)
public LootItemFunctionType<SetBookCoverFunction>
b()
getType()
method_29321()
getType()