Add entity, biome, and mask flags to clipboard brush.

This commit is contained in:
wizjany
2019-04-25 20:48:15 -04:00
committed by Matthew Miller
parent 31a8328fb5
commit 648ecf2153
5 changed files with 36 additions and 14 deletions

View File

@ -83,6 +83,10 @@ public class PasteBuilder {
* @return this builder instance
*/
public PasteBuilder maskSource(Mask sourceMask) {
if (sourceMask == null) {
this.sourceMask = Masks.alwaysTrue();
return this;
}
this.sourceMask = sourceMask;
return this;
}