Fix Region_15
Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
731f7baaec
Commit
76fe677c3b
@ -55,8 +55,10 @@ public class Region_15 {
|
|||||||
private static final BaseBlock WOOL = Objects.requireNonNull(BlockTypes.PINK_WOOL).getDefaultState().toBaseBlock();
|
private static final BaseBlock WOOL = Objects.requireNonNull(BlockTypes.PINK_WOOL).getDefaultState().toBaseBlock();
|
||||||
private static final BaseBlock CLAY = Objects.requireNonNull(BlockTypes.PINK_TERRACOTTA).getDefaultState().toBaseBlock();
|
private static final BaseBlock CLAY = Objects.requireNonNull(BlockTypes.PINK_TERRACOTTA).getDefaultState().toBaseBlock();
|
||||||
private static final BaseBlock GLASS = Objects.requireNonNull(BlockTypes.PINK_STAINED_GLASS).getDefaultState().toBaseBlock();
|
private static final BaseBlock GLASS = Objects.requireNonNull(BlockTypes.PINK_STAINED_GLASS).getDefaultState().toBaseBlock();
|
||||||
|
private static final BaseBlock GLASS2 = Objects.requireNonNull(BlockTypes.YELLOW_STAINED_GLASS).getDefaultState().toBaseBlock();
|
||||||
private static final BaseBlock GLASS_PANE = Objects.requireNonNull(BlockTypes.PINK_STAINED_GLASS_PANE).getDefaultState().toBaseBlock();
|
private static final BaseBlock GLASS_PANE = Objects.requireNonNull(BlockTypes.PINK_STAINED_GLASS_PANE).getDefaultState().toBaseBlock();
|
||||||
private static final BaseBlock CONCRETE = Objects.requireNonNull(BlockTypes.PINK_CONCRETE).getDefaultState().toBaseBlock();
|
private static final BaseBlock CONCRETE = Objects.requireNonNull(BlockTypes.PINK_CONCRETE).getDefaultState().toBaseBlock();
|
||||||
|
private static final BaseBlock CONCRETE2 = Objects.requireNonNull(BlockTypes.YELLOW_CONCRETE).getDefaultState().toBaseBlock();
|
||||||
private static final BaseBlock CONCRETE_POWDER = Objects.requireNonNull(BlockTypes.PINK_CONCRETE_POWDER).getDefaultState().toBaseBlock();
|
private static final BaseBlock CONCRETE_POWDER = Objects.requireNonNull(BlockTypes.PINK_CONCRETE_POWDER).getDefaultState().toBaseBlock();
|
||||||
private static final BaseBlock CARPET = Objects.requireNonNull(BlockTypes.PINK_CARPET).getDefaultState().toBaseBlock();
|
private static final BaseBlock CARPET = Objects.requireNonNull(BlockTypes.PINK_CARPET).getDefaultState().toBaseBlock();
|
||||||
|
|
||||||
@ -143,32 +145,22 @@ public class Region_15 {
|
|||||||
clipboard.setBlock(pos, clay);
|
clipboard.setBlock(pos, clay);
|
||||||
} else if (block.equals(GLASS)) {
|
} else if (block.equals(GLASS)) {
|
||||||
clipboard.setBlock(pos, glass);
|
clipboard.setBlock(pos, glass);
|
||||||
|
} else if (block.equals(GLASS2)) {
|
||||||
|
clipboard.setBlock(pos, glass);
|
||||||
} else if (block.equals(GLASS_PANE)) {
|
} else if (block.equals(GLASS_PANE)) {
|
||||||
clipboard.setBlock(pos, glassPane);
|
clipboard.setBlock(pos, glassPane);
|
||||||
} else if (block.equals(CARPET)) {
|
} else if (block.equals(CARPET)) {
|
||||||
clipboard.setBlock(pos, carpet);
|
clipboard.setBlock(pos, carpet);
|
||||||
} else if (block.equals(CONCRETE)) {
|
} else if (block.equals(CONCRETE)) {
|
||||||
clipboard.setBlock(pos, concrete);
|
clipboard.setBlock(pos, concrete);
|
||||||
|
} else if (block.equals(CONCRETE2)) {
|
||||||
|
clipboard.setBlock(pos, concrete);
|
||||||
} else if (block.equals(CONCRETE_POWDER)) {
|
} else if (block.equals(CONCRETE_POWDER)) {
|
||||||
clipboard.setBlock(pos, concretePowder);
|
clipboard.setBlock(pos, concretePowder);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*for (int x = 0; x < clipboard.getDimensions().getX(); x++) {
|
|
||||||
for (int y = 0; y < clipboard.getDimensions().getY(); y++) {
|
|
||||||
for (int z = 0; z < clipboard.getDimensions().getZ(); z++) {
|
|
||||||
BlockVector3 blockPointer = clipboard.getMinimumPoint().add(x, y, z);
|
|
||||||
BaseBlock baseBlock = clipboard.getFullBlock(blockPointer);
|
|
||||||
BlockType blockType = baseBlock.getBlockType();
|
|
||||||
if (blockType != BlockTypes.YELLOW_CONCRETE && blockType != BlockTypes.YELLOW_STAINED_GLASS) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
clipboard.setBlock(blockPointer, RegionUtils_15.mapColor(blockType, color).getDefaultState().toBaseBlock());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean backup(Point minPoint, Point maxPoint, File file) {
|
boolean backup(Point minPoint, Point maxPoint, File file) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren