Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
c36e6f5d43
Commit
fb4d803d92
@ -30,12 +30,12 @@ import java.util.*;
|
||||
public class CuboidCreator4 implements Iterator<Cuboid> {
|
||||
|
||||
private static final List<Axis[]> AXES = Arrays.asList(
|
||||
new Axis[]{Axis.X, Axis.Y, Axis.Z},
|
||||
// new Axis[]{Axis.X, Axis.Y, Axis.Z},
|
||||
new Axis[]{Axis.X, Axis.Z, Axis.Y},
|
||||
new Axis[]{Axis.Y, Axis.X, Axis.Z},
|
||||
new Axis[]{Axis.Y, Axis.Z, Axis.X},
|
||||
new Axis[]{Axis.Z, Axis.X, Axis.Y},
|
||||
new Axis[]{Axis.Z, Axis.Y, Axis.X}
|
||||
// new Axis[]{Axis.Y, Axis.X, Axis.Z},
|
||||
// new Axis[]{Axis.Y, Axis.Z, Axis.X},
|
||||
new Axis[]{Axis.Z, Axis.X, Axis.Y}
|
||||
// new Axis[]{Axis.Z, Axis.Y, Axis.X}
|
||||
);
|
||||
|
||||
private List<BlockState> invisibleOrder = new ArrayList<>();
|
||||
@ -91,12 +91,13 @@ public class CuboidCreator4 implements Iterator<Cuboid> {
|
||||
expand(currentCuboid, new ArrayList<>(Arrays.asList(axes)), entry.getValue());
|
||||
if (cuboid == null || cuboid.size() < currentCuboid.size()) {
|
||||
cuboid = currentCuboid;
|
||||
if (cuboid.size() >= positions.size()) {
|
||||
if (cuboid.size() >= positions.size() * 0.5) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
if (cuboid.size() >= positions.size()) {
|
||||
if (cuboid.size() >= positions.size() * 0.5) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -33,10 +33,7 @@ import de.steamwar.bausystem.features.cuboid.CuboidClipboard;
|
||||
import de.steamwar.bausystem.features.cuboid.CuboidCreator;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.*;
|
||||
|
||||
public class CSchemWriter implements ClipboardWriter {
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren