Skip to content

Commit e8d7387

Browse files
committed
Fix some typos and correct some wordings
1 parent 967d871 commit e8d7387

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

fastasyncworldedit/API/fill-region-by-pattern.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
## Foreword
44
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)
55

6-
## Chess Pattern example
6+
## Checkerboard Pattern example
77
Given are 3 things:
88
- Position1: X=300, y=-64, z=300
99
- Position2: X=600, y=128, z=600
1010

1111
{% 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**
1313
{% endhint %}
1414
```java
15-
public void setChessArea(World world, BlockVector3 position1, BlockVector3 position 2) {
15+
public void setCheckerBoardArea(World world, BlockVector3 position1, BlockVector3 position 2) {
1616
// Here we must first adapt the world as in the WorldEdit example or translate it into the WorldEdit specialized object.
1717
World faweWorld = BukkitAdapter.adapt(world);
1818

@@ -35,7 +35,7 @@ public void call() {
3535
BlockVector3 position1 = BlockVector3.at(300, -64, 300);
3636
BlockVector3 position2 = BlockVector3.at(600, 128, 600);
3737
World bukkitWorld = Bukkit.getWorld("world");
38-
setChessArea(bukkitWorld, position1, position2);
38+
setCheckerBoardArea(bukkitWorld, position1, position2);
3939
}
4040
```
4141

@@ -50,6 +50,9 @@ Given are 3 things:
5050
- Position2: X=600, y=128, z=600
5151
- BiomeType: Badlands
5252

53+
{% hint style="danger" %}
54+
**This code is Fawe specific and can not be used in WorldEdit in this way**
55+
{% endhint %}
5356
```java
5457
public void setBiomeArea(World world, BlockVector3 position1, BlockVector3 position 2) {
5558
// Here we must first adapt the world as in the WorldEdit example or translate it into the WorldEdit specialized object.
@@ -77,9 +80,8 @@ public void call() {
7780
setBiomeArea(bukkitWorld, position1, position2);
7881
}
7982
```
80-
_This code is still Fawe unspecific and can also be used in WorldEdit in this way_
8183

82-
### Let's set blocks async with FAWE
84+
## Let's set blocks async with FAWE
8385

8486
Now we run the code Async to let Fawe manage server resources:
8587
```java

0 commit comments

Comments
 (0)