Necesse

Necesse

Not enough ratings
UltraVerse Library [Discontinued]
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
239.772 KB
4 Sep, 2024 @ 3:56am
11 Jan @ 4:11am
7 Change Notes ( view )

Subscribe to download
UltraVerse Library [Discontinued]

Description
This mod is discontinued due to Necesse 1.0 changes


A mod that will allow modders to create their own worlds where they can add their own biomes so as not to have everything mixed in the same world

⚠ This mod does nothing on its own and is only created as a dependency for other mods

This mod is capable of handling several mods that use it at the same time and allows these mods to be added mid-game. Of course you can also add a new world to your mod whenever you want!

HOW TO ADD THE DEPENDENCY
All you need is modify the `build.gradle` file of your mod:
  • Add in the top level:
    project.ext.modDependencies = ["aphoreateam.ultraverse"]
  • Add inside of dependencies { ... }
    compileOnly "com.github.AizSave:UltraVerse:-SNAPSHOT"
  • Add inside of repositories { ... }
    maven { url 'https://jitpack.io' }
  • Run ./gradlew build in the project and maybe you will need to restart the IDE
  • Once your mod is on Steam workshop remember to add this mod as a dependency. Your mod will work if this mod is loaded before


HOW TO USE
It's actually very easy to register a world, you just have to add something similar to to the examples below

Example 1
public void init() { ... UltraVerse.newWorld( "mymod_villagesworld", // ID of the world. Do not change once your mod is published under any circumstances! It is not something that the player will see, but rather it will be used to store information. Two worlds cannot have the same ID so it is recommended to put the name of your mod in the ID to ensure that it isn't incompatible with other mods "villagesworld", // 64x64 image in resources/worlds null, // This way the world will be always unlocked BiomeRegistry.FOREST_VILLAGE, // Biome in which they appear when using the item // Possible biomes that will appear in the world and a ticket system where it will be more common the more tickets the biome has new UltraVerse.ChanceBiome(BiomeRegistry.FOREST_VILLAGE, 1), new UltraVerse.ChanceBiome(BiomeRegistry.DESERT_VILLAGE, 1), new UltraVerse.ChanceBiome(BiomeRegistry.SNOW_VILLAGE, 1) ); ... }

Example 2 (Less comments)
UltraVerse.newWorld( "mymod_villagesworld", // ID of the world "villagesworld", // 64x64 image in resources/worlds // This way the world will be unlocked if the player use 5 iron bars UltraVerse.TravelingMenuCondition.useItems(new Ingredient("ironbar", 5)), BiomeRegistry.FOREST_VILLAGE, // Initial biom // Possible biomes new UltraVerse.ChanceBiome(BiomeRegistry.FOREST_VILLAGE, 1), new UltraVerse.ChanceBiome(BiomeRegistry.DESERT_VILLAGE, 1), new UltraVerse.ChanceBiome(BiomeRegistry.SNOW_VILLAGE, 1) );


CREDITS
Save: Mod creator
Pooper: Artist

Temporal Sprite of Default World: https://www.deviantart.com/gpbrck/art/Pixel-Art-Earth-536316551 by gpbrck


FOR DEVELOPERS AND SERVERS
Package for Dedicated Servers: https://github.com/AizSave/UltraVerse/packages


Want to support me?
My mods are created without any profit motive, but if you want to support me, buy me a coffee!
https://buymeacoffee.com/aizsave
2 Comments
Save  [author] 8 Jan @ 2:33pm 
This mod will be updated soon
Moonwhisper45 5 Sep, 2024 @ 4:01pm 
Holy crap we just got a dimensions library mod for Necesse