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