TestBlockPaste-Without-Water #146
@ -142,9 +142,7 @@ public class FlatteningWrapper15 implements FlatteningWrapper {
|
||||
if (pasteOptions.getColor() != Color.YELLOW) {
|
||||
changeColor(clipboard, pasteOptions.getColor());
|
||||
}
|
||||
e.setMask(new Mask() {
|
||||
@Override
|
||||
public boolean test(BlockVector3 blockVector3) {
|
||||
|
||||
Set<String> blocks = new HashSet<>();
|
||||
if (pasteOptions.isOnlyColors()) {
|
||||
blocks.add("minecraft:" + pasteOptions.getColor().name().toLowerCase() + "_wool");
|
||||
@ -156,7 +154,9 @@ public class FlatteningWrapper15 implements FlatteningWrapper {
|
||||
blocks.add("minecraft:" + pasteOptions.getColor().name().toLowerCase() + "_concrete_powder");
|
||||
blocks.add("minecraft:" + pasteOptions.getColor().name().toLowerCase() + "_carpet");
|
||||
}
|
||||
|
||||
e.setMask(new Mask() {
|
||||
@Override
|
||||
public boolean test(BlockVector3 blockVector3) {
|
||||
BaseBlock block = clipboard.getFullBlock(blockVector3);
|
||||
String blockName = block.toString().toLowerCase();
|
||||
return !blockName.equals("minecraft:water") || blocks.contains(blockName);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren