Details of Subworld Library


Display Name
Subworld Library
Name
SubworldLibrary
Version
v1.1.1
Author
John Snail
File
Download 78.7 KB Sync now ( Origin, Mirror 1, Mirror 7, Mirror 8, Mirror 9, Mirror 10)
Last Updated
one year ago
Description
Dimensions, made easy.

A tool for modders to easily add dimensions (referred to as subworlds), handling most of the hard work, such as loading, saving, and Multiplayer compatibility.

- Registering
Any class that derives from the 'Subworld' class is automatically registered as a subworld. Subworlds are highly customisable; from their size and how they generate, to whether they or the players inside of them save, to even what ModWorld is allowed to update while inside of them. Registering a subworld without directly referencing Subworld Library is also possible, via 'Mod.Call'.

- Loading
Loading a subworld is as simple as calling 'Subworld.Enter'. Each subworld can have a custom loading UI if its class overrides 'loadingUIState'. The UI can even persist after the world is loaded if 'loadingUI' is overridden.

- Saving
Subworlds can be set to be either temporary or permanent. Subworlds can also prevent players from saving while inside them. Subworld Library also handles deleting subworlds when their main world is deleted.

- Multiplayer
Subworld Library doesn't just handle loading, saving, etc. in Singleplayer; it also does so in Multiplayer, with little to no extra work required on your end. By default, players vote on whether to enter/leave a subworld, preventing any unwanted travels.

- Misc.
Subworld Library gets rid of Space, the Underworld, and both Oceans inside subworlds, freeing up tons of world space, and allowing for very small subworlds.

If you encounter a bug, it is likely from another mod. Do not report it otherwise; 1.3 is no longer supported.
tModLoader Version
v0.11.8.9
Localizer Package
Localizer Package
Homepage
https://forums.terraria.org/index.php?threads/subworld-library.86283
Icon
https://i.imgur.com/kYn3SvP.png https://i.imgur.com/kYn3SvP.png
Mod Side
Both
Downloads
809699
Hot
169
Edit | Back to List