Orestack API

Maven Dependency

circle-info

Compatible with Orestack v3.44.0+

<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

https://www.javadoc.io/doc/io.github.pigaut.orestack.api/OrestackAPI/latest/io/github/pigaut/orestack/api/event/package-summary.htmlarrow-up-right

Last updated