soulfire.world_pb2.RaycastResponse

class soulfire.world_pb2.RaycastResponse(block: soulfire.domain_pb2.BlockSnapshot | collections.abc.Mapping | None = ..., entity: soulfire.domain_pb2.EntitySnapshot | collections.abc.Mapping | None = ..., hit_position: soulfire.common_pb2.WorldPosition | collections.abc.Mapping | None = ..., block_face: soulfire.bot_live_pb2.BlockFace | str | None = ..., distance: float | None = ...)

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

BLOCK_FIELD_NUMBER: ClassVar[int]
ENTITY_FIELD_NUMBER: ClassVar[int]
HIT_POSITION_FIELD_NUMBER: ClassVar[int]
BLOCK_FACE_FIELD_NUMBER: ClassVar[int]
DISTANCE_FIELD_NUMBER: ClassVar[int]
block: soulfire.domain_pb2.BlockSnapshot
entity: soulfire.domain_pb2.EntitySnapshot
hit_position: soulfire.common_pb2.WorldPosition
block_face: soulfire.bot_live_pb2.BlockFace
distance: float