net.minecraft.world.level.saveddata.maps

public record MapId

implements TooltipProvider

exn
net.minecraft.world.level.saveddata.maps.MapId
net.minecraft.class_9209
net.minecraft.component.type.MapIdComponent

Field summary

Modifier and TypeField
private final int
c
id
comp_2315
id
public static final com.mojang.serialization.Codec<MapId>
a
CODEC
field_49425
CODEC
public static final StreamCodec<io.netty.buffer.ByteBuf, MapId>
b
STREAM_CODEC
field_48924
PACKET_CODEC
private static final Component
d
LOCKED_TEXT
field_56341
field_56341

Constructor summary

ModifierConstructor
public (int arg0)

Method summary

Modifier and TypeMethod
public String
a()
key()
method_56814()
asString()
public void
a(cyo$b arg0, Consumer<ww> arg1, dah arg2, ke arg3)
addToTooltip(Item$TooltipContext arg0, Consumer<Component> arg1, TooltipFlag arg2, DataComponentGetter arg3)
method_57409(class_1792$class_9635 arg0, Consumer<class_2561> arg1, class_1836 arg2, class_9473 arg3)
appendTooltip(Item$TooltipContext arg0, Consumer<Text> arg1, TooltipType arg2, ComponentsAccess arg3)
public int
b()
id()
comp_2315()
id()