mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-20 07:24:16 +00:00
8a18b6ff8bd737f51b65eddea489b624b72e1e2d
Adds the v26_1_R1 binding, which covers both versions. 26.x servers are not obfuscated and need Java 25, so the build moves to Gradle 9.5.1 and paperweight-userdev 2.0.0-beta.21, and the binding compiles against the 26.1.2 dev bundle with a Java 25 toolchain while everything else stays on Java 21. On 26.x every world is a dimension inside the main level, so the binding provides DimensionWorldStorage: - world folders resolve to <level>/dimensions/<namespace>/<key> - data packs go to the level's datapacks folder - Iris data in a pre-26.1 world folder is moved into the dimension before Paper imports the world and deletes the old folder - "main=true" swaps the world in as the level's overworld instead of changing level-name Also: - INMS compares 1.x and 26.x versions in release order - data pack formats 101 (26.1.2) and 107 (26.2), declared with min_format/max_format from format 82 on - dimension types get the fields 26.1 added - the Java safeguard accepts Java 25 Model used: Claude Opus 5.5
Iris
The master branch is for the latest version of minecraft.
Support | Documentation | Git
Building
Building Iris 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 Iris on spigot! We work hard to make Iris the best it can be for everyone.
Preface: if you need help compiling and you are a developer / intend to help out in the community or with development we would love to help you regardless in the discord! however do not come to the discord asking for free copies, or a tutorial on how to compile.
Command Line Builds
- Install Java JDK 21
- Set the JDK installation path to
JAVA_HOMEas an environment variable.- Windows
- Start > Type
envand press Enter - Advanced > Environment Variables
- Under System Variables, click
New... - Variable Name:
JAVA_HOME - Variable Value:
C:\Program Files\Java\jdk-21.0.1(verify this exists after installing java don't just copy the example text)
- Start > Type
- MacOS
- Run
/usr/libexec/java_home -Vand look for Java 21 - 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
- Once the project has setup, run
gradlew iris - The Iris jar will be placed in
Iris/build/Iris-XXX-XXX.jarEnjoy! Consider supporting us by buying it on spigot!
IDE Builds (for development)
- Configure ITJ Gradle to use JDK 21 (in settings, search for gradle)
- Add a build line in the build.gradle for your own build task to directly compile Iris into your plugins folder if you prefer.
- Resync the project & run your newly created task (under the development folder in gradle tasks!)
Iris 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
.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
215 MiB
0 Stars
1 Watchers
0 Forks
Languages
Java
99.6%
JavaScript
0.4%