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

public class ToggleTooltips

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

eta
net.minecraft.world.level.storage.loot.functions.ToggleTooltips
net.minecraft.class_9429
net.minecraft.loot.function.ToggleTooltipsLootFunction
net.minecraft.src.C_313269_
net.minecraft.world.level.storage.loot.functions.ToggleTooltips

Field summary

Modifier and TypeField
private static final Map<DataComponentType<?>, ToggleTooltips$ComponentToggle<?>>
b
TOGGLES
field_50028
TOGGLES
f_315725_
private static final com.mojang.serialization.Codec<ToggleTooltips$ComponentToggle<?>>
c
TOGGLE_CODEC
field_50029
TOGGLE_CODEC
f_314765_
public static final com.mojang.serialization.MapCodec<ToggleTooltips>
a
CODEC
field_50027
CODEC
f_315888_
private final Map<ToggleTooltips$ComponentToggle<?>, Boolean>
d
values
field_50030
toggles
f_315101_

Constructor summary

ModifierConstructor
private (List<LootItemCondition> conditions, Map<ToggleTooltips$ComponentToggle<?>, Boolean> toggles)

Method summary

Modifier and TypeMethod
protected ItemStack
a(cur arg0, eqk arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_331872_, C_2811_ arg1)
public LootItemFunctionType<ToggleTooltips>
b()
getType()
method_29321()
getType()
m_7162_()