外观
协议模型:D · 1
选择模型查看构造参数和字段,代码块保留完整模型名称。... 表示可省略的字段,省略时使用该类型的零值。
DataStoreChangeDataStoreChangeEntryDataStoreChangeEntry_DataStoreMapEntryDataStoreMapEntry_DataStorePropertyValueDataStorePropertyValue_DataStorePropertyValue__…opertyValue_DataStoreRemovalDataStoreRemoval_DataStoreUpdateDeathInfoDebugDrawerDebugDrawerShapeDebugDrawerShape_DebugInfoDefaultItemDescriptorDeferredItemDescriptorDestroyStackRequestActionDestroyStackRequestAction_
DataStoreChange
继承 Struct。
python
class DataStoreChange(_Struct):
DataStoreName: str | StringBytes
Property: str | StringBytes
UpdateCount: int
NewValue: DataStorePropertyValue
def __init__(self, /, *,
DataStoreName: str | StringBytes = ...,
Property: str | StringBytes = ...,
UpdateCount: int = ...,
NewValue: DataStorePropertyValue = ...,
) -> None: ...相关字段类型:DataStorePropertyValue。
DataStoreChangeEntry
继承 Struct。
python
class DataStoreChangeEntry(_Struct):
ChangeType: int
Update: DataStoreUpdate
Change: DataStoreChange
Removal: DataStoreRemoval
def __init__(self, /, *,
ChangeType: int = ...,
Update: DataStoreUpdate = ...,
Change: DataStoreChange = ...,
Removal: DataStoreRemoval = ...,
) -> None: ...相关字段类型:DataStoreChange、DataStoreRemoval、DataStoreUpdate。
DataStoreChangeEntry_
继承 Struct。
python
class DataStoreChangeEntry_(_Struct):
Updates: list[DataStoreChangeEntry] | tuple[DataStoreChangeEntry, ...] | None
def __init__(self, /, *,
Updates: list[DataStoreChangeEntry] | tuple[DataStoreChangeEntry, ...] | None = ...,
) -> None: ...相关字段类型:DataStoreChangeEntry。
DataStoreMapEntry
继承 Struct。
python
class DataStoreMapEntry(_Struct):
Key: str | StringBytes
Value: DataStorePropertyValue
def __init__(self, /, *,
Key: str | StringBytes = ...,
Value: DataStorePropertyValue = ...,
) -> None: ...相关字段类型:DataStorePropertyValue。
DataStoreMapEntry_
继承 Struct。
python
class DataStoreMapEntry_(_Struct):
Type: int
BoolValue: bool
Int64Value: int
DoubleValue: float | FloatBits
StringValue: str | StringBytes
ListValue: list[DataStorePropertyValue] | tuple[DataStorePropertyValue, ...] | None
MapValue: list[DataStoreMapEntry] | tuple[DataStoreMapEntry, ...] | None
def __init__(self, /, *,
Type: int = ...,
BoolValue: bool = ...,
Int64Value: int = ...,
DoubleValue: float | FloatBits = ...,
StringValue: str | StringBytes = ...,
ListValue: list[DataStorePropertyValue] | tuple[DataStorePropertyValue, ...] | None = ...,
MapValue: list[DataStoreMapEntry] | tuple[DataStoreMapEntry, ...] | None = ...,
) -> None: ...相关字段类型:DataStoreMapEntry、DataStorePropertyValue。
DataStorePropertyValue
继承 Struct。
python
class DataStorePropertyValue(_Struct):
Type: int
BoolValue: bool
Int64Value: int
DoubleValue: float | FloatBits
StringValue: str | StringBytes
ListValue: list[DataStorePropertyValue] | tuple[DataStorePropertyValue, ...] | None
MapValue: list[DataStoreMapEntry] | tuple[DataStoreMapEntry, ...] | None
def __init__(self, /, *,
Type: int = ...,
BoolValue: bool = ...,
Int64Value: int = ...,
DoubleValue: float | FloatBits = ...,
StringValue: str | StringBytes = ...,
ListValue: list[DataStorePropertyValue] | tuple[DataStorePropertyValue, ...] | None = ...,
MapValue: list[DataStoreMapEntry] | tuple[DataStoreMapEntry, ...] | None = ...,
) -> None: ...相关字段类型:DataStoreMapEntry。
DataStorePropertyValue_
继承 Struct。
python
class DataStorePropertyValue_(_Struct):
DataStoreName: str | StringBytes
Property: str | StringBytes
UpdateCount: int
NewValue: DataStorePropertyValue
def __init__(self, /, *,
DataStoreName: str | StringBytes = ...,
Property: str | StringBytes = ...,
UpdateCount: int = ...,
NewValue: DataStorePropertyValue = ...,
) -> None: ...相关字段类型:DataStorePropertyValue。
DataStorePropertyValue__…opertyValue_
继承 Struct。
python
class DataStorePropertyValue__struct_Key_string__Value_github_com_OmineDev_neomega_core_minecraft_protocol_DataStorePropertyValue_(_Struct):
Key: str | StringBytes
Value: DataStorePropertyValue
def __init__(self, /, *,
Key: str | StringBytes = ...,
Value: DataStorePropertyValue = ...,
) -> None: ...相关字段类型:DataStorePropertyValue。
DataStoreRemoval
继承 Struct。
python
class DataStoreRemoval(_Struct):
DataStoreName: str | StringBytes
def __init__(self, /, *,
DataStoreName: str | StringBytes = ...,
) -> None: ...DataStoreRemoval_
继承 Struct。
python
class DataStoreRemoval_(_Struct):
ChangeType: int
Update: DataStoreUpdate
Change: DataStoreChange
Removal: DataStoreRemoval
def __init__(self, /, *,
ChangeType: int = ...,
Update: DataStoreUpdate = ...,
Change: DataStoreChange = ...,
Removal: DataStoreRemoval = ...,
) -> None: ...相关字段类型:DataStoreChange、DataStoreRemoval、DataStoreUpdate。
DataStoreUpdate
继承 Struct。
python
class DataStoreUpdate(_Struct):
DataStoreName: str | StringBytes
Property: str | StringBytes
Path: str | StringBytes
ControlType: int
DoubleValue: float | FloatBits
BoolValue: bool
StringValue: str | StringBytes
PropertyUpdateCount: int
PathUpdateCount: int
def __init__(self, /, *,
DataStoreName: str | StringBytes = ...,
Property: str | StringBytes = ...,
Path: str | StringBytes = ...,
ControlType: int = ...,
DoubleValue: float | FloatBits = ...,
BoolValue: bool = ...,
StringValue: str | StringBytes = ...,
PropertyUpdateCount: int = ...,
PathUpdateCount: int = ...,
) -> None: ...DeathInfo
继承 Packet。
python
class DeathInfo(_Packet):
packet_id: ClassVar[int] = 189
packet_name: ClassVar[str] = 'DeathInfo'
Cause: str | StringBytes
Messages: list[str | StringBytes] | tuple[str | StringBytes, ...] | None
def __init__(self, /, *,
Cause: str | StringBytes = ...,
Messages: list[str | StringBytes] | tuple[str | StringBytes, ...] | None = ...,
) -> None: ...DebugDrawer
继承 Packet。
python
class DebugDrawer(_Packet):
packet_id: ClassVar[int] = 328
packet_name: ClassVar[str] = 'DebugDrawer'
Shapes: list[DebugDrawerShape] | tuple[DebugDrawerShape, ...] | None
def __init__(self, /, *,
Shapes: list[DebugDrawerShape] | tuple[DebugDrawerShape, ...] | None = ...,
) -> None: ...相关字段类型:DebugDrawerShape。
DebugDrawerShape
继承 Struct。
python
class DebugDrawerShape(_Struct):
NetworkID: int
DimensionID: int
Type: OptionalValue[int]
Location: OptionalValue[list[float | FloatBits] | tuple[float | FloatBits, ...]]
Scale: OptionalValue[float | FloatBits]
Rotation: OptionalValue[list[float | FloatBits] | tuple[float | FloatBits, ...]]
TotalTimeLeft: OptionalValue[float | FloatBits]
Colour: OptionalValue[RGBA]
ExtraShapeData: UnionValue | DynamicValue | ArrowShape | BoxShape | LastShape | LineShape | SphereShape | TextShape | None
def __init__(self, /, *,
NetworkID: int = ...,
DimensionID: int = ...,
Type: OptionalValue[int] = ...,
Location: OptionalValue[list[float | FloatBits] | tuple[float | FloatBits, ...]] = ...,
Scale: OptionalValue[float | FloatBits] = ...,
Rotation: OptionalValue[list[float | FloatBits] | tuple[float | FloatBits, ...]] = ...,
TotalTimeLeft: OptionalValue[float | FloatBits] = ...,
Colour: OptionalValue[RGBA] = ...,
ExtraShapeData: UnionValue | DynamicValue | ArrowShape | BoxShape | LastShape | LineShape | SphereShape | TextShape | None = ...,
) -> None: ...相关字段类型:ArrowShape、BoxShape、LastShape、LineShape、RGBA、SphereShape、TextShape。
DebugDrawerShape_
继承 Struct。
python
class DebugDrawerShape_(_Struct):
Shapes: list[DebugDrawerShape] | tuple[DebugDrawerShape, ...] | None
def __init__(self, /, *,
Shapes: list[DebugDrawerShape] | tuple[DebugDrawerShape, ...] | None = ...,
) -> None: ...相关字段类型:DebugDrawerShape。
DebugInfo
继承 Packet。
python
class DebugInfo(_Packet):
packet_id: ClassVar[int] = 155
packet_name: ClassVar[str] = 'DebugInfo'
PlayerUniqueID: int
Data: bytes | None
def __init__(self, /, *,
PlayerUniqueID: int = ...,
Data: bytes | None = ...,
) -> None: ...DefaultItemDescriptor
继承 Struct。
python
class DefaultItemDescriptor(_Struct):
NetworkID: int
MetadataValue: int
def __init__(self, /, *,
NetworkID: int = ...,
MetadataValue: int = ...,
) -> None: ...DeferredItemDescriptor
继承 Struct。
python
class DeferredItemDescriptor(_Struct):
Name: str | StringBytes
MetadataValue: int
def __init__(self, /, *,
Name: str | StringBytes = ...,
MetadataValue: int = ...,
) -> None: ...DestroyStackRequestAction
继承 Struct。
python
class DestroyStackRequestAction(_Struct):
Count: int
Source: StackRequestSlotInfo
def __init__(self, /, *,
Count: int = ...,
Source: StackRequestSlotInfo = ...,
) -> None: ...相关字段类型:StackRequestSlotInfo。
DestroyStackRequestAction_
继承 Struct。
python
class DestroyStackRequestAction_(_Struct):
DestroyStackRequestAction: DestroyStackRequestAction
def __init__(self, /, *,
DestroyStackRequestAction: DestroyStackRequestAction = ...,
) -> None: ...相关字段类型:DestroyStackRequestAction。