Skip to content

Network

endstone.network

Packet

Represents a packet.

type property

type: PacketType

Gets the type of the packet.

PacketType

PacketType(value: int)

Represents the types of packets.

SPAWN_PARTICLE_EFFECT class-attribute

SPAWN_PARTICLE_EFFECT: PacketType

name property

name: str

value property

value: int

SpawnParticleEffectPacket

SpawnParticleEffectPacket()

Bases: Packet

Represents a packet for spawning a particle effect.

actor_id instance-attribute

actor_id: int

dimension_id instance-attribute

dimension_id: int

effect_name instance-attribute

effect_name: str

molang_variables_json instance-attribute

molang_variables_json: str | None

position instance-attribute

position: Vector