Companion¶
object Companion
Functions¶
singleUpdate¶
fun singleUpdate(
pos: BlockPos,
propertyName: String,
value: BlockEntityStatePacket.SerializedValue
): BlockEntityUpdatePacket
Creates a new packet with a single property update.
Parameters
-
pos: The block position.
-
propertyName: The name of the property being updated.
-
value: The new value.