外观
协议模型:B · 1
选择模型查看构造参数和字段,代码块保留完整模型名称。... 表示可省略的字段,省略时使用该类型的零值。
BeaconPaymentStackRequestActionBellUsedEventBiomeCappedSurfaceBiomeChunkGenerationBiomeChunkGeneration__BiomeClimateBiomeConditionalTransformationBiomeConsolidatedFeatureBiomeCoordinateBiomeCoordinate__Evaluat…tions_int16_BiomeDefinitionBiomeDefinition__StringList___string_BiomeDefinitionListBiomeElementDataBiomeMesaSurfaceBiomeMountainParametersBiomeMultiNoiseRulesBiomeOverworldRulesBiomeReplacementDataBiomeReplacementData__
BeaconPaymentStackRequestAction
继承 Struct。
python
class BeaconPaymentStackRequestAction(_Struct):
PrimaryEffect: int
SecondaryEffect: int
def __init__(self, /, *,
PrimaryEffect: int = ...,
SecondaryEffect: int = ...,
) -> None: ...BellUsedEvent
继承 Struct。
python
class BellUsedEvent(_Struct):
ItemID: int
def __init__(self, /, *,
ItemID: int = ...,
) -> None: ...BiomeCappedSurface
继承 Struct。
python
class BiomeCappedSurface(_Struct):
FloorBlocks: list[int] | tuple[int, ...] | None
CeilingBlocks: list[int] | tuple[int, ...] | None
SeaBlock: OptionalValue[int]
FoundationBlock: OptionalValue[int]
BeachBlock: OptionalValue[int]
def __init__(self, /, *,
FloorBlocks: list[int] | tuple[int, ...] | None = ...,
CeilingBlocks: list[int] | tuple[int, ...] | None = ...,
SeaBlock: OptionalValue[int] = ...,
FoundationBlock: OptionalValue[int] = ...,
BeachBlock: OptionalValue[int] = ...,
) -> None: ...BiomeChunkGeneration
继承 Struct。
python
class BiomeChunkGeneration(_Struct):
Climate: OptionalValue[BiomeClimate]
ConsolidatedFeatures: OptionalValue[list[BiomeConsolidatedFeature] | tuple[BiomeConsolidatedFeature, ...] | None]
MountainParameters: OptionalValue[BiomeMountainParameters]
SurfaceMaterialAdjustments: OptionalValue[list[BiomeElementData] | tuple[BiomeElementData, ...] | None]
SurfaceMaterials: OptionalValue[BiomeSurfaceMaterial]
HasDefaultOverworldSurface: bool
HasSwampSurface: bool
HasFrozenOceanSurface: bool
HasEndSurface: bool
MesaSurface: OptionalValue[BiomeMesaSurface]
CappedSurface: OptionalValue[BiomeCappedSurface]
OverworldRules: OptionalValue[BiomeOverworldRules]
MultiNoiseRules: OptionalValue[BiomeMultiNoiseRules]
LegacyRules: OptionalValue[list[BiomeConditionalTransformation] | tuple[BiomeConditionalTransformation, ...] | None]
ReplacementsData: OptionalValue[list[BiomeReplacementData] | tuple[BiomeReplacementData, ...] | None]
def __init__(self, /, *,
Climate: OptionalValue[BiomeClimate] = ...,
ConsolidatedFeatures: OptionalValue[list[BiomeConsolidatedFeature] | tuple[BiomeConsolidatedFeature, ...] | None] = ...,
MountainParameters: OptionalValue[BiomeMountainParameters] = ...,
SurfaceMaterialAdjustments: OptionalValue[list[BiomeElementData] | tuple[BiomeElementData, ...] | None] = ...,
SurfaceMaterials: OptionalValue[BiomeSurfaceMaterial] = ...,
HasDefaultOverworldSurface: bool = ...,
HasSwampSurface: bool = ...,
HasFrozenOceanSurface: bool = ...,
HasEndSurface: bool = ...,
MesaSurface: OptionalValue[BiomeMesaSurface] = ...,
CappedSurface: OptionalValue[BiomeCappedSurface] = ...,
OverworldRules: OptionalValue[BiomeOverworldRules] = ...,
MultiNoiseRules: OptionalValue[BiomeMultiNoiseRules] = ...,
LegacyRules: OptionalValue[list[BiomeConditionalTransformation] | tuple[BiomeConditionalTransformation, ...] | None] = ...,
ReplacementsData: OptionalValue[list[BiomeReplacementData] | tuple[BiomeReplacementData, ...] | None] = ...,
) -> None: ...相关字段类型:BiomeCappedSurface、BiomeClimate、BiomeConditionalTransformation、BiomeConsolidatedFeature、BiomeElementData、BiomeMesaSurface、BiomeMountainParameters、BiomeMultiNoiseRules、BiomeOverworldRules、BiomeReplacementData、BiomeSurfaceMaterial。
BiomeChunkGeneration__
继承 Struct。
python
class BiomeChunkGeneration__(_Struct):
NameIndex: int
BiomeID: int
Temperature: float | FloatBits
Downfall: float | FloatBits
FoliageSnow: float | FloatBits
Depth: float | FloatBits
Scale: float | FloatBits
MapWaterColour: int
Rain: bool
Dimension: int
Vanilla: str | StringBytes
Tags: OptionalValue[list[int] | tuple[int, ...] | None]
ChunkGeneration: OptionalValue[BiomeChunkGeneration]
def __init__(self, /, *,
NameIndex: int = ...,
BiomeID: int = ...,
Temperature: float | FloatBits = ...,
Downfall: float | FloatBits = ...,
FoliageSnow: float | FloatBits = ...,
Depth: float | FloatBits = ...,
Scale: float | FloatBits = ...,
MapWaterColour: int = ...,
Rain: bool = ...,
Dimension: int = ...,
Vanilla: str | StringBytes = ...,
Tags: OptionalValue[list[int] | tuple[int, ...] | None] = ...,
ChunkGeneration: OptionalValue[BiomeChunkGeneration] = ...,
) -> None: ...相关字段类型:BiomeChunkGeneration。
BiomeClimate
继承 Struct。
python
class BiomeClimate(_Struct):
Temperature: float | FloatBits
Downfall: float | FloatBits
SnowAccumulationMin: float | FloatBits
SnowAccumulationMax: float | FloatBits
def __init__(self, /, *,
Temperature: float | FloatBits = ...,
Downfall: float | FloatBits = ...,
SnowAccumulationMin: float | FloatBits = ...,
SnowAccumulationMax: float | FloatBits = ...,
) -> None: ...BiomeConditionalTransformation
继承 Struct。
python
class BiomeConditionalTransformation(_Struct):
WeightedBiomes: list[BiomeWeight] | tuple[BiomeWeight, ...] | None
ConditionJSON: int
MinPassingNeighbours: int
def __init__(self, /, *,
WeightedBiomes: list[BiomeWeight] | tuple[BiomeWeight, ...] | None = ...,
ConditionJSON: int = ...,
MinPassingNeighbours: int = ...,
) -> None: ...相关字段类型:BiomeWeight。
BiomeConsolidatedFeature
继承 Struct。
python
class BiomeConsolidatedFeature(_Struct):
Scatter: BiomeScatterParameter
Feature: int
Identifier: int
Pass: int
CanUseInternal: bool
def __init__(self, /, *,
Scatter: BiomeScatterParameter = ...,
Feature: int = ...,
Identifier: int = ...,
Pass: int = ...,
CanUseInternal: bool = ...,
) -> None: ...相关字段类型:BiomeScatterParameter。
BiomeCoordinate
继承 Struct。
python
class BiomeCoordinate(_Struct):
MinValueType: int
MinValue: int
MaxValueType: int
MaxValue: int
GridOffset: int
GridStepSize: int
Distribution: int
def __init__(self, /, *,
MinValueType: int = ...,
MinValue: int = ...,
MaxValueType: int = ...,
MaxValue: int = ...,
GridOffset: int = ...,
GridStepSize: int = ...,
Distribution: int = ...,
) -> None: ...BiomeCoordinate__Evaluat…tions_int16_
继承 Struct。
python
class BiomeCoordinate__EvaluationOrder_int32__ChancePercentType_int32__ChancePercent_int16__ChanceNumerator_int32__ChanceDenominator_int32__IterationsType_int32__Iterations_int16_(_Struct):
Coordinates: list[BiomeCoordinate] | tuple[BiomeCoordinate, ...] | None
EvaluationOrder: int
ChancePercentType: int
ChancePercent: int
ChanceNumerator: int
ChanceDenominator: int
IterationsType: int
Iterations: int
def __init__(self, /, *,
Coordinates: list[BiomeCoordinate] | tuple[BiomeCoordinate, ...] | None = ...,
EvaluationOrder: int = ...,
ChancePercentType: int = ...,
ChancePercent: int = ...,
ChanceNumerator: int = ...,
ChanceDenominator: int = ...,
IterationsType: int = ...,
Iterations: int = ...,
) -> None: ...相关字段类型:BiomeCoordinate。
BiomeDefinition
继承 Struct。
python
class BiomeDefinition(_Struct):
NameIndex: int
BiomeID: int
Temperature: float | FloatBits
Downfall: float | FloatBits
FoliageSnow: float | FloatBits
Depth: float | FloatBits
Scale: float | FloatBits
MapWaterColour: int
Rain: bool
Dimension: int
Vanilla: str | StringBytes
Tags: OptionalValue[list[int] | tuple[int, ...] | None]
ChunkGeneration: OptionalValue[BiomeChunkGeneration]
def __init__(self, /, *,
NameIndex: int = ...,
BiomeID: int = ...,
Temperature: float | FloatBits = ...,
Downfall: float | FloatBits = ...,
FoliageSnow: float | FloatBits = ...,
Depth: float | FloatBits = ...,
Scale: float | FloatBits = ...,
MapWaterColour: int = ...,
Rain: bool = ...,
Dimension: int = ...,
Vanilla: str | StringBytes = ...,
Tags: OptionalValue[list[int] | tuple[int, ...] | None] = ...,
ChunkGeneration: OptionalValue[BiomeChunkGeneration] = ...,
) -> None: ...相关字段类型:BiomeChunkGeneration。
BiomeDefinition__StringList___string_
继承 Struct。
python
class BiomeDefinition__StringList___string_(_Struct):
BiomeDefinitions: list[BiomeDefinition] | tuple[BiomeDefinition, ...] | None
StringList: list[str | StringBytes] | tuple[str | StringBytes, ...] | None
def __init__(self, /, *,
BiomeDefinitions: list[BiomeDefinition] | tuple[BiomeDefinition, ...] | None = ...,
StringList: list[str | StringBytes] | tuple[str | StringBytes, ...] | None = ...,
) -> None: ...相关字段类型:BiomeDefinition。
BiomeDefinitionList
继承 Packet。
python
class BiomeDefinitionList(_Packet):
packet_id: ClassVar[int] = 122
packet_name: ClassVar[str] = 'BiomeDefinitionList'
BiomeDefinitions: list[BiomeDefinition] | tuple[BiomeDefinition, ...] | None
StringList: list[str | StringBytes] | tuple[str | StringBytes, ...] | None
def __init__(self, /, *,
BiomeDefinitions: list[BiomeDefinition] | tuple[BiomeDefinition, ...] | None = ...,
StringList: list[str | StringBytes] | tuple[str | StringBytes, ...] | None = ...,
) -> None: ...相关字段类型:BiomeDefinition。
BiomeElementData
继承 Struct。
python
class BiomeElementData(_Struct):
NoiseFrequencyScale: float | FloatBits
NoiseLowerBound: float | FloatBits
NoiseUpperBound: float | FloatBits
HeightMinType: int
HeightMin: int
HeightMaxType: int
HeightMax: int
AdjustedMaterials: BiomeSurfaceMaterial
def __init__(self, /, *,
NoiseFrequencyScale: float | FloatBits = ...,
NoiseLowerBound: float | FloatBits = ...,
NoiseUpperBound: float | FloatBits = ...,
HeightMinType: int = ...,
HeightMin: int = ...,
HeightMaxType: int = ...,
HeightMax: int = ...,
AdjustedMaterials: BiomeSurfaceMaterial = ...,
) -> None: ...相关字段类型:BiomeSurfaceMaterial。
BiomeMesaSurface
继承 Struct。
python
class BiomeMesaSurface(_Struct):
ClayMaterial: int
HardClayMaterial: int
BrycePillars: bool
HasForest: bool
def __init__(self, /, *,
ClayMaterial: int = ...,
HardClayMaterial: int = ...,
BrycePillars: bool = ...,
HasForest: bool = ...,
) -> None: ...BiomeMountainParameters
继承 Struct。
python
class BiomeMountainParameters(_Struct):
SteepBlock: int
NorthSlopes: bool
SouthSlopes: bool
WestSlopes: bool
EastSlopes: bool
TopSlideEnabled: bool
def __init__(self, /, *,
SteepBlock: int = ...,
NorthSlopes: bool = ...,
SouthSlopes: bool = ...,
WestSlopes: bool = ...,
EastSlopes: bool = ...,
TopSlideEnabled: bool = ...,
) -> None: ...BiomeMultiNoiseRules
继承 Struct。
python
class BiomeMultiNoiseRules(_Struct):
Temperature: float | FloatBits
Humidity: float | FloatBits
Altitude: float | FloatBits
Weirdness: float | FloatBits
Weight: float | FloatBits
def __init__(self, /, *,
Temperature: float | FloatBits = ...,
Humidity: float | FloatBits = ...,
Altitude: float | FloatBits = ...,
Weirdness: float | FloatBits = ...,
Weight: float | FloatBits = ...,
) -> None: ...BiomeOverworldRules
继承 Struct。
python
class BiomeOverworldRules(_Struct):
HillsTransformations: list[BiomeWeight] | tuple[BiomeWeight, ...] | None
MutateTransformations: list[BiomeWeight] | tuple[BiomeWeight, ...] | None
RiverTransformations: list[BiomeWeight] | tuple[BiomeWeight, ...] | None
ShoreTransformations: list[BiomeWeight] | tuple[BiomeWeight, ...] | None
PreHillsEdgeTransformations: list[BiomeConditionalTransformation] | tuple[BiomeConditionalTransformation, ...] | None
PostShoreEdgeTransformations: list[BiomeConditionalTransformation] | tuple[BiomeConditionalTransformation, ...] | None
ClimateTransformations: list[BiomeTemperatureWeight] | tuple[BiomeTemperatureWeight, ...] | None
def __init__(self, /, *,
HillsTransformations: list[BiomeWeight] | tuple[BiomeWeight, ...] | None = ...,
MutateTransformations: list[BiomeWeight] | tuple[BiomeWeight, ...] | None = ...,
RiverTransformations: list[BiomeWeight] | tuple[BiomeWeight, ...] | None = ...,
ShoreTransformations: list[BiomeWeight] | tuple[BiomeWeight, ...] | None = ...,
PreHillsEdgeTransformations: list[BiomeConditionalTransformation] | tuple[BiomeConditionalTransformation, ...] | None = ...,
PostShoreEdgeTransformations: list[BiomeConditionalTransformation] | tuple[BiomeConditionalTransformation, ...] | None = ...,
ClimateTransformations: list[BiomeTemperatureWeight] | tuple[BiomeTemperatureWeight, ...] | None = ...,
) -> None: ...相关字段类型:BiomeConditionalTransformation、BiomeTemperatureWeight、BiomeWeight。
BiomeReplacementData
继承 Struct。
python
class BiomeReplacementData(_Struct):
Biome: int
Dimension: int
TargetBiomes: list[int] | tuple[int, ...] | None
Amount: float | FloatBits
NoiseFrequencyScale: float | FloatBits
ReplacementIndex: int
def __init__(self, /, *,
Biome: int = ...,
Dimension: int = ...,
TargetBiomes: list[int] | tuple[int, ...] | None = ...,
Amount: float | FloatBits = ...,
NoiseFrequencyScale: float | FloatBits = ...,
ReplacementIndex: int = ...,
) -> None: ...BiomeReplacementData__
继承 Struct。
python
class BiomeReplacementData__(_Struct):
Climate: OptionalValue[BiomeClimate]
ConsolidatedFeatures: OptionalValue[list[BiomeConsolidatedFeature] | tuple[BiomeConsolidatedFeature, ...] | None]
MountainParameters: OptionalValue[BiomeMountainParameters]
SurfaceMaterialAdjustments: OptionalValue[list[BiomeElementData] | tuple[BiomeElementData, ...] | None]
SurfaceMaterials: OptionalValue[BiomeSurfaceMaterial]
HasDefaultOverworldSurface: bool
HasSwampSurface: bool
HasFrozenOceanSurface: bool
HasEndSurface: bool
MesaSurface: OptionalValue[BiomeMesaSurface]
CappedSurface: OptionalValue[BiomeCappedSurface]
OverworldRules: OptionalValue[BiomeOverworldRules]
MultiNoiseRules: OptionalValue[BiomeMultiNoiseRules]
LegacyRules: OptionalValue[list[BiomeConditionalTransformation] | tuple[BiomeConditionalTransformation, ...] | None]
ReplacementsData: OptionalValue[list[BiomeReplacementData] | tuple[BiomeReplacementData, ...] | None]
def __init__(self, /, *,
Climate: OptionalValue[BiomeClimate] = ...,
ConsolidatedFeatures: OptionalValue[list[BiomeConsolidatedFeature] | tuple[BiomeConsolidatedFeature, ...] | None] = ...,
MountainParameters: OptionalValue[BiomeMountainParameters] = ...,
SurfaceMaterialAdjustments: OptionalValue[list[BiomeElementData] | tuple[BiomeElementData, ...] | None] = ...,
SurfaceMaterials: OptionalValue[BiomeSurfaceMaterial] = ...,
HasDefaultOverworldSurface: bool = ...,
HasSwampSurface: bool = ...,
HasFrozenOceanSurface: bool = ...,
HasEndSurface: bool = ...,
MesaSurface: OptionalValue[BiomeMesaSurface] = ...,
CappedSurface: OptionalValue[BiomeCappedSurface] = ...,
OverworldRules: OptionalValue[BiomeOverworldRules] = ...,
MultiNoiseRules: OptionalValue[BiomeMultiNoiseRules] = ...,
LegacyRules: OptionalValue[list[BiomeConditionalTransformation] | tuple[BiomeConditionalTransformation, ...] | None] = ...,
ReplacementsData: OptionalValue[list[BiomeReplacementData] | tuple[BiomeReplacementData, ...] | None] = ...,
) -> None: ...相关字段类型:BiomeCappedSurface、BiomeClimate、BiomeConditionalTransformation、BiomeConsolidatedFeature、BiomeElementData、BiomeMesaSurface、BiomeMountainParameters、BiomeMultiNoiseRules、BiomeOverworldRules、BiomeReplacementData、BiomeSurfaceMaterial。