Skip to content

Network

endstone.network

Classes:

Name Description
Packet

Represents a packet.

PacketType

Represents the types of packets.

SpawnParticleEffectPacket

Represents a packet for spawning a particle effect.

Packet

Represents a packet.

Attributes:

Name Type Description
type PacketType

Gets the type of the packet.

type property

type: PacketType

Gets the type of the packet.

PacketType

PacketType(value: int)

Represents the types of packets.

Attributes:

Name Type Description
SPAWN_PARTICLE_EFFECT PacketType
name str
value int

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.

Attributes:

Name Type Description
actor_id int
dimension_id int
effect_name str
molang_variables_json str | None
position Vector

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