mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-21 20:52:22 +00:00
Localization and refactoring (#77)
* Some refactoring for bee production * Code cleanup * Code cleanup * Added some localization * Fix wrong dropped class * Added some localization * Added some localization * Added some localization * Fix wrong import
This commit is contained in:
1 parent
68bbe7710c
commit
1ea7b62e5f
157 files changed
+3240
-5045
No files matched your search
@@ -0,0 +1,16 @@
|
||||
package binnie.genetics.machine.genepool;
|
||||
|
||||
import binnie.core.machines.inventory.TankValidator;
|
||||
import net.minecraftforge.fluids.FluidStack;
|
||||
|
||||
class EthanolTankValidator extends TankValidator {
|
||||
@Override
|
||||
public String getTooltip() {
|
||||
return "Ethanol";
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isValid(FluidStack liquid) {
|
||||
return liquid.getFluid().getName().equals("bioethanol");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user