Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Remote Interface: Creating Portals

Adrodoc55 edited this page Dec 29, 2016 · 2 revisions

To create a portal via ACV_remote_createPortals you have to summon an entity with the name ACV_remote_createPortals_PARAM in the block where you want the portal to spawn. Due to #18 the entity may not be located in the exact center of a block. Although not required it is a good idea to use an entity that is not affected by gravity, for instance an area effect cloud.

To specify the color you tag the entity with one of:

  • ACV_Blue
  • ACV_Orange
  • ACV_Purple
  • ACV_Red

Note that it is important to use multiple entities if you want to create multiple portals. You can't use one entity with multiple tags.

These three commands can be used to create a blue and an orange portal:

/summon area_effect_cloud ~-2 ~.1 ~ {CustomName:"ACV_remote_createPortals_PARAM",Tags:["ACV_Blue"],Duration:2147483647}
/summon area_effect_cloud ~-2 ~.1 ~2 {CustomName:"ACV_remote_createPortals_PARAM",Tags:["ACV_Orange"],Duration:2147483647}
/execute @e[name=ACV_remote_createPortals] ~ ~ ~ setblock ~ ~ ~ redstone_block