外观
协议模型:S · 9
选择模型查看构造参数和字段,代码块保留完整模型名称。... 表示可省略的字段,省略时使用该类型的零值。
struct_EventType_uint16_struct_Expression_string__Version_uint8_struct_FadeInDuration_fl…ion_float32_struct_FieldOfView_float…_Clear_bool_struct_Flags_uint32__Com…queID_int64_struct_FormID_uint32__FormData___byte_struct_FromDimensionID_i…ionID_int32_struct_GameType_int32_struct_GameType_int32__P…Tick_uint64_struct_HasData_bool__Tim…ionID_uint8_struct_Hash_uint64__Payload___byte_struct_HasValue_bool__Re…ffix_string_struct_Health_int32_struct_HotbarSlot_int32_…orkID_int32_struct_ID_int16__mapstru…dEnchant____struct_ID_string__Name_s…izable_bool_struct_Identifier_string…onse___byte_struct_Identifier_string…Score_int32_struct_Identifier_string__Data___byte_struct_Identifier_string…ority_int32_
struct_EventType_uint16_
继承 Struct。
python
class struct_EventType_uint16_(_Struct):
EventType: int
def __init__(self, /, *,
EventType: int = ...,
) -> None: ...struct_Expression_string__Version_uint8_
继承 Struct。
python
class struct_Expression_string__Version_uint8_(_Struct):
Expression: str | StringBytes
Version: int
def __init__(self, /, *,
Expression: str | StringBytes = ...,
Version: int = ...,
) -> None: ...struct_FadeInDuration_fl…ion_float32_
继承 Struct。
python
class struct_FadeInDuration_float32__WaitDuration_float32__FadeOutDuration_float32_(_Struct):
FadeInDuration: float | FloatBits
WaitDuration: float | FloatBits
FadeOutDuration: float | FloatBits
def __init__(self, /, *,
FadeInDuration: float | FloatBits = ...,
WaitDuration: float | FloatBits = ...,
FadeOutDuration: float | FloatBits = ...,
) -> None: ...struct_FieldOfView_float…_Clear_bool_
继承 Struct。
python
class struct_FieldOfView_float32__EaseTime_float32__EaseType_uint8__Clear_bool_(_Struct):
FieldOfView: float | FloatBits
EaseTime: float | FloatBits
EaseType: int
Clear: bool
def __init__(self, /, *,
FieldOfView: float | FloatBits = ...,
EaseTime: float | FloatBits = ...,
EaseType: int = ...,
Clear: bool = ...,
) -> None: ...struct_Flags_uint32__Com…queID_int64_
继承 Struct。
python
class struct_Flags_uint32__CommandPermissionLevel_uint32__ActionPermissions_uint32__PermissionLevel_uint32__CustomStoredPermissions_uint32__PlayerUniqueID_int64_(_Struct):
Flags: int
CommandPermissionLevel: int
ActionPermissions: int
PermissionLevel: int
CustomStoredPermissions: int
PlayerUniqueID: int
def __init__(self, /, *,
Flags: int = ...,
CommandPermissionLevel: int = ...,
ActionPermissions: int = ...,
PermissionLevel: int = ...,
CustomStoredPermissions: int = ...,
PlayerUniqueID: int = ...,
) -> None: ...struct_FormID_uint32__FormData___byte_
继承 Struct。
python
class struct_FormID_uint32__FormData___byte_(_Struct):
FormID: int
FormData: bytes | None
def __init__(self, /, *,
FormID: int = ...,
FormData: bytes | None = ...,
) -> None: ...struct_FromDimensionID_i…ionID_int32_
继承 Struct。
python
class struct_FromDimensionID_int32__ToDimensionID_int32_(_Struct):
FromDimensionID: int
ToDimensionID: int
def __init__(self, /, *,
FromDimensionID: int = ...,
ToDimensionID: int = ...,
) -> None: ...struct_GameType_int32_
继承 Struct。
python
class struct_GameType_int32_(_Struct):
GameType: int
def __init__(self, /, *,
GameType: int = ...,
) -> None: ...struct_GameType_int32__P…Tick_uint64_
继承 Struct。
python
class struct_GameType_int32__PlayerUniqueID_int64__Tick_uint64_(_Struct):
GameType: int
PlayerUniqueID: int
Tick: int
def __init__(self, /, *,
GameType: int = ...,
PlayerUniqueID: int = ...,
Tick: int = ...,
) -> None: ...struct_HasData_bool__Tim…ionID_uint8_
继承 Struct。
python
class struct_HasData_bool__Time_int32__DimensionID_uint8_(_Struct):
HasData: bool
Time: int
DimensionID: int
def __init__(self, /, *,
HasData: bool = ...,
Time: int = ...,
DimensionID: int = ...,
) -> None: ...struct_Hash_uint64__Payload___byte_
继承 Struct。
python
class struct_Hash_uint64__Payload___byte_(_Struct):
Hash: int
Payload: bytes | None
def __init__(self, /, *,
Hash: int = ...,
Payload: bytes | None = ...,
) -> None: ...struct_HasValue_bool__Re…ffix_string_
继承 Struct。
python
class struct_HasValue_bool__RenderNameColor_bool__Prefix_string__PrefixColor_string__NameColor_string__SuffixColor_string__Suffix_string_(_Struct):
HasValue: bool
RenderNameColor: bool
Prefix: str | StringBytes
PrefixColor: str | StringBytes
NameColor: str | StringBytes
SuffixColor: str | StringBytes
Suffix: str | StringBytes
def __init__(self, /, *,
HasValue: bool = ...,
RenderNameColor: bool = ...,
Prefix: str | StringBytes = ...,
PrefixColor: str | StringBytes = ...,
NameColor: str | StringBytes = ...,
SuffixColor: str | StringBytes = ...,
Suffix: str | StringBytes = ...,
) -> None: ...struct_Health_int32_
继承 Struct。
python
class struct_Health_int32_(_Struct):
Health: int
def __init__(self, /, *,
Health: int = ...,
) -> None: ...struct_HotbarSlot_int32_…orkID_int32_
继承 Struct。
python
class struct_HotbarSlot_int32__PredictedDurability_int32__StackNetworkID_int32_(_Struct):
HotbarSlot: int
PredictedDurability: int
StackNetworkID: int
def __init__(self, /, *,
HotbarSlot: int = ...,
PredictedDurability: int = ...,
StackNetworkID: int = ...,
) -> None: ...struct_ID_int16__mapstru…dEnchant____
继承 Struct。
python
class struct_ID_int16__mapstructure___id_____Level_int16__mapstructure___lvl_____ModEnchant_string__mapstructure___modEnchant____(_Struct):
ID: int
Level: int
ModEnchant: str | StringBytes
def __init__(self, /, *,
ID: int = ...,
Level: int = ...,
ModEnchant: str | StringBytes = ...,
) -> None: ...struct_ID_string__Name_s…izable_bool_
继承 Struct。
python
class struct_ID_string__Name_string__Amount_float32__Operation_int32__Operand_int32__Serializable_bool_(_Struct):
ID: str | StringBytes
Name: str | StringBytes
Amount: float | FloatBits
Operation: int
Operand: int
Serializable: bool
def __init__(self, /, *,
ID: str | StringBytes = ...,
Name: str | StringBytes = ...,
Amount: float | FloatBits = ...,
Operation: int = ...,
Operand: int = ...,
Serializable: bool = ...,
) -> None: ...struct_Identifier_string…onse___byte_
继承 Struct。
python
class struct_Identifier_string__Action_int32__Response___byte_(_Struct):
Identifier: str | StringBytes
Action: int
Response: bytes | None
def __init__(self, /, *,
Identifier: str | StringBytes = ...,
Action: int = ...,
Response: bytes | None = ...,
) -> None: ...struct_Identifier_string…Score_int32_
继承 Struct。
python
class struct_Identifier_string__Action_int32__Score_int32_(_Struct):
Identifier: str | StringBytes
Action: int
Score: int
def __init__(self, /, *,
Identifier: str | StringBytes = ...,
Action: int = ...,
Score: int = ...,
) -> None: ...struct_Identifier_string__Data___byte_
继承 Struct。
python
class struct_Identifier_string__Data___byte_(_Struct):
Identifier: str | StringBytes
Data: bytes | None
def __init__(self, /, *,
Identifier: str | StringBytes = ...,
Data: bytes | None = ...,
) -> None: ...struct_Identifier_string…ority_int32_
继承 Struct。
python
class struct_Identifier_string__Priority_int32_(_Struct):
Identifier: str | StringBytes
Priority: int
def __init__(self, /, *,
Identifier: str | StringBytes = ...,
Priority: int = ...,
) -> None: ...