空岛创作者

空岛创作者

一个Fabric模组,用于添加类似空岛的世界类型

工具

资源包:Bare Bones

Skyblock Creator

一个 Fabric 模组,允许你添加类似空岛的世界类型。

支持 Fabric 需要 Fabric API

注意

由于个人原因,此模组的开发已暂停,与其他模组相比,该模组需要更多的时间来维护。

关于

Skyblock Creator 是 Structure World 的一个分支,是一个允许你添加类似空岛世界类型的 Fabric 模组。

功能

  • 添加多个类似空岛的世界类型
  • 可使用结构文件(.nbt 文件)配置岛屿
  • 虚空下界和虚空末地
  • 多人游戏/服务器支持
  • 可自定义命令名称

使用方法

如果你下载并正确安装了模组,你会在创建世界界面看到 2 个新的世界类型。

类型:简单树
预览:简单树
类型:经典空岛
预览:经典空岛

当使用这些预设中的任何一个创建世界时,除了在出生点生成的特定结构外,你不会得到任何地形。

服务器

注意

更改 level-type 后,你可能需要重置你的世界。

如果你想在服务器端使用此模组,你需要在 server.properties 文件中将 level-type 设置为 skyblockcreator:[你的结构标识符]。

(例如:skyblockcreator:simple_tree 或 skyblockcreator:classic_skyblock)

或者,你也可以在模组的配置文件中将某个世界类型的 overridingDefault 设置为 true(更多信息请参阅下面的配置部分),并将 level-type 保留为 default。

有用的命令

  • /skyblock create:创建你自己的岛屿(或为其他玩家创建)
  • /skyblock teleport:传送到玩家(或你自己的)岛屿
  • /skyblock delete:删除玩家(或你自己的)岛屿
    (注意:方块将保留在那里,但用户将无法使用传送命令传送到他们的岛屿,并且你可以为他们创建新的岛屿。此操作不可逆)

配置

添加新的世界类型

ℹ️ 1.19.x 版本新增:从 1.19 开始,你可以通过数据包添加自定义世界类型,更多信息请查看 [官方 Wiki]。

如果你有一个自定义结构,并且想使用它创建自定义世界类型,你可以使用 Minecraft 的结构方块创建结构文件,将其 nbt 文件放置在 structures 文件夹中(位于:.minecraft/config/skyblockcreator/structures),然后编辑模组的配置文件(位于 .minecraft/config/skyblockcreator/skyblockcreator.json)。

默认配置文件内容如下:

{
  "structureWorldConfigs": [
    {
      "structureIdentifier": "simple_tree",
      "biomeIdentifier": "minecraft:forest",
      "structureOffset": [
        -2,
        0,
        -2
      ],
      "playerSpawnOffset": [
        0,
        8,
        0
      ],
      "overridingDefault": false,
      "fillmentBlockIdentifier": "minecraft:air",
      "topBedrockEnabled": false,
      "bottomBedrockEnabled": false,
      "isBedrockFlat": false,
      "theEnd": {
        "voidMode": false
      },
      "theNether": {
        "voidMode": false
      }
    },
    {
      "structureIdentifier": "classic_skyblock",
      "biomeIdentifier": "minecraft:plains",
      "structureOffset": [
        -3,
        0,
        -1
      ],
      "playerSpawnOffset": [
        0,
        3,
        0
      ],
      "overridingDefault": false,
      "fillmentBlockIdentifier": "minecraft:air",
      "topBedrockEnabled": false,
      "bottomBedrockEnabled": false,
      "isBedrockFlat": false,
      "theEnd": {
        "voidMode": false
      },
      "theNether": {
        "voidMode": false
      }
    },
    {
      "structureIdentifier": "stoneblock",
      "biomeIdentifier": "minecraft:plains",
      "structureOffset": [
        -5,
        -2,
        -5
      ],
      "playerSpawnOffset": [
        0,
        0,
        0
      ],
      "overridingDefault": false,
      "fillmentBlockIdentifier": "minecraft:stone",
      "topBedrockEnabled": true,
      "bottomBedrockEnabled": true,
      "isBedrockFlat": false,
      "theEnd": {
        "voidMode": false
      },
      "theNether": {
        "voidMode": false
      }
    }
  ],
  "createPlatformPermissionLevel": 0,
  "teleportToPlatformPermissionLevel": 0,
  "platformDistanceRadius": 1000,
  "commandName": "skyblock",
  "commandAlias": "sb"
}

[仅限 1.19.x] 以下是一个世界类型(内部称为 world_preset)文件的内容示例:

{
  "dimensions": {
    "minecraft:overworld": {
      "type": "minecraft:overworld",
      "generator": {
        "type": "skyblockcreator:structure_chunk_generator",
        "biome_source": {
          "type": "minecraft:fixed",
          "biome": "minecraft:plains"
        },
        "dimension": "overworld",
        "playerSpawnOffset": [0, 3, 0],
        "structureOffset": [-3, 0, -1],
        "structure": "classic_skyblock",
        "fillmentBlock": "minecraft:air",
        "enableTopBedrock": false,
        "enableBottomBedrock": false,
        "isBedrockFlat": false
      }
    },
    "minecraft:the_end": {
      "type": "minecraft:the_end",
      "generator": {
        "type": "minecraft:noise",
        "biome_source": {
          "type": "minecraft:the_end"
        },
        "settings": "minecraft:end",
        "dimension": "the_end"
      }
    },
    "minecraft:the_nether": {
      "type": "minecraft:the_nether",
      "generator": {
        "type": "minecraft:noise",
        "biome_source": {
          "type": "minecraft:multi_noise",
          "preset": "minecraft:nether"
        },
        "settings": "minecraft:nether",
        "dimension": "the_nether"
      }
    }
  }
}

创建新维度

在 Minecraft 1.16 或更高版本中,任何人都可以通过数据包创建新维度。

使用此模组时,你可以使自定义维度作为结构世界工作,甚至可以在同一个服务器中拥有多个结构世界。

维度文件内容应如下所示:

{
  "generator": {
    "type": "skyblockcreator:structure_chunk_generator",
    "structure": "simple_tree",
    "structureOffset": [-2, 0, -2],
    "playerSpawnOffset": [0, 8, 0],
    "biome_source": {
      "type": "minecraft:fixed",
      "biome": "minecraft:plains"
    }
  },
  "type": "skyblockcreator:test_dimension_type"
}

有关 1.16+ 自定义维度的更多信息,请参阅 官方 Wiki。

覆盖默认维度

如果你希望结构世界生成器始终成为整合包中的主生成器,你可以将模组配置文件中的 overridingDefault 属性设置为 true。

这样做后,客户端创建的所有世界都将默认为配置的世界类型,创建新服务器时也会将 level-type 设置为此类型。

联系

如需报告错误,请前往模组的 GitHub 仓库:https://github.com/null2264/SkyblockCreator