You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: fastasyncworldedit/API/fill-region-by-pattern.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,16 +3,16 @@
3
3
## Foreword
4
4
First of all, patterns usually come from the core part of WorldEdit or FAWE. You can find all existing patterns [here](https://intellectualsites.github.io/fastasyncworldedit-javadocs/worldedit-core/com/sk89q/worldedit/function/pattern/Pattern.html)
5
5
6
-
## Chess Pattern example
6
+
## Checkerboard Pattern example
7
7
Given are 3 things:
8
8
- Position1: X=300, y=-64, z=300
9
9
- Position2: X=600, y=128, z=600
10
10
11
11
{% hint style="danger" %}
12
-
**This code is Fawe specific and can not used in WorldEdit in this way**
12
+
**This code is Fawe specific and can not be used in WorldEdit in this way**
13
13
{% endhint %}
14
14
```java
15
-
publicvoidsetChessArea(World world, BlockVector3 position1, BlockVector3 position 2) {
15
+
publicvoidsetCheckerBoardArea(World world, BlockVector3 position1, BlockVector3 position 2) {
16
16
// Here we must first adapt the world as in the WorldEdit example or translate it into the WorldEdit specialized object.
0 commit comments