外观
协议模型:S · 3
选择模型查看构造参数和字段,代码块保留完整模型名称。... 表示可省略的字段,省略时使用该类型的零值。
ShapelessRecipe_ShowCreditsShowProfileShowStoreOfferShulkerBoxRecipeSimpleEventSimulationTypeSkinSkin_Skin__NewSkinName_string…Name_string_SkinAnimationSlashCommandExecutedEventSmithingTransformRecipeSmithingTrimRecipeSneakCloseToSculkSensorEventSpawnExperienceOrbSpawnParticleEffectSphereShapeStackRequestAction__Filt…Cause_int32_StackRequestSlotInfo
ShapelessRecipe_
继承 Struct。
python
class ShapelessRecipe_(_Struct):
ShapelessRecipe: ShapelessRecipe
def __init__(self, /, *,
ShapelessRecipe: ShapelessRecipe = ...,
) -> None: ...相关字段类型:ShapelessRecipe。
ShowCredits
继承 Packet。
python
class ShowCredits(_Packet):
packet_id: ClassVar[int] = 75
packet_name: ClassVar[str] = 'ShowCredits'
PlayerRuntimeID: int
StatusType: int
def __init__(self, /, *,
PlayerRuntimeID: int = ...,
StatusType: int = ...,
) -> None: ...ShowProfile
继承 Packet。
python
class ShowProfile(_Packet):
packet_id: ClassVar[int] = 104
packet_name: ClassVar[str] = 'ShowProfile'
XUID: str | StringBytes
def __init__(self, /, *,
XUID: str | StringBytes = ...,
) -> None: ...ShowStoreOffer
继承 Packet。
python
class ShowStoreOffer(_Packet):
packet_id: ClassVar[int] = 91
packet_name: ClassVar[str] = 'ShowStoreOffer'
OfferID: bytes
Type: int
def __init__(self, /, *,
OfferID: bytes = ...,
Type: int = ...,
) -> None: ...ShulkerBoxRecipe
继承 Struct。
python
class ShulkerBoxRecipe(_Struct):
ShapelessRecipe: ShapelessRecipe
def __init__(self, /, *,
ShapelessRecipe: ShapelessRecipe = ...,
) -> None: ...相关字段类型:ShapelessRecipe。
SimpleEvent
继承 Packet。
python
class SimpleEvent(_Packet):
packet_id: ClassVar[int] = 64
packet_name: ClassVar[str] = 'SimpleEvent'
EventType: int
def __init__(self, /, *,
EventType: int = ...,
) -> None: ...SimulationType
继承 Packet。
python
class SimulationType(_Packet):
packet_id: ClassVar[int] = 168
packet_name: ClassVar[str] = 'SimulationType'
SimulationType: int
def __init__(self, /, *,
SimulationType: int = ...,
) -> None: ...Skin
继承 Struct。
python
class Skin(_Struct):
SkinID: str | StringBytes
PlayFabID: str | StringBytes
SkinResourcePatch: bytes | None
SkinImageWidth: int
SkinImageHeight: int
SkinData: bytes | None
Animations: list[SkinAnimation] | tuple[SkinAnimation, ...] | None
CapeImageWidth: int
CapeImageHeight: int
CapeData: bytes | None
SkinGeometry: bytes | None
AnimationData: bytes | None
GeometryDataEngineVersion: bytes | None
PremiumSkin: bool
PersonaSkin: bool
PersonaCapeOnClassicSkin: bool
PrimaryUser: bool
CapeID: str | StringBytes
FullID: str | StringBytes
SkinColour: str | StringBytes
ArmSize: str | StringBytes
PersonaPieces: list[PersonaPiece] | tuple[PersonaPiece, ...] | None
PieceTintColours: list[PersonaPieceTintColour] | tuple[PersonaPieceTintColour, ...] | None
Trusted: bool
OverrideAppearance: bool
def __init__(self, /, *,
SkinID: str | StringBytes = ...,
PlayFabID: str | StringBytes = ...,
SkinResourcePatch: bytes | None = ...,
SkinImageWidth: int = ...,
SkinImageHeight: int = ...,
SkinData: bytes | None = ...,
Animations: list[SkinAnimation] | tuple[SkinAnimation, ...] | None = ...,
CapeImageWidth: int = ...,
CapeImageHeight: int = ...,
CapeData: bytes | None = ...,
SkinGeometry: bytes | None = ...,
AnimationData: bytes | None = ...,
GeometryDataEngineVersion: bytes | None = ...,
PremiumSkin: bool = ...,
PersonaSkin: bool = ...,
PersonaCapeOnClassicSkin: bool = ...,
PrimaryUser: bool = ...,
CapeID: str | StringBytes = ...,
FullID: str | StringBytes = ...,
SkinColour: str | StringBytes = ...,
ArmSize: str | StringBytes = ...,
PersonaPieces: list[PersonaPiece] | tuple[PersonaPiece, ...] | None = ...,
PieceTintColours: list[PersonaPieceTintColour] | tuple[PersonaPieceTintColour, ...] | None = ...,
Trusted: bool = ...,
OverrideAppearance: bool = ...,
) -> None: ...相关字段类型:PersonaPiece、PersonaPieceTintColour、SkinAnimation。
Skin_
继承 Struct。
python
class Skin_(_Struct):
SkinEntry: list[NeteaseSkinEntry] | tuple[NeteaseSkinEntry, ...] | None
UidStr: list[str | StringBytes] | tuple[str | StringBytes, ...] | None
GeoStr: list[str | StringBytes] | tuple[str | StringBytes, ...] | None
SkinItemIDs: list[str | StringBytes] | tuple[str | StringBytes, ...] | None
Skin: Skin
def __init__(self, /, *,
SkinEntry: list[NeteaseSkinEntry] | tuple[NeteaseSkinEntry, ...] | None = ...,
UidStr: list[str | StringBytes] | tuple[str | StringBytes, ...] | None = ...,
GeoStr: list[str | StringBytes] | tuple[str | StringBytes, ...] | None = ...,
SkinItemIDs: list[str | StringBytes] | tuple[str | StringBytes, ...] | None = ...,
Skin: Skin = ...,
) -> None: ...相关字段类型:NeteaseSkinEntry、Skin。
Skin__NewSkinName_string…Name_string_
继承 Struct。
python
class Skin__NewSkinName_string__OldSkinName_string_(_Struct):
UUID: bytes
Skin: Skin
NewSkinName: str | StringBytes
OldSkinName: str | StringBytes
def __init__(self, /, *,
UUID: bytes = ...,
Skin: Skin = ...,
NewSkinName: str | StringBytes = ...,
OldSkinName: str | StringBytes = ...,
) -> None: ...相关字段类型:Skin。
SkinAnimation
继承 Struct。
python
class SkinAnimation(_Struct):
ImageWidth: int
ImageHeight: int
ImageData: bytes | None
AnimationType: int
FrameCount: float | FloatBits
ExpressionType: int
def __init__(self, /, *,
ImageWidth: int = ...,
ImageHeight: int = ...,
ImageData: bytes | None = ...,
AnimationType: int = ...,
FrameCount: float | FloatBits = ...,
ExpressionType: int = ...,
) -> None: ...SlashCommandExecutedEvent
继承 Struct。
python
class SlashCommandExecutedEvent(_Struct):
SuccessCount: int
MessageCount: int
CommandName: str | StringBytes
OutputMessages: str | StringBytes
def __init__(self, /, *,
SuccessCount: int = ...,
MessageCount: int = ...,
CommandName: str | StringBytes = ...,
OutputMessages: str | StringBytes = ...,
) -> None: ...SmithingTransformRecipe
继承 Struct。
python
class SmithingTransformRecipe(_Struct):
RecipeNetworkID: int
RecipeID: str | StringBytes
Template: ItemDescriptorCount
Base: ItemDescriptorCount
Addition: ItemDescriptorCount
Result: ItemStack
Block: str | StringBytes
def __init__(self, /, *,
RecipeNetworkID: int = ...,
RecipeID: str | StringBytes = ...,
Template: ItemDescriptorCount = ...,
Base: ItemDescriptorCount = ...,
Addition: ItemDescriptorCount = ...,
Result: ItemStack = ...,
Block: str | StringBytes = ...,
) -> None: ...相关字段类型:ItemDescriptorCount、ItemStack。
SmithingTrimRecipe
继承 Struct。
python
class SmithingTrimRecipe(_Struct):
RecipeNetworkID: int
RecipeID: str | StringBytes
Template: ItemDescriptorCount
Base: ItemDescriptorCount
Addition: ItemDescriptorCount
Block: str | StringBytes
def __init__(self, /, *,
RecipeNetworkID: int = ...,
RecipeID: str | StringBytes = ...,
Template: ItemDescriptorCount = ...,
Base: ItemDescriptorCount = ...,
Addition: ItemDescriptorCount = ...,
Block: str | StringBytes = ...,
) -> None: ...相关字段类型:ItemDescriptorCount。
SneakCloseToSculkSensorEvent
继承 Struct。
python
class SneakCloseToSculkSensorEvent(_Struct):
def __init__(self) -> None: ...SpawnExperienceOrb
继承 Packet。
python
class SpawnExperienceOrb(_Packet):
packet_id: ClassVar[int] = 66
packet_name: ClassVar[str] = 'SpawnExperienceOrb'
Position: list[float | FloatBits] | tuple[float | FloatBits, ...]
ExperienceAmount: int
def __init__(self, /, *,
Position: list[float | FloatBits] | tuple[float | FloatBits, ...] = ...,
ExperienceAmount: int = ...,
) -> None: ...SpawnParticleEffect
继承 Packet。
python
class SpawnParticleEffect(_Packet):
packet_id: ClassVar[int] = 118
packet_name: ClassVar[str] = 'SpawnParticleEffect'
Dimension: int
EntityUniqueID: int
Position: list[float | FloatBits] | tuple[float | FloatBits, ...]
ParticleName: str | StringBytes
MoLangVariables: OptionalValue[bytes | None]
def __init__(self, /, *,
Dimension: int = ...,
EntityUniqueID: int = ...,
Position: list[float | FloatBits] | tuple[float | FloatBits, ...] = ...,
ParticleName: str | StringBytes = ...,
MoLangVariables: OptionalValue[bytes | None] = ...,
) -> None: ...SphereShape
继承 Struct。
python
class SphereShape(_Struct):
Segments: int
def __init__(self, /, *,
Segments: int = ...,
) -> None: ...StackRequestAction__Filt…Cause_int32_
继承 Struct。
python
class StackRequestAction__FilterStrings___string__FilterCause_int32_(_Struct):
RequestID: int
Actions: list[UnionValue | DynamicValue | AutoCraftRecipeStackRequestAction | BeaconPaymentStackRequestAction | ConsumeStackRequestAction | CraftCreativeStackRequestAction | CraftGrindstoneRecipeStackRequestAction | CraftLoomRecipeStackRequestAction | CraftNonImplementedStackRequestAction | CraftRecipeOptionalStackRequestAction | CraftRecipeStackRequestAction | CraftResultsDeprecatedStackRequestAction | CreateStackRequestAction | DestroyStackRequestAction | DropStackRequestAction | LabTableCombineStackRequestAction | MineBlockStackRequestAction | PlaceInContainerStackRequestAction | PlaceStackRequestAction | SwapStackRequestAction | TakeOutContainerStackRequestAction | TakeStackRequestAction | None] | tuple[UnionValue | DynamicValue | AutoCraftRecipeStackRequestAction | BeaconPaymentStackRequestAction | ConsumeStackRequestAction | CraftCreativeStackRequestAction | CraftGrindstoneRecipeStackRequestAction | CraftLoomRecipeStackRequestAction | CraftNonImplementedStackRequestAction | CraftRecipeOptionalStackRequestAction | CraftRecipeStackRequestAction | CraftResultsDeprecatedStackRequestAction | CreateStackRequestAction | DestroyStackRequestAction | DropStackRequestAction | LabTableCombineStackRequestAction | MineBlockStackRequestAction | PlaceInContainerStackRequestAction | PlaceStackRequestAction | SwapStackRequestAction | TakeOutContainerStackRequestAction | TakeStackRequestAction | None, ...] | None
FilterStrings: list[str | StringBytes] | tuple[str | StringBytes, ...] | None
FilterCause: int
def __init__(self, /, *,
RequestID: int = ...,
Actions: list[UnionValue | DynamicValue | AutoCraftRecipeStackRequestAction | BeaconPaymentStackRequestAction | ConsumeStackRequestAction | CraftCreativeStackRequestAction | CraftGrindstoneRecipeStackRequestAction | CraftLoomRecipeStackRequestAction | CraftNonImplementedStackRequestAction | CraftRecipeOptionalStackRequestAction | CraftRecipeStackRequestAction | CraftResultsDeprecatedStackRequestAction | CreateStackRequestAction | DestroyStackRequestAction | DropStackRequestAction | LabTableCombineStackRequestAction | MineBlockStackRequestAction | PlaceInContainerStackRequestAction | PlaceStackRequestAction | SwapStackRequestAction | TakeOutContainerStackRequestAction | TakeStackRequestAction | None] | tuple[UnionValue | DynamicValue | AutoCraftRecipeStackRequestAction | BeaconPaymentStackRequestAction | ConsumeStackRequestAction | CraftCreativeStackRequestAction | CraftGrindstoneRecipeStackRequestAction | CraftLoomRecipeStackRequestAction | CraftNonImplementedStackRequestAction | CraftRecipeOptionalStackRequestAction | CraftRecipeStackRequestAction | CraftResultsDeprecatedStackRequestAction | CreateStackRequestAction | DestroyStackRequestAction | DropStackRequestAction | LabTableCombineStackRequestAction | MineBlockStackRequestAction | PlaceInContainerStackRequestAction | PlaceStackRequestAction | SwapStackRequestAction | TakeOutContainerStackRequestAction | TakeStackRequestAction | None, ...] | None = ...,
FilterStrings: list[str | StringBytes] | tuple[str | StringBytes, ...] | None = ...,
FilterCause: int = ...,
) -> None: ...相关字段类型:AutoCraftRecipeStackRequestAction、BeaconPaymentStackRequestAction、ConsumeStackRequestAction、CraftCreativeStackRequestAction、CraftGrindstoneRecipeStackRequestAction、CraftLoomRecipeStackRequestAction、CraftNonImplementedStackRequestAction、CraftRecipeOptionalStackRequestAction、CraftRecipeStackRequestAction、CraftResultsDeprecatedStackRequestAction、CreateStackRequestAction、DestroyStackRequestAction、DropStackRequestAction、LabTableCombineStackRequestAction、MineBlockStackRequestAction、PlaceInContainerStackRequestAction、PlaceStackRequestAction、SwapStackRequestAction、TakeOutContainerStackRequestAction、TakeStackRequestAction。
StackRequestSlotInfo
继承 Struct。
python
class StackRequestSlotInfo(_Struct):
Container: FullContainerName
Slot: int
StackNetworkID: int
def __init__(self, /, *,
Container: FullContainerName = ...,
Slot: int = ...,
StackNetworkID: int = ...,
) -> None: ...相关字段类型:FullContainerName。