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

public class ToggleTooltips

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

ezf
net.minecraft.world.level.storage.loot.functions.ToggleTooltips
net.minecraft.class_9429
net.minecraft.loot.function.ToggleTooltipsLootFunction
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
private static final com.mojang.serialization.Codec<ToggleTooltips$ComponentToggle<?>>
c
TOGGLE_CODEC
field_50029
TOGGLE_CODEC
public static final com.mojang.serialization.MapCodec<ToggleTooltips>
a
CODEC
field_50027
CODEC
private final Map<ToggleTooltips$ComponentToggle<?>, Boolean>
d
values
field_50030
toggles

Constructor summary

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

Method summary

Modifier and TypeMethod
protected ItemStack
a(cxp arg0, ewp arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
public LootItemFunctionType<ToggleTooltips>
b()
getType()
method_29321()
getType()