mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-17 02:55:13 +00:00
25 lines
748 B
Java
25 lines
748 B
Java
package binnie.botany.api.gardening;
|
|
|
|
import binnie.botany.api.EnumAcidity;
|
|
import binnie.botany.api.EnumMoisture;
|
|
import binnie.botany.api.EnumSoilType;
|
|
import net.minecraft.world.World;
|
|
|
|
public interface IBlockSoil {
|
|
EnumAcidity getPH(World world, int x, int y, int z);
|
|
|
|
EnumMoisture getMoisture(World world, int x, int y, int z);
|
|
|
|
EnumSoilType getType(World world, int x, int y, int z);
|
|
|
|
boolean fertilise(World world, int x, int y, int z, EnumSoilType maxLevel);
|
|
|
|
boolean degrade(World world, int x, int y, int z, EnumSoilType minLevel);
|
|
|
|
boolean setPH(World world, int x, int y, int z, EnumAcidity pH);
|
|
|
|
boolean setMoisture(World world, int x, int y, int z, EnumMoisture p4);
|
|
|
|
boolean resistsWeeds(World world, int x, int y, int z);
|
|
}
|