Customizable Player Spawn 是一款面向 Forge、NeoForge 和 Fabric 的配置文件驱动的出生点控制模组。
它专为那些希望玩家在初始出生时出现在预设地点的世界和整合包而设计:例如起始废墟、房屋、岛屿、大厅、剧情区域,或任何其他 .nbt 结构。该模组可以放置该结构,在其内部寻找真实的出生点,保存结果,并在后续使用相同的指定出生点。
功能特性
- 从模组资源、数据包(datapacks)、其他模组、世界文件或
config/customizableplayerspawn/structures 目录下的独立 .nbt 文件中放置结构
- 使用标记方块、原版
DATA 结构标记、相对位置或结构中心作为出生点锚点
- 为所有玩家创建共享出生点,或为每个玩家创建独立的出生点结构
- 选择目标维度及允许的生物群系
- 通过高度图、智能表面验证或固定 Y 坐标进行搜索
- 检查结构占地范围、危险方块、流体、树木重叠以及地表高差
- 在放置后清理放置体积、填充支撑空隙、刷新光照并处理标记
- 可选地保护生成的出生点结构免受方块、放置行为、容器、爆炸、火焰和流体的影响
配置档案
推荐的设置是使用配置文件:
config/customizableplayerspawn/profiles/<profile>.toml
独立的结构文件存放于此:
config/customizableplayerspawn/structures/<structure>.nbt
最小示例:
schemaVersion = 2
id = "starter_ruin"
enabled = true
priority = 100
dimension = "minecraft:overworld"
structure = "config:starter_ruin.nbt"
[anchor]
mode = "MARKER_BLOCK"
markerBlock = "customizableplayerspawn:player_spawn_marker"
removeMarkerBlock = true
offsetX = 0
offsetY = 0
offsetZ = 0
angle = 0
fallback = "SAFE_NEARBY"
[placement]
strategy = "FLAT_FOOTPRINT"
surfaceSearchMode = "SMART"
searchRadius = 2048
searchAttempts = 128
maxSurfaceStep = 3
allowFluidsBelow = false
allowReplaceableAtFeet = true
allowReplaceableAtHead = true
forbiddenSurfaceBlocks = ["minecraft:lava", "minecraft:magma_block"]
问题与建议反馈:
Customizable Player Spawn is a config-driven spawn control mod for Forge, NeoForge and Fabric.
It is made for worlds and modpacks where the first spawn should happen in a prepared place: a starter ruin, house, island, lobby, intro area, or any other .nbt structure. The mod can place that structure, find the real spawn point inside it, save the result, and keep using the same assigned spawn later.
What it can do
- place structures from mod resources, datapacks, other mods, world files, or loose
.nbt files in config/customizableplayerspawn/structures
- use a marker block, a vanilla
DATA structure marker, a relative position, or the structure center as the spawn anchor
- create one shared spawn for everyone or separate per-player spawn structures
- choose the target dimension and allowed biomes
- search by heightmap, by smart surface validation, or by fixed Y level
- check the structure footprint, dangerous blocks, fluids, tree overlap, and surface height difference
- clear the placement volume, fill support gaps, refresh lighting, and process markers after placement
- optionally protect generated spawn structures from blocks, placement, containers, explosions, fire, and fluids
Profiles
The recommended setup is a profile file:
config/customizableplayerspawn/profiles/<profile>.toml
Loose structure files go here:
config/customizableplayerspawn/structures/<structure>.nbt
Minimal example:
schemaVersion = 2
id = "starter_ruin"
enabled = true
priority = 100
dimension = "minecraft:overworld"
structure = "config:starter_ruin.nbt"
[anchor]
mode = "MARKER_BLOCK"
markerBlock = "customizableplayerspawn:player_spawn_marker"
removeMarkerBlock = true
offsetX = 0
offsetY = 0
offsetZ = 0
angle = 0
fallback = "SAFE_NEARBY"
[placement]
strategy = "FLAT_FOOTPRINT"
surfaceSearchMode = "SMART"
searchRadius = 2048
searchAttempts = 128
maxSurfaceStep = 3
allowFluidsBelow = false
allowReplaceableAtFeet = true
allowReplaceableAtHead = true
forbiddenSurfaceBlocks = ["minecraft:lava", "minecraft:magma_block"]
Issues and suggestions:
评论 0
登录后参与评分
还没有评论,来抢沙发吧