Orestack API
Maven Dependency
<dependency>
<groupId>io.github.pigaut.orestack.api</groupId>
<artifactId>OrestackAPI</artifactId>
<version>1.8</version>
<scope>provided</scope>
</dependency>OrestackAPI class
OrestackAPI orestack = Orestack.getAPI();
orestack.isGenerator("generator_name");
Location location = ...;
orestack.isGenerator(location);
orestack.setGeneratorStage(location, 3);
orestack.regrow(location);
orestack.grow(location);
orestack.grow(location, 2);
orestack.harvest(location);
Player player = ...;
orestack.damage(location, player, 10);
Events
Last updated