mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-04 00:46:08 +00:00
Fixes
This commit is contained in:
parent
3fc907e50f
commit
4a1e511262
@ -44,12 +44,7 @@ import lombok.experimental.Accessors;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@Desc("Generate worms")
|
@Desc("Generate worms")
|
||||||
@Data
|
@Data
|
||||||
public class IrisWorm implements IRare {
|
public class IrisWorm {
|
||||||
@Required
|
|
||||||
@Desc("Typically a 1 in RARITY on a per chunk basis")
|
|
||||||
@MinNumber(1)
|
|
||||||
private int rarity = 15;
|
|
||||||
|
|
||||||
@Desc("The style used to determine the curvature of this worm")
|
@Desc("The style used to determine the curvature of this worm")
|
||||||
private IrisGeneratorStyle angleStyle = new IrisGeneratorStyle(NoiseStyle.PERLIN);
|
private IrisGeneratorStyle angleStyle = new IrisGeneratorStyle(NoiseStyle.PERLIN);
|
||||||
|
|
||||||
|
@ -45,6 +45,7 @@ public class WormIterator2 {
|
|||||||
if(worm == null)
|
if(worm == null)
|
||||||
{
|
{
|
||||||
worm = new Worm2(x, z, 0, 0);
|
worm = new Worm2(x, z, 0, 0);
|
||||||
|
return worm;
|
||||||
}
|
}
|
||||||
|
|
||||||
worm.getX().setVelocity(noise.noise(worm.getX().getPosition(), 0));
|
worm.getX().setVelocity(noise.noise(worm.getX().getPosition(), 0));
|
||||||
|
@ -49,6 +49,7 @@ public class WormIterator3 {
|
|||||||
if(worm == null)
|
if(worm == null)
|
||||||
{
|
{
|
||||||
worm = new Worm3(x, y, z, 0, 0, 0);
|
worm = new Worm3(x, y, z, 0, 0, 0);
|
||||||
|
return worm;
|
||||||
}
|
}
|
||||||
|
|
||||||
worm.getX().setVelocity(noise.noise(worm.getX().getPosition(), 0));
|
worm.getX().setVelocity(noise.noise(worm.getX().getPosition(), 0));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user