RebuildWorldEntity

class RebuildWorldEntity : OutgoingGameMessage

Rebuild worldentity packet is used to build a new world entity block, which will be rendered in the root world for the player.

Constructors

Link copied to clipboard
constructor(index: Int, baseX: Int, baseZ: Int, sizeX: Int, sizeZ: Int, zoneProvider: RebuildWorldEntity.RebuildWorldEntityZoneProvider)

Types

Link copied to clipboard

Zone provider acts as a function to provide all the necessary information needed for rebuild worldentity to function, in the order the client expects it in.

Properties

Link copied to clipboard
val baseX: Int

the absolute base x coordinate of the world entity in the instance land

Link copied to clipboard
val baseZ: Int

the absolute base z coordinate of the world entity in the instance land

Link copied to clipboard
open override val category: ServerProtCategory
Link copied to clipboard
val index: Int

the index of the world entity (0-2048)

Link copied to clipboard

the list of zones that will be built into the root world

Functions

Link copied to clipboard
open override fun estimateSize(): Int