StrangeOne101 12b4c27468
Object Command & Entity Spawn Changes (#492)
- Redid object paste command
    - Added rotate flag to paste with rotation
    - Added scale flag to paste with scale. Optional interpolation method can be used
    - Changes are now logged and can be reverted with the undo command
    - Fixed edit flag
    - Made the edit flag now update your wand even if it isn't in your hand
- Added object undo command
- Added object check command
- Added a surface target to spawn on for entities. This will fix mobs spawning in water
    - LAND for mobs that spawn on any land surface
    - ANIMAL for mobs that should only spawn on grass and dirt
    - WATER for mobs that should spawn in water
    - OVERWORLD for mobs that can spawn on both land and water (turtles, for example)
    - LAVA for mobs that can spawn on lava (striders, for example)
- Attempted to fix PAPI complaining about registering on the wrong thread
- Fixed console spam for entities (was due to the mount event being called async)
- Fixed grass paths and a few other update breaking blocks
    - Made it so if a block state changes on an update, it will now use as many as the other states as it can rather than not use anything
- Patch to stop people naming the world 'Iris'
2021-08-05 01:32:14 +12:00
2021-07-16 02:25:35 -04:00
2021-07-17 01:00:09 -04:00
2021-06-06 00:24:43 -04:00
V+
2021-08-04 02:24:11 -04:00
2021-07-16 02:25:35 -04:00
2021-07-16 02:25:35 -04:00
2021-06-06 00:24:43 -04:00
2021-03-13 13:09:57 -08:00
2021-03-13 13:09:57 -08:00
2021-07-17 00:36:16 -04:00
2021-03-13 13:09:57 -08:00
2021-06-06 00:24:43 -04:00
2021-07-16 02:25:35 -04:00
2021-08-02 20:25:00 -04:00
2021-07-20 11:36:44 -04:00
2021-07-14 15:40:01 -04:00
2021-03-13 13:09:57 -08:00

Iris

For 1.16 and below, see the 1.14-1.16 branch. The master branch is for the latest version of minecraft.

Support | Documentation **

|** Git

Iris Toolbelt

Everyone needs a toolbelt.

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();
Languages
Java 99.9%