net.minecraft.network.protocol.game

public class ServerboundSignUpdatePacket

implements Packet<ServerGamePacketListener>

aid
net.minecraft.network.protocol.game.ServerboundSignUpdatePacket
net.minecraft.class_2877
net.minecraft.network.packet.c2s.play.UpdateSignC2SPacket
net.minecraft.network.protocol.game.PacketPlayInUpdateSign

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ServerboundSignUpdatePacket>
a
STREAM_CODEC
field_48222
CODEC
private static final int
b
MAX_STRING_LENGTH
field_33371
MAX_LINE_LENGTH
private final BlockPos
c
pos
field_13101
pos
private final String[]
d
lines
field_13100
text
private final boolean
e
isFrontText
field_43153
front

Constructor summary

ModifierConstructor
public (BlockPos pos, boolean front, String line1, String line2, String line3, String line4)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(vl arg0)
write(FriendlyByteBuf arg0)
method_56002(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ServerboundSignUpdatePacket>
a()
type()
method_65080()
getPacketType()
public void
a(agg arg0)
handle(ServerGamePacketListener arg0)
method_12509(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public BlockPos
b()
getPos()
method_12510()
getPos()
public boolean
e()
isFrontText()
method_49751()
isFront()
public String[]
f()
getLines()
method_12508()
getText()