mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-01 07:25:51 +00:00
IrisBukkit
The master branch is for the latest version of minecraft.
Support | Documentation **
|** Git
Building
Building IrisBukkit is fairly simple, though you will need to setup a few things if your system has never been used for java development.
Consider supporting our development by buying IrisBukkit on spigot! We work hard to make IrisBukkit the best it can be for everyone.
Command Line Builds
- Install Java JDK 17
- Set the JDK installation path to
JAVA_HOME
as an environment variable.- Windows
- Start > Type
env
and press Enter - Advanced > Environment Variables
- Under System Variables, click
New...
- Variable Name:
JAVA_HOME
- Variable Value:
C:\Program Files\Java\jdk-17.0.1
(verify this exists after installing java don't just copy the example text)
- Start > Type
- MacOS
- Run
/usr/libexec/java_home -V
and look for Java 17 - Run
sudo nano ~/.zshenv
- Add
export JAVA_HOME=$(/usr/libexec/java_home)
as a new line - Use
CTRL + X
, then PressY
, ThenENTER
- Quit & Reopen Terminal and verify with
echo $JAVA_HOME
. It should print a directory
- Run
- Windows
- If this is your first time building IrisBukkit for MC 1.18+ run
gradlew setup
inside the root IrisBukkit project folder. Otherwise, skip this step. Grab a coffee, this may take up to 5 minutes depending on your cpu & internet connection. - Once the project has setup, run
gradlew iris
- The IrisBukkit jar will be placed in
IrisBukkit/build/IrisBukkit-XXX-XXX.jar
Enjoy! Consider supporting us by buying it on spigot!
IDE Builds (for development)
- Run
gradlew setup
any time you get dependency issues with craftbukkit - Configure ITJ Gradle to use JDK 17 (in settings, search for gradle)
- Add a build line in the build.gradle for your own build task to directly compile IrisBukkit into your plugins folder if you prefer.
- Resync the project & run your newly created task (under the development folder in gradle tasks!)
IrisBukkit Toolbelt
Everyone needs a tool-belt.
package com.volmit.iris.core.tools;
// Get IrisDataManager from a world
IrisToolbelt.access(anyWorld).getCompound().getData();
// Get Default Engine from world
IrisToolbelt.access(anyWorld).getCompound().getDefaultEngine();
// Get the engine at the given height
IrisToolbelt.access(anyWorld).getCompound().getEngineForHeight(68);
// IS THIS THING ON?
boolean yes=IrisToolbelt.isIrisWorld(world);
// GTFO for worlds (moves players to any other world, just not this one)
IrisToolbelt.evacuate(world);
IrisAccess access=IrisToolbelt.createWorld() // If you like builders...
.name("myWorld") // The world name
.dimension("terrifyinghands")
.seed(69133742) // The world seed
.headless(true) // Headless make gen go fast
.pregen(PregenTask // Define a pregen job to run
.builder()
.center(new Position2(0,0)) // REGION coords (1 region = 32x32 chunks)
.radius(4) // Radius in REGIONS. Rad of 4 means a 9x9 Region map.
.build())
.create();
Description
World Generation through a new Iris
bukkithacktoberfesthacktoberfest-acceptedhacktoberfest2022irisjavaminecraftpluginspigotworld-generationworldgen
Readme
142 MiB
Languages
Java
100%