net.minecraft.item.map

public record MapState$UpdateData

net.minecraft.world.level.saveddata.maps.MapItemSavedData$MapPatch
net.minecraft.class_22$class_5637
net.minecraft.item.map.MapState$UpdateData

Field summary

Modifier and TypeField
private final int
startX
comp_2316
startX
private final int
startY
comp_2317
startZ
private final int
width
comp_2318
width
private final int
height
comp_2319
height
private final byte[]
mapColors
comp_2320
colors
public static final PacketCodec<io.netty.buffer.ByteBuf, Optional<MapState$UpdateData>>
STREAM_CODEC
field_48925
CODEC

Constructor summary

ModifierConstructor
public (int startX, int startZ, int width, int height, byte[] colors)

Method summary

Modifier and TypeMethod
private static void
write(io.netty.buffer.ByteBuf output, Optional<MapItemSavedData$MapPatch> optional)
method_56817(io.netty.buffer.ByteBuf arg0, Optional<class_22$class_5637> arg1)
encode(io.netty.buffer.ByteBuf buf, Optional<MapState$UpdateData> updateData)
private static Optional<MapState$UpdateData>
read(io.netty.buffer.ByteBuf input)
method_56816(io.netty.buffer.ByteBuf arg0)
decode(io.netty.buffer.ByteBuf buf)
public void
applyToMap(MapItemSavedData map)
method_32380(class_22 arg0)
setColorsTo(MapState mapState)
public int
startX()
comp_2316()
startX()
public int
startY()
comp_2317()
startZ()
public int
width()
comp_2318()
width()
public int
height()
comp_2319()
height()
public byte[]
mapColors()
comp_2320()
colors()