이름Type
이름
Recipe Name
Type
String

Example:

ZenScript
Copy
// mods.immersivepetroleum.ReservoirRegistry.remove(String recipeName);

mods.immersivepetroleum.ReservoirRegistry.remove("aquifer");
이름Type
이름
Type

Example:

ZenScript
Copy
// mods.immersivepetroleum.ReservoirRegistry.removeAll();

mods.immersivepetroleum.ReservoirRegistry.removeAll();

Reservoir Builder

Link to reservoir-builder

이름Type
이름
Fluid
Type
Fluidstack
이름
Minimum Size
Type
int
이름
Maximum Size
Type
int
이름
Replenish Rate
Type
int
이름
Weight
Type
int

Weight is the Weighted Chance of a chunk containing that specific fluid reservoir. The weight is counted as in X in Total.

So if you have 5 Reservoir values at: 5, 5, 6, 8, 10

Then each respective entry will have a weighted chance of:

Copy
5  in 34
5  in 34
6  in 34
8  in 34
10 in 34

Example:

ZenScript
Copy
// new mods.immersivepetroleum.ReservoirBuilder(IFluidStack fluid, int minSize, int maxSize, int traceAmount, int weight);

new mods.immersivepetroleum.ReservoirBuilder(<fluid:minecraft:lava>, 1000, 5000, 0, 20);
이름Type
이름
Blacklist
Type
Boolean
이름
Dimension Names
Type
String[] array

Example:

ZenScript
Copy
// builderInstance.addDimensions(boolean isBlacklist, String[] dimensionNames);

builderInstance.addDimensions(false, ["minecraft:overworld"]);
이름Type
이름
Blacklist
Type
Boolean
이름
Biome Names
Type
String[] array

Example:

ZenScript
Copy
// builderInstance.addBiomes(boolean isBlacklist, String[] biomeNames);

builderInstance.addBiomes(false, ["minecraft:plains"]);
이름Type
이름
이름
Type
String

The base reservoirs are lowercase as they are translated - custom ones should be properly capitalized (ex. "Deep Ocean Oil Reservoir").

Example:

ZenScript
Copy
// builderInstance.build(String name);

builderInstance.build("Example Name");

Copy/Paste example:

ZenScript
Copy
new ReservoirBuilder(<fluid:minecraft:lava>, 25000, 100000, 0, 20)
    .addDimensions(false, ["overworld"])
    .addBiomes(false, ["minecraft:desert"])
    .build("Desert Lava");