forked from GregTechCEu/GregTech
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Various Cleanroom Improvements (GregTechCEu#2480)
- Loading branch information
Showing
7 changed files
with
107 additions
and
40 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package gregtech.api.block; | ||
|
||
import gregtech.api.GTValues; | ||
import gregtech.api.metatileentity.multiblock.CleanroomType; | ||
|
||
import org.jetbrains.annotations.Nullable; | ||
|
||
public interface ICleanroomFilter { | ||
|
||
/** | ||
* @return The {@link CleanroomType} this filter should provide, | ||
* can be <code>null</code> if the block isn't a filter | ||
*/ | ||
@Nullable | ||
CleanroomType getCleanroomType(); | ||
|
||
/** | ||
* @return The "tier" of the filter, for use in JEI previews | ||
*/ | ||
int getTier(); | ||
|
||
/** | ||
* @return The minimum voltage tier a cleanroom with this filter will accept | ||
*/ | ||
default int getMinTier() { | ||
return GTValues.LV; | ||
} | ||
} |
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
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