Перейти к содержимому
Mineforgian

Datapack Portals

Create custom portals using CustomPortalApi with datapacks

Загрузки
93K
Подписчики
35
Обновлён
13 сентября 2024 г.
Лицензия
MIT

Опубликован 28 ноября 2020 г.

Datapack Portals

Create custom portals using CustomPortalApi with datapacks.

Inside your datapack create a "portals" folder, this is where you'll put all your custom portals. There is no set limit of allowed portals, as long as there aren't any duplicate frame blocks.

Here is an example file: stoneendportal.json

 {  
    "block": "minecraft:stone",  
    "dim": "minecraft:the_end",  
    "r": 66,  
    "g": 135,  
    "b": 245
 }
  • block: the block used for the frame.
  • dim: the dim id to travel to
  • r, g, b: the color to tint the portal

There are also some optional arguments

  • ignitionType: the type of ignition to use. Options are "BLOCK", "FLUID", "ITEM".
  • ignitionSource: the id for block/item/fluid for ignition of the portal, the only supported block being fire : "minecraft:fire". All items and fluids are supported.
  • returnDim: the dimmension to return to, allows for specifying a location other than the overworld to return to

That is all! Portals will function exactly like vanilla nether portals do portals and stuff

Ченджлог

1.2.3-1.21Релиз1.21, 1.21.1 · 13 сентября 2024 г.

Update to 1.21

1.2.3-1.20Релиз1.20, 1.20.1 · 16 июня 2023 г.

Port to 1.20/1.20.1

1.2.3-1.19.4Релиз1.19.4 · 31 марта 2023 г.

Port to 1.19.4

1.2.3-1.19.3Релиз1.19.3 · 24 декабря 2022 г.

Remove testing portals

1.2.2-1.19.3Релиз1.19.3 · 13 декабря 2022 г.

Update to 1.19.3

1.2.1Релиз1.19, 1.19.1, 1.19.2 · 8 ноября 2022 г.

Add support for flat portals.

Add to your portal.json:

"portalType" : "flat"

1.1.1-1.19Релиз1.19 · 6 июля 2022 г.

Update to 1.19

1.1.1-1.18Релиз1.18.2 · 6 июля 2022 г.

Update to 1.18.2

Комментарии

Загружаем…