-
-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
History: Read change positions at once (#2542)
- Loading branch information
Showing
4 changed files
with
52 additions
and
69 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
...it-core/src/main/java/com/fastasyncworldedit/core/history/change/BlockPositionChange.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.fastasyncworldedit.core.history.change; | ||
|
||
import com.sk89q.worldedit.history.change.Change; | ||
import org.jetbrains.annotations.ApiStatus; | ||
|
||
/** | ||
* Represents a change that is associated with {@code (x, y, z)} block coordinates. | ||
* @since TODO | ||
*/ | ||
@ApiStatus.Internal | ||
public sealed abstract class BlockPositionChange implements Change | ||
permits MutableBlockChange, MutableFullBlockChange { | ||
public int x; | ||
public int y; | ||
public int z; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters