Package devs.beer.nativepackets.api
Interface UpdateSignPacketView
- All Superinterfaces:
PacketView
Copy-on-write indexed view of a serverbound sign update.
-
Method Summary
Modifier and TypeMethodDescriptionintblockX()intblockY()intblockZ()booleanvoidfrontText(boolean frontText) Changes whether the update targets the front text.line(int index) voidChanges one of the four lines to a non-null value of at most 384 UTF-16 code units.intvoidposition(int blockX, int blockY, int blockZ) Changes the sign block position.Methods inherited from interface devs.beer.nativepackets.api.PacketView
isModified, nativeHandle, type
-
Method Details
-
blockX
int blockX() -
blockY
int blockY() -
blockZ
int blockZ() -
position
void position(int blockX, int blockY, int blockZ) Changes the sign block position. -
frontText
boolean frontText() -
frontText
void frontText(boolean frontText) Changes whether the update targets the front text. -
lineCount
int lineCount() -
line
-
line
Changes one of the four lines to a non-null value of at most 384 UTF-16 code units.
-