net.minecraft.world.item.component

public record TooltipDisplay

dbw
net.minecraft.world.item.component.TooltipDisplay
net.minecraft.class_10712
net.minecraft.class_10712

Field summary

Modifier and TypeField
private final boolean
d
hideTooltip
comp_3600
hideTooltip
private final SequencedSet<DataComponentType<?>>
e
hiddenComponents
comp_3601
hiddenComponents
private static final com.mojang.serialization.Codec<SequencedSet<DataComponentType<?>>>
f
COMPONENT_SET_CODEC
field_56319
field_56319
public static final com.mojang.serialization.Codec<TooltipDisplay>
a
CODEC
field_56316
field_56316
public static final StreamCodec<RegistryFriendlyByteBuf, TooltipDisplay>
b
STREAM_CODEC
field_56317
field_56317
public static final TooltipDisplay
c
DEFAULT
field_56318
field_56318

Constructor summary

ModifierConstructor
public (boolean arg0, SequencedSet<DataComponentType<?>> arg1)

Method summary

Modifier and TypeMethod
public TooltipDisplay
a(ki<?> arg0, boolean arg1)
withHidden(DataComponentType<?> arg0, boolean arg1)
method_67215(class_9331<?> arg0, boolean arg1)
method_67215(ComponentType<?> arg0, boolean arg1)
public boolean
a(ki<?> arg0)
shows(DataComponentType<?> arg0)
method_67214(class_9331<?> arg0)
method_67214(ComponentType<?> arg0)
public boolean
a()
hideTooltip()
comp_3600()
hideTooltip()
public SequencedSet<DataComponentType<?>>
b()
hiddenComponents()
comp_3601()
hiddenComponents()