-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: move a lot of methods to visibility modifier (#299)
- Loading branch information
1 parent
bb07555
commit 1b8eb9a
Showing
8 changed files
with
124 additions
and
24 deletions.
There are no files selected for viewing
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
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
6 changes: 0 additions & 6 deletions
6
src/main/java/minevalley/core/api/regions/utils/FakeBlock.java
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package minevalley.core.api.utils; | ||
|
||
import minevalley.core.api.modifiers.VisibilityModifier; | ||
import org.bukkit.Material; | ||
import org.bukkit.block.Block; | ||
|
||
import javax.annotation.Nonnull; | ||
|
||
@SuppressWarnings("unused") | ||
public interface FakeBlock extends VisibilityModifier { | ||
|
||
/** | ||
* Get the block this fake block is placed on | ||
* | ||
* @return the block this fake block is placed on | ||
*/ | ||
@Nonnull | ||
Block getBlock(); | ||
|
||
/** | ||
* Get the material of this fake block | ||
* | ||
* @return the material of this fake block | ||
*/ | ||
@Nonnull | ||
Material getMaterial(); | ||
} |
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