User Tools

Site Tools


tutorial:custom_portals

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
tutorial:custom_portals [2022/09/18 13:45] nexus-dinotutorial:custom_portals [2025/10/16 17:15] (current) – Specify how to make a portal which is lit with fire donillia
Line 42: Line 42:
         .registerPortal();         .registerPortal();
 </code> </code>
 +
 +If you want it to be lit with fire, however, you will need to call ''.customIgnitionSource'' passing in ''PortalIgnitionSource.FIRE''.
 +
  
 Now, this would create the following portal (Custom Portals can work in any dimension!): Now, this would create the following portal (Custom Portals can work in any dimension!):
Line 61: Line 64:
 </code> </code>
  
-Now we have a cool netherite portal that can be lit by using lava and a golden portal!+Now we have a cool netherite portal that can be lit by using lava and a golden portal that can be lit by using an eye of ender!
  
 {{https://raw.githubusercontent.com/kyrptonaught/customportalapi/main/images/2020-11-15_17.06.44.png}} {{https://raw.githubusercontent.com/kyrptonaught/customportalapi/main/images/2020-11-15_17.06.44.png}}
tutorial/custom_portals.txt · Last modified: 2025/10/16 17:15 by donillia