OptionaloverrideEulerAngle: numberOptional ReadonlyboundsOptional ReadonlyboundsFor detecting players / objects underneath a foundation
Universal Identifier, used for locating the home of an entity
Optional Readonlycubebounds3d boundaries of the space the ConstructionParentEntity occupies (8 vertice points)
ReadonlydamageRange that the ConstructionParentEntity will take damage from explosives
Used for vehicle abilities, array of the corresponding vehicles effects
Used for manipulating the X, Y, and Z axes for the ConstructionChildEntity
ReadonlyexpansionData on deck expansions - includes [slot: number] of position (Float32Array) and rotation (Float32Array)
Optional ReadonlyfixedStatic position of the ConstructionChildEntity
Adjustable flags for the lightweight, useful flags: nonAttackable - disables melee flinch noCollide - determines if NpcCollision packet gets sent on player collide bit13 - causes a crash if 1 with noCollide 1 knockedOut - currently used for determining if a character is dead
Objects that don't occupy any sockets inside of the ConstructionChildEntity, uses CharacterId (string) for indexing
Returns the modelId of the lightweight, zombies or players
Health of the lightweight
Distance (H1Z1 meters) at which the player can interact with the entity
Used by DecayManager, determines if the entity will be damaged the next decay tick
The guid of the secured shelter the entity is inside
Returns true if the character is a lightweight
Returns true if the ConstructionChildEntity is secured by a door
ReadonlyitemId of the ConstructionParentEntity - See ServerItemDefinitions.json for more information
Last time the ConstructionParentEntity was damaged
The physical material the entity is made of - See enums.ts/MaterialTypes for more information
Maximum health of the lightweight
Id of the lightweight, used in determining the proper name for HUDTimer and InteractionString
OptionalnavDistance (H1Z1 meters) where the entity will render, when undefined, uses the zoneserver._charactersRenderDistance value instead
HashMap of occupied expansion slots for a deck foundation (1 per side - 4 total), uses slot (number) for indexing
HashMap of occupied ramp slots for a deck foundation (3 per side - 12 total), uses slot (number) for indexing
CharacterId of the player who placed the ConstructionParentEntity
The parent object the ConstructionChildEntity is attached to
Allowed permissions for players on the ConstructionParentEntity, determines if a player can visit, use containers, build or demolish
Time (milliseconds) the ConstructionChildEntity was placed
Determines if the lightweight is moving with the positionUpdate - Avcio
Used for constructions
ReadonlyrampData on a ramp - includes: [slot: number] of position (Float32Array) and rotation (Float32Array)
Physical size of the entity based on the entity model
ReadonlyshelterReadonlyslotIndex of the parent slot, used by ConstructionChildEntity - also determines CubeBounds
State of the BaseLightweightCharacter, includes: state (Float32Array), rotation(Float32Array), lookAt(Float32Array), and yaw (number)
OptionaltemporaryUsed by decay manager to determine the amount of ticks a ConstructionParentEntity has spent without any occupied slots
Required for interactable entities, npc and interaction components packet
Time (milliseconds) the player has to undo placement on the ConstructionChildEntity
ReadonlyupperFOR UPPER WALL ON WALLS / DOORWAYS
Determines if the lightweight should be used as a SimpleNpc (non-moving)
ReadonlywallFOR DOORS ON SHELTERS / DOORWAYS / LOOKOUT
[Deck foundations only] Returns the slotId of an expansion on the same side as a given wall.
[Deck expansions only] Returns an array containing the parent foundation walls that a given expansion depends on to be secured.
[Expansions only] Returns the wall slot on the deck that is required to complete the expansion's square bounds
Tests if all walls slots of this foundation are occupied and secured.
boolean
ProtectedisOptionalisInstant: booleanGets the lightweight npc/pc packet fields for use in sendself, addlightweightnpc, or addlightweightpc
Protectedset
Id of the model that corresponds to the entity