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

public class ToggleTooltips

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

eyi
net.minecraft.world.level.storage.loot.functions.ToggleTooltips
net.minecraft.class_9429
net.minecraft.unmapped.C_llzdgbzq
net.minecraft.loot.function.ToggleTooltipsLootFunction
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
f_umdcadqq
TOGGLES
TOGGLERS_BY_TYPE
f_315725_
private static final com.mojang.serialization.Codec<ToggleTooltips$ComponentToggle<?>>
c
TOGGLE_CODEC
field_50029
f_rnlppzex
TOGGLE_CODEC
TOGGLER_CODEC
f_314765_
public static final com.mojang.serialization.MapCodec<ToggleTooltips>
a
CODEC
field_50027
f_asesavqb
CODEC
CODEC
f_315888_
private final Map<ToggleTooltips$ComponentToggle<?>, Boolean>
d
values
field_50030
f_rsacwfqx
toggles
toggles
f_315101_

Constructor summary

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

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)
m_axzztavb(C_sddaxwyk arg0, C_iakykpgh arg1)
process(ItemStack arg0, LootContext arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_331872_, C_2811_ arg1)
public LootItemFunctionType<ToggleTooltips>
b()
getType()
method_29321()
m_ngvoddkv()
getType()
getType()
m_7162_()