mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-19 07:11:02 +00:00
Merge pull request #832 from CocoTheOwner/noWarn
Remove warning on create
This commit is contained in:
@@ -39,6 +39,7 @@ body:
|
|||||||
- 1.17
|
- 1.17
|
||||||
- 1.17.1
|
- 1.17.1
|
||||||
- 1.18
|
- 1.18
|
||||||
|
- 1.19
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: input
|
- type: input
|
||||||
|
|||||||
@@ -78,8 +78,6 @@ public class CommandIris implements DecreeExecutor {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
sender().sendMessage(C.RED + "You should not be using this command to create new worlds. Instead, use the tutorial: https://docs.volmit.com/iris/getting-started");
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
IrisToolbelt.createWorld()
|
IrisToolbelt.createWorld()
|
||||||
.dimension(type.getLoadKey())
|
.dimension(type.getLoadKey())
|
||||||
|
|||||||
@@ -463,7 +463,9 @@ public enum NoiseStyle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public CNG create(RNG seed) {
|
public CNG create(RNG seed) {
|
||||||
return f.create(seed).bake();
|
CNG cng = f.create(seed).bake();
|
||||||
|
cng.setLeakStyle(this);
|
||||||
|
return cng;
|
||||||
}
|
}
|
||||||
|
|
||||||
public IrisGeneratorStyle style() {
|
public IrisGeneratorStyle style() {
|
||||||
|
|||||||
@@ -73,6 +73,7 @@ public class CNG {
|
|||||||
private double up;
|
private double up;
|
||||||
private double down;
|
private double down;
|
||||||
private double power;
|
private double power;
|
||||||
|
private NoiseStyle leakStyle;
|
||||||
private ProceduralStream<Double> customGenerator;
|
private ProceduralStream<Double> customGenerator;
|
||||||
|
|
||||||
public CNG(RNG random) {
|
public CNG(RNG random) {
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ package com.volmit.iris.util.parallel;
|
|||||||
|
|
||||||
import com.volmit.iris.Iris;
|
import com.volmit.iris.Iris;
|
||||||
import com.volmit.iris.util.collection.KList;
|
import com.volmit.iris.util.collection.KList;
|
||||||
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@@ -31,6 +32,7 @@ import java.util.concurrent.Future;
|
|||||||
@SuppressWarnings("ALL")
|
@SuppressWarnings("ALL")
|
||||||
public class BurstExecutor {
|
public class BurstExecutor {
|
||||||
private final ExecutorService executor;
|
private final ExecutorService executor;
|
||||||
|
@Getter
|
||||||
private final KList<Future<?>> futures;
|
private final KList<Future<?>> futures;
|
||||||
@Setter
|
@Setter
|
||||||
private boolean multicore = true;
|
private boolean multicore = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user