File tree Expand file tree Collapse file tree 3 files changed +128
-128
lines changed 
kubejs/server_scripts/mods/geore Expand file tree Collapse file tree 3 files changed +128
-128
lines changed Original file line number Diff line number Diff line change 1- // Geo Ore Storage Block to Shard Shapeless Recipe 
2- ServerEvents . recipes ( ( event )  =>  { 
3-   const  geoOres  =  [ 
4-     "coal" , 
5-     "copper" , 
6-     "diamond" , 
7-     "emerald" , 
8-     "gold" , 
9-     "iron" , 
10-     "lapis" , 
11-     "quartz" , 
12-     "redstone" , 
13-     "ancient_debris" , 
14-     "ruby" , 
15-     "sapphire" , 
16-     "topaz" , 
17-     "zinc" , 
18-     "uraninite" , 
19-     "black_quartz" , 
20-     "aluminum" , 
21-     "lead" , 
22-     "nickel" , 
23-     "osmium" , 
24-     "platinum" , 
25-     "silver" , 
26-     "tin" , 
27-     "uranium" , 
28- 	 "allthemodium" , 
29- 	 "vibranium" , 
30- 	 "unobtainium" 
31-   ] 
32- 
33-   geoOres . forEach ( ( name )  =>  { 
34-     event 
35-       . shapeless ( Item . of ( `geore:${ name }  _shard` ,  4 ) ,  [ Item . of ( `geore:${ name }  _block` ) ] ) 
36-       . id ( `allthemods:geoore/shapeless/${ name }  _block` ) 
37-   } ) 
38- } ) 
1+ // Geo Ore Storage Block to Shard Shapeless Recipe 
2+ ServerEvents . recipes ( ( event )  =>  { 
3+   const  geoOres  =  [ 
4+     "coal" , 
5+     "copper" , 
6+     "diamond" , 
7+     "emerald" , 
8+     "gold" , 
9+     "iron" , 
10+     "lapis" , 
11+     "quartz" , 
12+     "redstone" , 
13+     "ancient_debris" , 
14+     "ruby" , 
15+     "sapphire" , 
16+     "topaz" , 
17+     "zinc" , 
18+     "uraninite" , 
19+     "black_quartz" , 
20+     "aluminum" , 
21+     "lead" , 
22+     "nickel" , 
23+     "osmium" , 
24+     "platinum" , 
25+     "silver" , 
26+     "tin" , 
27+     "uranium" , 
28+      "allthemodium" , 
29+      "vibranium" , 
30+      "unobtainium" 
31+   ] 
32+ 
33+   geoOres . forEach ( ( name )  =>  { 
34+     event 
35+       . shapeless ( Item . of ( `geore:${ name }  _shard` ,  4 ) ,  [ Item . of ( `geore:${ name }  _block` ) ] ) 
36+       . id ( `allthemods:geoore/shapeless/${ name }  _block` ) 
37+   } ) 
38+ } ) 
Original file line number Diff line number Diff line change 1- ServerEvents . generateData ( "after_mods" ,  ( allthemods )  =>  { 
2-   for  ( let  id  of  [ 
3-     "iron" , 
4-     "gold" , 
5-     "copper" , 
6-     "zinc" , 
7-     "uranium" , 
8-     "tin" , 
9-     "silver" , 
10-     "platinum" , 
11-     "osmium" , 
12-     "aluminum" , 
13-     "lead" , 
14-     "nickel" , 
15-     "coal" , 
16-     "diamond" , 
17-     "emerald" , 
18-     "lapis" , 
19-     "quartz" , 
20-     "redstone" , 
21-     "ancient_debris" , 
22-     "sapphire" , 
23-     "ruby" , 
24-     "topaz" , 
25-     "uraninite" , 
26-     "black_quartz" , 
27- 	 "allthemodium" , 
28- 	 "vibranium" , 
29- 	 "unobtainium" 
30-   ] )  { 
31-     allthemods . json ( `geore:loot_table/blocks/budding_${ id }  .json` ,  { 
32-       type : "minecraft:block" , 
33-       pools : [ 
34-         { 
35-           bonus_rolls : 0.0 , 
36-           conditions : [ 
37-             { 
38-               condition : "minecraft:survives_explosion" 
39-             } 
40-           ] , 
41-           entries : [ 
42-             { 
43-               type : "minecraft:item" , 
44-               name : "geore:budding_"  +  id 
45-             } 
46-           ] , 
47-           rolls : 1.0 
48-         } 
49-       ] , 
50-       random_sequence : "geore:blocks/budding_"  +  id 
51-     } ) 
52-   } 
53- } ) 
1+ ServerEvents . generateData ( "after_mods" ,  ( allthemods )  =>  { 
2+   for  ( let  id  of  [ 
3+     "iron" , 
4+     "gold" , 
5+     "copper" , 
6+     "zinc" , 
7+     "uranium" , 
8+     "tin" , 
9+     "silver" , 
10+     "platinum" , 
11+     "osmium" , 
12+     "aluminum" , 
13+     "lead" , 
14+     "nickel" , 
15+     "coal" , 
16+     "diamond" , 
17+     "emerald" , 
18+     "lapis" , 
19+     "quartz" , 
20+     "redstone" , 
21+     "ancient_debris" , 
22+     "sapphire" , 
23+     "ruby" , 
24+     "topaz" , 
25+     "uraninite" , 
26+     "black_quartz" , 
27+      "allthemodium" , 
28+      "vibranium" , 
29+      "unobtainium" 
30+   ] )  { 
31+     allthemods . json ( `geore:loot_table/blocks/budding_${ id }  .json` ,  { 
32+       type : "minecraft:block" , 
33+       pools : [ 
34+         { 
35+           bonus_rolls : 0.0 , 
36+           conditions : [ 
37+             { 
38+               condition : "minecraft:survives_explosion" 
39+             } 
40+           ] , 
41+           entries : [ 
42+             { 
43+               type : "minecraft:item" , 
44+               name : "geore:budding_"  +  id 
45+             } 
46+           ] , 
47+           rolls : 1.0 
48+         } 
49+       ] , 
50+       random_sequence : "geore:blocks/budding_"  +  id 
51+     } ) 
52+   } 
53+ } ) 
Original file line number Diff line number Diff line change 1- LootJS . modifiers ( ( allthemods )  =>  { 
2-   const  materials  =  [ 
3-     "coal" , 
4-     "lapis" , 
5-     "copper" , 
6-     "iron" , 
7-     "gold" , 
8-     "redstone" , 
9-     "diamond" , 
10-     "emerald" , 
11-     "platinum" , 
12-     "ancient_debris" , 
13-     "quartz" , 
14-     "tin" , 
15-     "uraninite" , 
16-     "uranium" , 
17-     "zinc" , 
18-     "nickel" , 
19-     "ruby" , 
20-     "topaz" , 
21-     "sapphire" , 
22-     "silver" , 
23-     "black_quartz" , 
24-     "lead" , 
25-     "aluminum" , 
26-     "osmium" , 
27- 	 "allthemodium" , 
28- 	 "vibranium" , 
29- 	 "unobtainium" 
30-   ] 
31- 
32-   for  ( const  resource  of  materials )  { 
33-     allthemods . addBlockModifier ( `geore:small_${ resource }  _bud` ) . addLoot ( LootEntry . of ( "exdeorum:stone_pebble" ) ) 
34-     allthemods . addBlockModifier ( `geore:medium_${ resource }  _bud` ) . addLoot ( LootEntry . of ( "exdeorum:stone_pebble" ) ) 
35-     allthemods . addBlockModifier ( `geore:large_${ resource }  _bud` ) . addLoot ( LootEntry . of ( "exdeorum:stone_pebble" ) ) 
36-   } 
37- } ) 
1+ LootJS . modifiers ( ( allthemods )  =>  { 
2+   const  materials  =  [ 
3+     "coal" , 
4+     "lapis" , 
5+     "copper" , 
6+     "iron" , 
7+     "gold" , 
8+     "redstone" , 
9+     "diamond" , 
10+     "emerald" , 
11+     "platinum" , 
12+     "ancient_debris" , 
13+     "quartz" , 
14+     "tin" , 
15+     "uraninite" , 
16+     "uranium" , 
17+     "zinc" , 
18+     "nickel" , 
19+     "ruby" , 
20+     "topaz" , 
21+     "sapphire" , 
22+     "silver" , 
23+     "black_quartz" , 
24+     "lead" , 
25+     "aluminum" , 
26+     "osmium" , 
27+      "allthemodium" , 
28+      "vibranium" , 
29+      "unobtainium" 
30+   ] 
31+ 
32+   for  ( const  resource  of  materials )  { 
33+     allthemods . addBlockModifier ( `geore:small_${ resource }  _bud` ) . addLoot ( LootEntry . of ( "exdeorum:stone_pebble" ) ) 
34+     allthemods . addBlockModifier ( `geore:medium_${ resource }  _bud` ) . addLoot ( LootEntry . of ( "exdeorum:stone_pebble" ) ) 
35+     allthemods . addBlockModifier ( `geore:large_${ resource }  _bud` ) . addLoot ( LootEntry . of ( "exdeorum:stone_pebble" ) ) 
36+   } 
37+ } ) 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments