Class ResourceManager
- java.lang.Object
-
- io.github.thebusybiscuit.slimefun4.api.geo.ResourceManager
-
public class ResourceManager extends Object
TheResourceManager
is responsible for registering and managing aGEOResource
. You have to use theResourceManager
if you want to generate or consume aGEOResource
too.- Author:
- TheBusyBiscuit
- See Also:
GEOResource
,GEOMiner
,GEOScanner
-
-
Constructor Summary
Constructors Constructor Description ResourceManager(SlimefunPlugin plugin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OptionalInt
getSupplies(GEOResource resource, World world, int x, int z)
void
scan(Player p, Block block)
void
setSupplies(GEOResource resource, World world, int x, int z, int value)
-
-
-
Constructor Detail
-
ResourceManager
public ResourceManager(SlimefunPlugin plugin)
-
-
Method Detail
-
getSupplies
public OptionalInt getSupplies(GEOResource resource, World world, int x, int z)
-
setSupplies
public void setSupplies(GEOResource resource, World world, int x, int z, int value)
-
-