your current location:首页 > news>DataPack Portals Minecraft

DataPack Portals Minecraft

2024-12-12 09:32:41|Myriagame |source:minecraft skins

This module supports a custom portal based on the Custom Portal API through a data packet.

JSON example:

 {"block": "Minecraft: Stone", "Dim": "Minecraft: The_end", "IgnitionType": "Block", "IgnitionSource": "Mine craft: Fire ","R": 66, "G": 135, "B": 245} 

Block: blocks used by the portal frame;

DIM: The dimension that can be transmitted;

IGNITIONTYPE: The way to activate the portal;

Options: ["block", "FLUID", "Item"].

IGNITIONSOURCE: The block/item/fluid ID used to activate the portal;

When it is "Block", only "Minecraft: Fire" is supported.

R, G, B: The color of the portal.

Returndim: The dimension that arrives when the portal returns is the main world by default.

Minecraft images