portals.yml

自定义传送门文件示例:

该文件存在于/core/你的包名/data中,用于添加传送门

#portal.yml
portals:
  portal1:
    name: "测试用传送门" #备注物品名(不计入lang文件)
    frameBlock: "coreextensions:other_block"  # 替换为你要设置的 命名空间:方块ID
    lightWithItem: "minecraft:ender_eye"  # 替换为你要设置的物品ID
    destDimID: "minecraft:the_end"  # 替换为你设置的维度ID
    tintColor: [255, 0, 0]  # 替换为你要设置的RGB颜色
# 添加更多传送门信息...

最后更新于