forked from oitsjustjose/Geolosys
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCraft Tweaker Example.zs
39 lines (34 loc) · 1.49 KB
/
Craft Tweaker Example.zs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import mods.geolosys.ores; /* Import ores module */
import mods.geolosys.stones; /* Import stones module */
/* Let's start by adding an Ore */
/* The arguments are as follow;
- <blockstate>: The ore block
- <blockstate>: The sample block
- int yMin
- int yMax
- int size
- int chance: Higher means more likely; this is out of 100
- int[] dimBlacklist: Array of dimension ID's the ore is NOT allowed in
*/
mods.geolosys.ores.addOre(<blockstate:minecraft:log:variant=spruce>, <blockstate:minecraft:log:variant=oak>, 0, 70, 20, 20, [-1, 1]);
/* Want this ore to only specifically replace certain blocks? Use this command instead */
/* The arguments are as follow;
- <blockstate>: The ore block
- <blockstate>: The sample block
- int yMin
- int yMax
- int size
- int chance: Higher means more likely; this is out of 100
- int[] dimBlacklist: Array of dimension ID's the ore is NOT allowed in
- <blockstate>[]: Array of <blockstates> that the block can replace
*/
mods.geolosys.ores.addOre(<blockstate:minecraft:log:variant=jungle>, <blockstate:minecraft:log:variant=birch>, 23, 32, 10, 20, [-1, 1], [<blockstate:minecraft:stone>]);
/* Want to add a stone for generation? Ok, do that here: */
/* The arguments are as follow:
- <blockstate>: The stone block
- int yMin
- int yMax
- int chance: Higher means more likely; this is out of 100
**SIZE IS FIXED**
*/
mods.geolosys.stones.addStone(<blockstate:minecraft:diamond_block>, 13, 100, 30);