概述
“失落天空岛屿”(Lost Sky Islands)数据包(也可作为模组使用)为你的 Minecraft 世界添加了成簇的天空岛屿。这些天空岛屿以 Minecraft 结构的形式生成,大小各异。你可以在这些岛屿上发现一些失落文明的遗迹,其中一些可能藏有珍贵的宝藏。如果你觉得在地面生活太无聊,还可以利用这些岛屿建立天空基地。
此数据包已针对原版游戏进程进行了平衡调整。方块配色方案也经过精心选择,以更好地融入原版世界(例如,羊毛块仅用于建筑中合理的部分,而非用于整体地形纹理)。因此,添加此数据包不会破坏原版的体验。
此数据包还设计为易于自定义,以便你可以根据自己的玩法进行调整,或更好地将其整合到整合包中。
安装
数据包文件 (.zip) 安装
- 对于单人世界,只需在世界创建过程中添加该数据包,就像安装其他数据包一样启用它即可。
- 对于服务器,请将数据包放入世界文件夹内的
datapack 文件夹中。
模组文件 (.jar) 安装
你可以像安装其他模组一样轻松安装它,将 .jar 文件放入你的 Minecraft 实例的 mods 文件夹下。支持的加载器包括 Forge、NeoForge 和 Fabric。
重要提示:对于 Fabric,你还需要安装 Fabric API。
兼容性
Minecraft 兼容性
此数据包支持从 1.21.1 到 26.3 的 Minecraft 版本。
模组兼容性
由于此数据包仅在天空中添加新结构,它应该与常见的世界生成模组兼容。虽然如果你使用类似 Tectonic 这样的模组,天空岛屿看起来可能会小一点,因为它们是基于原版规模设计的。
如果你使用另一个也在天空中添加结构的模组/数据包,存在结构重叠的小概率事件。
权限
欢迎将此模组/数据包包含在你的整合包中。
尽管许可证是 ARR,但你被允许通过创建另一个数据包或使用 Tweaker 模组来定制此数据包的行为,而无需直接修改原始的 .jar 或 .zip 文件。更多详情请参见下方的“自定义”部分。
自定义
要自定义此数据包的行为,你可以创建一个新的数据包来覆盖此数据包中的 JSON 定义(你需要确保它在当前数据包/模组之后加载),或者使用更先进的工具如 KubeJS。
除非另有明确说明,以下所有 JSON 或结构 NBT 文件路径均相对于数据包中的 data 文件夹。
重要提示: 覆盖层(Overlays)用于支持多个 Minecraft 版本。根据你使用的 Minecraft 版本,你可能需要使用相应覆盖层中的文件作为参考。例如,如果你想覆盖 lostskyislands/worldgen/placed_feature/cave_ore_rare_1.json,对于 Minecraft 1.21.10,你可以简单地引用根 data 目录下的文件作为基准。然而,对于 Minecraft 26.1,你需要引用覆盖层目录 patch_26_1 下同名文件作为基准。
展开查看技术细节
结构放置
若要更改天空岛屿可以生成的生物群系,请覆盖以下生物群系标签:
lostskyislands/tags/worldgen/biome/has_structure/sky_islands_plain.json。
若要更改天空岛屿结构的间距或间隔,请覆盖 lostskyislands/worldgen/structure_set/sky_islands.json。默认情况下,天空岛屿的间隔略大于村庄,以避免遮挡天空视野。
若要自定义每个单独天空岛屿结构的属性(例如高度范围、生成覆盖等),请覆盖位于 lostskyislands/worldgen/structure 下的结构定义文件。
战利品表
所有箱子、桶和装饰罐的战利品表均可在 lostskyislands/loot_table/chests 下找到,允许对战利品生成进行详细控制。
对于任何岛屿上的普通箱子、桶和装饰罐:
lostskyislands/loot_table/chests/barrel_supplies.json
lostskyislands/loot_table/chests/common_pot_standard.json
对于特定岛屿上的箱子、桶和装饰罐:
lostskyislands/loot_table/chests/barrel_garden.json - 位于某些花卉花园岛屿上。
lostskyislands/loot_table/chests/barrel_ladder.json - 位于带有梯子的垂直连接岛屿上。
lostskyislands/loot_table/chests/barrel_mill.json - 位于带有风车废墟的岛屿上。
lostskyislands/loot_table/chests/common_pot_animal_pen.json - 位于带有动物围栏的岛屿上。
lostskyislands/loot_table/chests/common_pot_cave_supplies.json - 位于带有洞穴的岛屿上。
lostskyislands/loot_table/chests/common_pot_treasure.json - 位于带有华丽神龛的岛屿上。
lostskyislands/loot_table/chests/sky_doc_chest.json - 位于带有天空码头的岛屿上。
对于悬挂在岛屿下方的箱子、桶和装饰罐:
lostskyislands/loot_table/chests/hanging_chest.json
lostskyislands/loot_table/chests/hanging_pot.json
对于位于岛屿洞穴中的箱子、桶和装饰罐:
lostskyislands/loot_table/chests/barrel_mushrooms.json - 仅位于拥有蘑菇花园的洞穴内。
lostskyislands/loot_table/chests/barrel_cave_supplies.json
lostskyislands/loot_table/chests/cave_side_room_chest.json
lostskyislands/loot_table/chests/cave_side_room_pot.json
对于水下箱子、桶和装饰罐(通常位于池塘、水池中):
lostskyislands/loot_table/chests/underwater_chest_standard.json
lostskyislands/loot_table/chests/underwater_chest_treasure.json
lostskyislands/loot_table/chests/underwater_pot_standard.json
lostskyislands/loot_table/chests/underwater_pot_treasure.json
对于位于建筑部分的箱子、桶和装饰罐:
lostskyislands/loot_table/chests/apothecary_products.json
lostskyislands/loot_table/chests/apothecary_supplies.json
lostskyislands/loot_table/chests/blacksmith_products.json - 铁匠废墟中已完成的物品,如工具、护甲等。
lostskyislands/loot_table/chests/blacksmith_supplies.json - 铁匠废墟中的补给或原材料,如煤炭、未加工矿石等。
lostskyislands/loot_table/chests/house_barrel_common.json
lostskyislands/loot_table/chests/house_chest_common.json
lostskyislands/loot_table/chests/library_treasure.json
lostskyislands/loot_table/chests/market_stall_common.json
lostskyislands/loot_table/chests/masons_house_supplies.json
lostskyislands/loot_table/chests/tavern_food.json
lostskyislands/loot_table/chests/tavern_supplies.json
lostskyislands/loot_table/chests/tavern_treasure.json
lostskyislands/loot_table/chests/temple_treasure.json
针对飞艇部件中的箱子、桶和装饰陶罐:
lostskyislands/loot_table/chests/airship_cargo.json - 与“airship_supplies”相比,包含更多宝藏物品。
lostskyislands/loot_table/chests/airship_navigation.json
lostskyislands/loot_table/chests/airship_supplies.json
针对房屋废墟中的可疑沙砾:
lostskyislands/loot_table/archaeology/house_ruin.json。
通往其他浮空岛的地牢地图定义在特殊战利品表
lostskyislands/loot_table/chests/lost_sky_islands_map.json 中。
怪物刷怪箱
默认情况下,不会生成标准怪物刷怪箱。相应的模板池配置为包含一个空部分。如果你希望浮空岛上生成怪物刷怪箱,你需要覆盖
lostskyislands/worldgen/template_pool/spawner/standard_spawner.json,以包含具有所需怪物刷怪箱的部分。这些部分必须是 1x2x1 大小,底部是拼接方块,顶部是刷怪箱方块。参见 lostskyislands/structure/common/spawner 下的示例部分。你可以基于这些示例创建带有新刷怪箱类型的新部分。
如果配置正确,这些怪物刷怪箱将在某些建筑废墟和洞穴中生成。
盔甲架实体
一些建筑部件会生成穿戴护甲的盔甲架实体。如果你想自定义那里的护甲物品,你需要覆盖此模板池:
lostskyislands/worldgen/template_pool/entity/armor_stand_metal_armor.json。盔甲架实体结构部分必须为 1x3x1 大小,底部是拼接方块,顶部坐着盔甲架实体。你可以参考 lostskyislands/structure/common/entity 下的示例。
神器
神器生成
某些岛屿会生成带有神器展示器的结构部分,这是一个用于持有神器物品的物品显示实体(连同交互实体以启用玩家交互)。在玩家取走之前,神器周围会出现华丽的粒子效果。示例结构部分为 lostskyislands/structure/common/treasure/artifact_pedestal_sword_1.nbt,其中一把附魔钻石剑被插入石质基座中。要添加自定义神器(例如来自模组的华丽剑),你需要创建大小为 3x3x3 到 3x7x3 之间的类似部分,并覆盖以下模板池以包含你的部分:
lostskyislands/worldgen/template_pool/treasure/artifact_pedestal.json。
该数据包包含一些自定义命令,以便更轻松地创建此类结构部分。创建新神器基座部分的示例流程如下:
- 使用结构方块在你的开发世界中加载
lostskyislands/structure/common/treasure/artifact_pedestal_sword_1.nbt。
- 运行
/function lostskyislands:dev/enable_dev_mode(注意,除非你通过 /function lostskyislands:dev/disable_dev_mode 禁用它,否则开发模式在每个世界中是持久的)。
- 在主手中持有神器物品,站在你要放置神器的方块中心,然后运行
/function lostskyislands:dev/create_artifact_display。注意,对于剑、镐、盾和三叉戟,有几个专用函数。例如,lostskyislands:dev/create_artifact_display_sword_in_stone 会将剑的位置变换为仿佛插入到你正站立的方块中。如果你的物品具有不同于原版的翻译/旋转属性,你可能需要自行调整物品显示实体的变换属性。
- 以新名称导出该部分。
- 将新部分包含在模板池中。
矿石生成
该数据包使用自定义特性或处理器列表在某些岛屿上生成矿石。
一些拥有小型洞穴的岛屿使用特性池元素生成矿石。要自定义矿石生成,你可以覆盖这些文件以自定义可能生成的矿石及其频率:
lostskyislands/worldgen/configured_feature/cave_ore_*.json。
你也可以覆盖 lostskyislands/worldgen/template_pool/feature/cave_ores.json 中常见、稀有、极稀有矿石的权重。
一些拥有大型洞穴的岛屿使用处理器列表生成矿石。要自定义它们的生成,你需要覆盖
lostskyislands/worldgen/processor_list/cave_ores_*.json。
一些岛屿洞穴中还会有含有矿堆的房间,这些是由处理器列表创建的。要自定义这些矿堆,你需要覆盖
lostskyislands/worldgen/processor_list/ore_pile_*.json。
蜜蜂
某些岛屿会生成带有蜜蜂的蜂箱。如果你想包含模组化的蜂箱或蜜蜂,你可以覆盖以下模板池:
lostskyislands/worldgen/template_pool/decor_beehive_stand.json。此池中使用的蜂箱部分应为 1x2x1 大小。你可以使用
lostskyislands/structure/common/decor/beehive_stand_full_with_bees.nbt 作为示例。
Overview
The "Lost Sky Islands" datapack (also available as a mod) adds clusters of sky
islands to your Minecraft world. These sky islands are generated as Minecraft
structures and can vary in size. You can find ruins of some lost civilization
on these islands, some of which may hold valuable treasures. If you ever feel
bored living on the ground, you can also use the islands to start a sky base.
This datapack is balanced against vanilla progression. The block palettes are
also chosen to better fit vanilla worlds (e.g., wool blocks are only used in
building parts where they make sense, not in general terrain texturing).
Therefore, adding this datapack shouldn't break the vanilla experience.
This datapack is also designed to allow easy customization, so you can tweak it
to fit your play style, or to better integrate it in a modpack.
Installation
Datapack File (.zip) Installation
- For single-player worlds, simply add the datapack during world creation and
enable it just like installing other datapacks.
- For servers, put the datapack in the
datapack folder within your world
folder.
Mod File (.jar) Installation
You can easily install it like other mods by putting the .jar file under your
Minecraft instance's mods folder. Supported mod loaders include Forge,
NeoForge, and Fabric.
IMPORTANT: For Fabric, you also need to install Fabric API.
Compatibility
Minecraft Compatibility
This datapack supports Minecraft versions from 1.21.1 to 26.3.
Mod Compatibility
Since this datapack only adds new structures in the sky, it should be compatible
with common worldgen mods. Although the sky islands may look a bit small if you
use mods like Tectonic, because they are designed around vanilla scale.
If you use another mod/datapack that also adds structures in the sky, there is
a small chance of overlapping structures.
Permission
Feel free to include this mod/datapack in your modpacks.
Although the license is ARR, you're permitted to customize the behaviors of this
datapack without directly modifying the original .jar or .zip file by
creating another datapack or use tweaker mods. See the "Customization" section
below for more details.
Customization
To customize the behaviors of this datapack, you can create a new datapack to
override JSON definitions in this datapack (you need to make sure it loads after
this datapack/mod), or use more advanced tools like KubeJS.
When not explicitly stated, all JSON or structure NBT file paths below are
relative to the data folder in the datapack.
IMPORTANT: Overlays are used to support multiple Minecraft versions.
Depending on the Minecraft version you are using, you may need to use files
from the corresponding overlay for reference. For example, if you want to
override lostskyislands/worldgen/placed_feature/cave_ore_rare_1.json, for
Minecraft 1.21.10, you can simply refer to the file under the root data
directory as the baseline. However, for Minecraft 26.1, you will need to refer
to the same named file under the overlay directory patch_26_1 as the baseline.
Expand to View Technical Details
Structure Placement
To change the biomes in which sky islands can generate, override the following
biome tag:
lostskyislands/tags/worldgen/biome/has_structure/sky_islands_plain.json.
To change the spacing or separation of the sky island structures, override
lostskyislands/worldgen/structure_set/sky_islands.json. By default, sky
islands have a slightly larger separation than villages, so they don't clutter
the sky view.
To customize each individual sky island structure's properties (e.g., height
range, spawn overrides, etc.), override the structure definitions files under
lostskyislands/worldgen/structure.
Loot Tables
All loot tables for chests, barrels, decorated pots can be found under
lostskyislands/loot_table/chests, allowing detailed controls of loot
generation.
For common chests, barrels, decorated pots on any island:
lostskyislands/loot_table/chests/barrel_supplies.json
lostskyislands/loot_table/chests/common_pot_standard.json
For chests, barrels, decorated pots on specific islands:
lostskyislands/loot_table/chests/barrel_garden.json - On some flower garden
islands.
lostskyislands/loot_table/chests/barrel_ladder.json - On vertical connector
islands with ladders.
lostskyislands/loot_table/chests/barrel_mill.json - On islands with windmill
ruins.
lostskyislands/loot_table/chests/common_pot_animal_pen.json - On islands
with animal pens.
lostskyislands/loot_table/chests/common_pot_cave_supplies.json - On islands
with caves.
lostskyislands/loot_table/chests/common_pot_treasure.json - On islands with
fancy shrines.
lostskyislands/loot_table/chests/sky_doc_chest.json - On islands with sky
docks.
For chests, barrels, decorated pots hanging below islands:
lostskyislands/loot_table/chests/hanging_chest.json
lostskyislands/loot_table/chests/hanging_pot.json
For chests, barrels, decorated pots in island caves:
lostskyislands/loot_table/chests/barrel_mushrooms.json - Inside caves with
mushroom gardens only.
lostskyislands/loot_table/chests/barrel_cave_supplies.json
lostskyislands/loot_table/chests/cave_side_room_chest.json
lostskyislands/loot_table/chests/cave_side_room_pot.json
For underwater chests, barrels, decorated pots (usually in ponds, pools):
lostskyislands/loot_table/chests/underwater_chest_standard.json
lostskyislands/loot_table/chests/underwater_chest_treasure.json
lostskyislands/loot_table/chests/underwater_pot_standard.json
lostskyislands/loot_table/chests/underwater_pot_treasure.json
For chests, barrels, decorated pots in building parts:
lostskyislands/loot_table/chests/apothecary_products.json
lostskyislands/loot_table/chests/apothecary_supplies.json
lostskyislands/loot_table/chests/blacksmith_products.json - Finished
products like tools, armor pieces, etc., in blacksmith ruins.
lostskyislands/loot_table/chests/blacksmith_supplies.json - Supplies or raw
materials like coal, raw ores, etc., in blacksmith ruins.
lostskyislands/loot_table/chests/house_barrel_common.json
lostskyislands/loot_table/chests/house_chest_common.json
lostskyislands/loot_table/chests/library_treasure.json
lostskyislands/loot_table/chests/market_stall_common.json
lostskyislands/loot_table/chests/masons_house_supplies.json
lostskyislands/loot_table/chests/tavern_food.json
lostskyislands/loot_table/chests/tavern_supplies.json
lostskyislands/loot_table/chests/tavern_treasure.json
lostskyislands/loot_table/chests/temple_treasure.json
For chests, barrels, decorated pots in aircraft parts:
lostskyislands/loot_table/chests/airship_cargo.json - Contains more treasure
items compared to "airship_supplies".
lostskyislands/loot_table/chests/airship_navigation.json
lostskyislands/loot_table/chests/airship_supplies.json
For suspicious gravel in house ruins:
lostskyislands/loot_table/archaeology/house_ruin.json.
The explorer maps to other sky islands are defined in the special loot table
lostskyislands/loot_table/chests/lost_sky_islands_map.json.
Monster Spawners
By default, no standard monster spawners will generate. The corresponding
template pool is configured to contain an empty part. If you wish to have
monster spawners generated on the sky islands, you will need to override
lostskyislands/worldgen/template_pool/spawner/standard_spawner.json to include
part with desired monster spawners. These parts must be 1x2x1, with the jigsaw
block at the bottom and the spawner block on top. See the example parts under
lostskyislands/structure/common/spawner. You can create new parts with new
spawner types based on these examples.
If configured correctly, these monster spawners will generate in some building
ruins and caves.
Armor Stand Entities
Some building parts will generate armor stand entities with armor pieces on
them. If you want to customize the armor pieces there, you need to override this
template pool:
lostskyislands/worldgen/template_pool/entity/armor_stand_metal_armor.json. The
armor stand entity structure parts must be 1x3x1, with the jigsaw block at the
bottom and the armor stand entity sitting on top of it. You can refer to
examples under lostskyislands/structure/common/entity.
Artifacts
Artifact Generation
Some islands will generate a structure part with an artifact holder, which is an
item display entity designed to hold an artifact item (together with an
interaction entity to enable player interaction). Fancy particles will appear
around the artifact until it is taken by a player. An example structure part is
lostskyislands/structure/common/treasure/artifact_pedestal_sword_1.nbt, where
an enchanted diamond sword is inserted inside a stone pedestal. To add
customized artifacts (e.g., some fancy sword from a mod), you will need to
create similar parts of size between 3x3x3 and 3x7x3, and override the following
template pool to include your parts:
lostskyislands/worldgen/template_pool/treasure/artifact_pedestal.json.
This datapack includes some custom commands to make it easier to create such
structure parts. An example procedure to create a new artifact pedestal part:
- Load
lostskyislands/structure/common/treasure/artifact_pedestal_sword_1.nbt
in your dev world using a structure block.
- Run
/function lostskyislands:dev/enable_dev_mode (note that dev mode is
persistent per world unless you disable it with
/function lostskyislands:dev/disable_dev_mode).
- Hold the artifact item in your main hand, stand at the center of the block
you want to place the artifact, and run
/function lostskyislands:dev/create_artifact_display. Note that for swords,
pickaxes, shields, and tridents there are several specialized functions. For
example, lostskyislands:dev/create_artifact_display_sword_in_stone will
transform the sword's position as if it is inserted into the block you are
standing on. If your item has different translations/rotations than vanilla
ones, you may need to adjust the item display entity's transformation
properties by yourself.
- Export the part under a new name.
- Include the new part in the template pool.
Ore Generation
This datapack uses custom features or processor lists to generate ores in
certain islands.
Some islands with small caves generate ores using feature pool elements. To
customize the ore generation, you can to override these files to customize
possible ores to generate and their frequency:
lostskyislands/worldgen/configured_feature/cave_ore_*.json.
You may also override the weights for common, uncommon, rare ores in
lostskyislands/worldgen/template_pool/feature/cave_ores.json.
Some islands with large caves generate ores using processor lists. To customize
their generation, you need to override
lostskyislands/worldgen/processor_list/cave_ores_*.json.
Some island caves will also have rooms with ore piles, which are created by
processor lists. To customize these ore piles, you need to override
lostskyislands/worldgen/processor_list/ore_pile_*.json.
Bees
Certain islands will generate beehives with bees in them. If you want to include
modded beehives or bees, you can override the following template pool:
lostskyislands/worldgen/template_pool/decor_beehive_stand.json. The beehive
parts used in this pool should have a size of 1x2x1. You can use
lostskyislands/structure/common/decor/beehive_stand_full_with_bees.nbt as an
example.
评论 0
登录后参与评分
还没有评论,来抢沙发吧