You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ben Woo edited this page Mar 15, 2021
·
3 revisions
This pages provides examples and explanation for the common API usages of Multiverse-Core introduced here. It's impossible to cover all API methods in this guide, but rest assured we have javadocs provided.
Link a set of SMP worlds
publicvoidlinkSMPWorlds(Stringoverworld, Stringnetherworld, Stringendworld) {
// Linking nether portals both waysnetherportals.addWorldLink(overworld, netherworld, PortalType.NETHER);
netherportals.addWorldLink(netherworld, overworld, PortalType.NETHER);
// Linking end portals both waysnetherportals.addWorldLink(overworld, endworld, PortalType.ENDER);
netherportals.addWorldLink(endworld, overworld, PortalType.ENDER);
}