mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Regions support for objects
This commit is contained in:
parent
dd4edb8ba5
commit
e7f0ba1982
@ -35,12 +35,12 @@ public class IrisRegion extends IrisRegistrant implements IRare
|
|||||||
@DontObfuscate
|
@DontObfuscate
|
||||||
@Desc("Effects are ambient effects such as potion effects, random sounds, or even particles around each player. All of these effects are played via packets so two players won't see/hear each others effects.\nDue to performance reasons, effects will play arround the player even if where the effect was played is no longer in the biome the player is in.")
|
@Desc("Effects are ambient effects such as potion effects, random sounds, or even particles around each player. All of these effects are played via packets so two players won't see/hear each others effects.\nDue to performance reasons, effects will play arround the player even if where the effect was played is no longer in the biome the player is in.")
|
||||||
private KList<IrisEffect> effects = new KList<>();
|
private KList<IrisEffect> effects = new KList<>();
|
||||||
|
|
||||||
@DontObfuscate
|
@DontObfuscate
|
||||||
@Desc("Entity spawns to override or add to this region")
|
@Desc("Entity spawns to override or add to this region")
|
||||||
@ArrayType(min = 1, type = IrisEntitySpawn.class)
|
@ArrayType(min = 1, type = IrisEntitySpawn.class)
|
||||||
private KList<IrisEntitySpawn> entitySpawns = new KList<>();
|
private KList<IrisEntitySpawn> entitySpawns = new KList<>();
|
||||||
|
|
||||||
@MinNumber(1)
|
@MinNumber(1)
|
||||||
@MaxNumber(256)
|
@MaxNumber(256)
|
||||||
@DontObfuscate
|
@DontObfuscate
|
||||||
@ -63,6 +63,11 @@ public class IrisRegion extends IrisRegistrant implements IRare
|
|||||||
@Desc("The shore ration (How much percent of land should be a shore)")
|
@Desc("The shore ration (How much percent of land should be a shore)")
|
||||||
private double shoreRatio = 0.13;
|
private double shoreRatio = 0.13;
|
||||||
|
|
||||||
|
@ArrayType(min = 1, type = IrisObjectPlacement.class)
|
||||||
|
@DontObfuscate
|
||||||
|
@Desc("Objects define what schematics (iob files) iris will place in this region")
|
||||||
|
private KList<IrisObjectPlacement> objects = new KList<IrisObjectPlacement>();
|
||||||
|
|
||||||
@MinNumber(0)
|
@MinNumber(0)
|
||||||
@DontObfuscate
|
@DontObfuscate
|
||||||
@Desc("The min shore height")
|
@Desc("The min shore height")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user