-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into merge-upstream
# Conflicts: # src/main/java/dev/sefiraat/netheopoiesis/Netheopoiesis.java # src/main/java/dev/sefiraat/netheopoiesis/implementation/Groups.java # src/main/java/dev/sefiraat/netheopoiesis/implementation/groups/PurificationFlexGroup.java # src/main/java/dev/sefiraat/netheopoiesis/utils/Theme.java
- Loading branch information
Showing
45 changed files
with
2,242 additions
and
111 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
2 changes: 1 addition & 1 deletion
2
src/main/java/dev/sefiraat/netheopoiesis/api/interfaces/NetherPlant.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
15 changes: 15 additions & 0 deletions
15
src/main/java/dev/sefiraat/netheopoiesis/api/interfaces/SeedPaste.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,15 @@ | ||
package dev.sefiraat.netheopoiesis.api.interfaces; | ||
|
||
import dev.sefiraat.netheopoiesis.api.plant.netheos.FlavourProfile; | ||
|
||
import javax.annotation.Nullable; | ||
|
||
/** | ||
* A SeedPaste item a {@link WorldCrushable} item whose crushed variant can be used for making | ||
* Malvin Cubes | ||
*/ | ||
public interface SeedPaste extends WorldCrushable { | ||
|
||
@Nullable | ||
FlavourProfile getFlavourProfile(); | ||
} |
20 changes: 20 additions & 0 deletions
20
src/main/java/dev/sefiraat/netheopoiesis/api/interfaces/WorldCrushable.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,20 @@ | ||
package dev.sefiraat.netheopoiesis.api.interfaces; | ||
|
||
import org.bukkit.inventory.ItemStack; | ||
|
||
import javax.annotation.Nullable; | ||
|
||
/** | ||
* A WorldCrushable item is one that will be destroyed when crushed by a falling block | ||
* but drop a 'crushed' version of itself. | ||
*/ | ||
public interface WorldCrushable { | ||
|
||
/** | ||
* This is the {@link ItemStack} that should drop when this item is crushed | ||
* | ||
* @return The {@link ItemStack} to drop. | ||
*/ | ||
@Nullable | ||
ItemStack crushingDrop(); | ||
} |
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
Oops, something went wrong.