net.minecraft.network.protocol.game

public record ClientboundMapItemDataPacket

implements Packet<ClientGamePacketListener>

aea
net.minecraft.network.protocol.game.ClientboundMapItemDataPacket
net.minecraft.class_2683
net.minecraft.network.packet.s2c.play.MapUpdateS2CPacket
net.minecraft.src.C_5075_
net.minecraft.network.protocol.game.PacketPlayOutMap

Field summary

Modifier and TypeField
private final MapId
b
mapId
comp_2270
mapId
f_132415_
private final byte
c
scale
comp_2271
scale
f_132416_
private final boolean
d
locked
comp_2272
locked
f_132418_
private final Optional<List<MapDecoration>>
e
decorations
comp_2273
decorations
f_132419_
private final Optional<MapItemSavedData$MapPatch>
f
colorPatch
comp_2274
updateData
f_178968_
public static final StreamCodec<RegistryFriendlyByteBuf, ClientboundMapItemDataPacket>
a
STREAM_CODEC
field_47938
CODEC
f_314295_

Constructor summary

ModifierConstructor
public (MapId mapId, byte scale, boolean locked, Collection<MapDecoration> decorations, MapItemSavedData$MapPatch updateData)
public (MapId scale, byte locked, boolean decorations, Optional<List<MapDecoration>> colorPatch, Optional<MapItemSavedData$MapPatch> arg4)

Method summary

Modifier and TypeMethod
public PacketType<ClientboundMapItemDataPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(aci arg0)
handle(ClientGamePacketListener arg0)
method_11643(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public void
a(epm arg0)
applyToMap(MapItemSavedData arg0)
method_11642(class_22 arg0)
apply(MapState mapState)
m_132437_(C_2771_ arg0)
public MapId
b()
mapId()
comp_2270()
mapId()
f_132415_()
public byte
e()
scale()
comp_2271()
scale()
f_132416_()
public boolean
f()
locked()
comp_2272()
locked()
f_132418_()
public Optional<List<MapDecoration>>
g()
decorations()
comp_2273()
decorations()
f_132419_()
public Optional<MapItemSavedData$MapPatch>
h()
colorPatch()
comp_2274()
updateData()
f_178968_()