net.minecraft.network.protocol.game

public record ClientboundMapItemDataPacket

implements Packet<ClientGamePacketListener>

aek
net.minecraft.network.protocol.game.ClientboundMapItemDataPacket
net.minecraft.class_2683
net.minecraft.network.packet.s2c.play.MapUpdateS2CPacket
net.minecraft.network.protocol.game.PacketPlayOutMap

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public PacketType<ClientboundMapItemDataPacket>
a()
type()
method_55846()
getPacketId()
public void
a(acr arg0)
handle(ClientGamePacketListener arg0)
method_11643(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public void
a(evr arg0)
applyToMap(MapItemSavedData arg0)
method_11642(class_22 arg0)
apply(MapState mapState)
public MapId
b()
mapId()
comp_2270()
mapId()
public byte
e()
scale()
comp_2271()
scale()
public boolean
f()
locked()
comp_2272()
locked()
public Optional<List<MapDecoration>>
g()
decorations()
comp_2273()
decorations()
public Optional<MapItemSavedData$MapPatch>
h()
colorPatch()
comp_2274()
updateData()