@@ -44,12 +44,44 @@ ServerEvents.recipes((allthemods) => {
4444   * @param  {number } depthMax 
4545   * @param  {number } weight 
4646   */ 
47-   function  laserDrillFluid ( output ,  entity ,   catalyst ,  depthMin ,  depthMax ,  weight )  { 
47+   function  laserDrillFluid ( output ,  catalyst ,  depthMin ,  depthMax ,  weight )  { 
4848    allthemods 
4949      . custom ( { 
5050        type : "industrialforegoing:laser_drill_fluid" , 
5151        output : output , 
52-         entity : entity  ||  "minecraft:empty" , 
52+         rarity : [ 
53+           { 
54+             biome_filter : { 
55+               whitelist : [ ] , 
56+               blacklist : [ ] 
57+             } , 
58+             dimension_filter : { 
59+               whitelist : [ ] , 
60+               blacklist : [ ] 
61+             } , 
62+             depth_min : depthMin , 
63+             depth_max : depthMax , 
64+             weight : weight 
65+           } 
66+         ] , 
67+         catalyst : { 
68+           item : catalyst 
69+         } 
70+       } ) 
71+       . id ( `allthemods:industrialforegoing/laser_drill_fluid/${ output . fluid . split ( ":" ) [ 1 ] }  ` ) 
72+   } 
73+   function  laserDrillFluidWithEntity ( output ,  entity ,  catalyst ,  depthMin ,  depthMax ,  weight )  { 
74+     allthemods 
75+       . custom ( { 
76+         type : "industrialforegoing:laser_drill_fluid" , 
77+         output : output , 
78+ 		entity_data : { 
79+ 			data : { } , 
80+ 			display : "" , 
81+ 			entity : { 
82+ 			type : entity 
83+ 			} 
84+ 		} , 
5385        rarity : [ 
5486          { 
5587            biome_filter : { 
@@ -74,7 +106,7 @@ ServerEvents.recipes((allthemods) => {
74106
75107  laserDrillOre ( {  tag : "c:gems/benitoite" ,  count : 8  } ,  "industrialforegoing:blue_laser_lens" ,  5 ,  256 ,  5 ) 
76108
77-   laserDrillFluid ( 
109+   laserDrillFluidWithEntity ( 
78110    {  fluid : "allthemodium:soul_lava" ,  amount : 10  } , 
79111    "minecraft:warden" , 
80112    "industrialforegoing:blue_laser_lens" , 
@@ -85,7 +117,6 @@ ServerEvents.recipes((allthemods) => {
85117
86118  laserDrillFluid ( 
87119    {  fluid : "pneumaticcraft:oil" ,  amount : 50  } , 
88-     "minecraft:empty" , 
89120    "industrialforegoing:black_laser_lens" , 
90121    20 , 
91122    60 , 
0 commit comments