-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4971ed1
commit cfa9d70
Showing
6 changed files
with
46 additions
and
39 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
28 changes: 28 additions & 0 deletions
28
src/main/java/moriyashiine/enchancement/common/util/SubmersionGate.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,28 @@ | ||
package moriyashiine.enchancement.common.util; | ||
|
||
public enum SubmersionGate { | ||
ALL(true, true, true), | ||
WATER_ONLY(true, false, false), | ||
LAVA_ONLY(false, true, false), | ||
POWDER_SNOW_ONLY(false, false, true); | ||
|
||
private final boolean allowsWater, allowsLava, allowsPowderSnow; | ||
|
||
SubmersionGate(boolean allowsWater, boolean allowsLava, boolean allowsPowderSnow) { | ||
this.allowsWater = allowsWater; | ||
this.allowsLava = allowsLava; | ||
this.allowsPowderSnow = allowsPowderSnow; | ||
} | ||
|
||
public boolean allowsWater() { | ||
return allowsWater; | ||
} | ||
|
||
public boolean allowsLava() { | ||
return allowsLava; | ||
} | ||
|
||
public boolean allowsPowderSnow() { | ||
return allowsPowderSnow; | ||
} | ||
} |
28 changes: 0 additions & 28 deletions
28
src/main/java/moriyashiine/enchancement/mixin/buoy/EntityMixin.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