Merge branch 'main' of https://github.com/sainagh/meatballcraft into tooltips-and-more

This commit is contained in:
ZHAY10086
2024-10-23 08:57:18 +08:00
5000 changed files with 257217 additions and 10082 deletions
@@ -0,0 +1,27 @@
#modloaded randomtweaker
#priority -10
#reloadable
import mods.jei.JEI;
import mods.randomtweaker.jei.IJeiPanel;
import mods.randomtweaker.jei.IJeiUtils;
var rubbercollectionJEI as IJeiPanel = JEI.createJei("betweenlands_rubber", "Rubber Collection");
rubbercollectionJEI.setModid("The Betweenlands");
rubbercollectionJEI.setIcon(<thebetweenlands:sapling_rubber>);
rubbercollectionJEI.addRecipeCatalyst(<thebetweenlands:sapling_rubber>);
rubbercollectionJEI.setBackground(IJeiUtils.createBackground(150, 85));
rubbercollectionJEI.addSlot(IJeiUtils.createItemSlot(40, 25, true)); // input
rubbercollectionJEI.addSlot(IJeiUtils.createItemSlot(40, 50, true)); // catalyst input
rubbercollectionJEI.addElement(IJeiUtils.createImageElement("rightclick", 65, 6, 16, 16, 0, 0, "contenttweaker:textures/gui/mouse_right.png", 16, 16));
rubbercollectionJEI.addSlot(IJeiUtils.createItemSlot(95, 25, false)); // main output
rubbercollectionJEI.addElement(IJeiUtils.createArrowElement(64, 30, 0));
rubbercollectionJEI.register();
val catalyzationchamber1 = JEI.createJeiRecipe("betweenlands_rubber");
catalyzationchamber1.addInput(<thebetweenlands:bl_bucket>);
catalyzationchamber1.addInput(<thebetweenlands:sapling_rubber>);
catalyzationchamber1.setOutputs([<thebetweenlands:bl_bucket_rubber>.withTag({})]);
catalyzationchamber1.build();
@@ -69,7 +69,7 @@ catalyzationchamber8.build();
val catalyzationchamber9 = JEI.createJeiRecipe("catalyzation_chamber");
catalyzationchamber9.addInput(<thaumicwonders:alienist_stone>);
catalyzationchamber9.addInput(<ore:oreVoidMetal>);
catalyzationchamber9.addInput(<thaumcraft:void_seed>);
catalyzationchamber9.setOutputs([<thaumicwonders:eldritch_cluster:8>]);
catalyzationchamber9.build();
@@ -0,0 +1,83 @@
#modloaded randomtweaker
#priority -10
#reloadable
import mods.jei.JEI;
import mods.randomtweaker.jei.IJeiPanel;
import mods.randomtweaker.jei.IJeiUtils;
var compressedcobblestoneJEI as IJeiPanel = JEI.createJei("compressed_cobblestone", "Cobblestone Compression");
compressedcobblestoneJEI.setModid("Nuclearcraft");
compressedcobblestoneJEI.setIcon(<nuclearcraft:cobblestone_generator_dense>);
compressedcobblestoneJEI.addRecipeCatalyst(<nuclearcraft:cobblestone_generator>);
compressedcobblestoneJEI.addRecipeCatalyst(<nuclearcraft:cobblestone_generator_compact>);
compressedcobblestoneJEI.addRecipeCatalyst(<nuclearcraft:cobblestone_generator_dense>);
compressedcobblestoneJEI.setBackground(IJeiUtils.createBackground(150, 175));
// initial level
compressedcobblestoneJEI.addSlot(IJeiUtils.createItemSlot(40, 25, true));
compressedcobblestoneJEI.addSlot(IJeiUtils.createItemSlot(95, 25, false));
compressedcobblestoneJEI.addElement(IJeiUtils.createArrowElement(64, 25, 0));
// first compression
compressedcobblestoneJEI.addSlot(IJeiUtils.createItemSlot(40, 50, true));
compressedcobblestoneJEI.addSlot(IJeiUtils.createItemSlot(95, 50, false));
compressedcobblestoneJEI.addSlot(IJeiUtils.createItemSlot(120, 50, false));
compressedcobblestoneJEI.addElement(IJeiUtils.createArrowElement(64, 50, 0));
// second compression
compressedcobblestoneJEI.addSlot(IJeiUtils.createItemSlot(40, 75, true));
compressedcobblestoneJEI.addSlot(IJeiUtils.createItemSlot(95, 75, false));
compressedcobblestoneJEI.addSlot(IJeiUtils.createItemSlot(120, 75, false));
compressedcobblestoneJEI.addElement(IJeiUtils.createArrowElement(64, 75, 0));
// third compression
compressedcobblestoneJEI.addSlot(IJeiUtils.createItemSlot(40, 100, true));
compressedcobblestoneJEI.addSlot(IJeiUtils.createItemSlot(95, 100, false));
compressedcobblestoneJEI.addSlot(IJeiUtils.createItemSlot(120, 100, false));
compressedcobblestoneJEI.addElement(IJeiUtils.createArrowElement(64, 100, 0));
// fourth compression
compressedcobblestoneJEI.addSlot(IJeiUtils.createItemSlot(40, 125, true));
compressedcobblestoneJEI.addSlot(IJeiUtils.createItemSlot(95, 125, false));
compressedcobblestoneJEI.addSlot(IJeiUtils.createItemSlot(120, 125, false));
compressedcobblestoneJEI.addElement(IJeiUtils.createArrowElement(64, 125, 0));
compressedcobblestoneJEI.register();
val compressedcobble1 = JEI.createJeiRecipe("compressed_cobblestone");
compressedcobble1.addInput(<nuclearcraft:cobblestone_generator_dense>);
compressedcobble1.addInput(<storagedrawers:compdrawers>);
compressedcobble1.addInput(<storagedrawers:compdrawers>);
compressedcobble1.addInput(<storagedrawers:compdrawers>);
compressedcobble1.addInput(<storagedrawers:compdrawers>);
compressedcobble1.setOutputs([<minecraft:cobblestone>,
<extrautils2:compressedcobblestone:0>, <extrautils2:compressedcobblestone:1>,
<extrautils2:compressedcobblestone:2>, <extrautils2:compressedcobblestone:3>,
<extrautils2:compressedcobblestone:4>, <extrautils2:compressedcobblestone:5>,
<extrautils2:compressedcobblestone:6>, <extrautils2:compressedcobblestone:7>]);
compressedcobble1.build();
val compressedcobble2 = JEI.createJeiRecipe("compressed_cobblestone");
compressedcobble2.addInput(<nuclearcraft:cobblestone_generator_compact>);
compressedcobble2.addInput(<storagedrawers:compdrawers>);
compressedcobble2.addInput(<storagedrawers:compdrawers>);
compressedcobble2.addInput(<storagedrawers:compdrawers>);
compressedcobble2.addInput(<storagedrawers:compdrawers>);
compressedcobble2.setOutputs([<minecraft:cobblestone>,
<extrautils2:compressedcobblestone:0>, <extrautils2:compressedcobblestone:1>,
<extrautils2:compressedcobblestone:2>, <extrautils2:compressedcobblestone:3>,
<extrautils2:compressedcobblestone:4>, <extrautils2:compressedcobblestone:5>,
<extrautils2:compressedcobblestone:6>, <extrautils2:compressedcobblestone:7>]);
compressedcobble2.build();
val compressedcobble3 = JEI.createJeiRecipe("compressed_cobblestone");
compressedcobble3.addInput(<nuclearcraft:cobblestone_generator>);
compressedcobble3.addInput(<storagedrawers:compdrawers>);
compressedcobble3.addInput(<storagedrawers:compdrawers>);
compressedcobble3.addInput(<storagedrawers:compdrawers>);
compressedcobble3.addInput(<storagedrawers:compdrawers>);
compressedcobble3.setOutputs([<minecraft:cobblestone>,
<extrautils2:compressedcobblestone:0>, <extrautils2:compressedcobblestone:1>,
<extrautils2:compressedcobblestone:2>, <extrautils2:compressedcobblestone:3>,
<extrautils2:compressedcobblestone:4>, <extrautils2:compressedcobblestone:5>,
<extrautils2:compressedcobblestone:6>, <extrautils2:compressedcobblestone:7>]);
compressedcobble3.build();
+36
View File
@@ -0,0 +1,36 @@
#modloaded randomtweaker
#priority -10
#reloadable
import mods.jei.JEI;
import mods.randomtweaker.jei.IJeiPanel;
import mods.randomtweaker.jei.IJeiUtils;
var draconicboomJEI as IJeiPanel = JEI.createJei("draconic_alchemy", "Boom Boom");
draconicboomJEI.setModid("Draconic Alchemy");
draconicboomJEI.setIcon(<draconicevolution:reactor_core>);
draconicboomJEI.addRecipeCatalyst(<draconicevolution:reactor_core>);
draconicboomJEI.setBackground(IJeiUtils.createBackground(150, 55));
draconicboomJEI.addSlot(IJeiUtils.createItemSlot(40, 25, true)); // input
draconicboomJEI.addSlot(IJeiUtils.createItemSlot(95, 25, false)); // output
draconicboomJEI.addElement(IJeiUtils.createArrowElement(64, 25, 0));
draconicboomJEI.addElement(IJeiUtils.createImageElement("nuclearboom", 68, 6, 16, 16, 0, 0, "contenttweaker:textures/gui/nuclearicon.png", 16, 16));
draconicboomJEI.onTooltip(function(mouseX, mouseY) as string[]{
if (mouseX <= 81 && mouseX >= 68 && mouseY <= 22 && mouseY >= 6) {
return ["What is this and how do I make it explode"];
}
return [];
});
draconicboomJEI.register();
val draconicboom1 = JEI.createJeiRecipe("draconic_alchemy");
draconicboom1.addInput(<draconicevolution:draconium_block:0>);
draconicboom1.setOutputs([<draconicevolution:draconium_block:1>]);
draconicboom1.build();
val draconicboom2 = JEI.createJeiRecipe("draconic_alchemy");
draconicboom2.addInput(<aoa3:ancient_rock>);
draconicboom2.setOutputs([<bnkrblks:megelium_stone>]);
draconicboom2.build();
@@ -17,7 +17,7 @@ entangledsingularity.addSlot(IJeiUtils.createItemSlot(95, 50, false)); // main o
entangledsingularity.addElement(IJeiUtils.createArrowElement(64, 50, 0));
entangledsingularity.addElement(IJeiUtils.createImageElement("explosion", 68, 25, 16, 16, 0, 0, "contenttweaker:textures/gui/explosion.png", 16, 16));
entangledsingularity.onTooltip(function(mouseX, mouseY) as string[]{
if (mouseX <= 81 && mouseX >= 68 && mouseY <= 22 && mouseY >= 6) {
if (mouseX <= 81 && mouseX >= 55 && mouseY <= 25 && mouseY >= 10) {
return ["扔出所需物品,然后进行爆炸!"];
}
return [];
@@ -0,0 +1,31 @@
#modloaded randomtweaker
#priority -10
#reloadable
import mods.jei.JEI;
import mods.randomtweaker.jei.IJeiPanel;
import mods.randomtweaker.jei.IJeiUtils;
var foregoingsludgeJEI as IJeiPanel = JEI.createJei("foregoing_plant_gatherer", "Plant Gatherer");
foregoingsludgeJEI.setModid("Industrial Foregoing");
foregoingsludgeJEI.setIcon(<industrialforegoing:crop_recolector>);
foregoingsludgeJEI.addRecipeCatalyst(<industrialforegoing:crop_recolector>);
foregoingsludgeJEI.setBackground(IJeiUtils.createBackground(150, 55));
foregoingsludgeJEI.addSlot(IJeiUtils.createItemSlot(40, 25, true)); // input
foregoingsludgeJEI.addSlot(IJeiUtils.createLiquidSlot(95, 25, false)); // output
foregoingsludgeJEI.addElement(IJeiUtils.createArrowElement(64, 25, 0));
foregoingsludgeJEI.addElement(IJeiUtils.createImageElement("plant", 68, 6, 16, 16, 0, 0, "contenttweaker:textures/gui/plant.png", 16, 16));
foregoingsludgeJEI.onTooltip(function(mouseX, mouseY) as string[]{
if (mouseX <= 81 && mouseX >= 68 && mouseY <= 22 && mouseY >= 6) {
return ["Obtained from harvesting any plants"];
}
return [];
});
foregoingsludgeJEI.register();
val foregoingsludge1 = JEI.createJeiRecipe("foregoing_plant_gatherer");
foregoingsludge1.addInput(<industrialforegoing:crop_recolector>);
foregoingsludge1.setOutputs([<fluid:sludge>]);
foregoingsludge1.build();
+40
View File
@@ -0,0 +1,40 @@
#modloaded randomtweaker
#priority -10
#reloadable
import mods.jei.JEI;
import mods.randomtweaker.jei.IJeiPanel;
import mods.randomtweaker.jei.IJeiUtils;
var brewiceworldJEI as IJeiPanel = JEI.createJei("brew_iceworld", "Brew of Iceworld");
brewiceworldJEI.setModid("MeatballCraft");
brewiceworldJEI.setIcon(<bewitchment:perpetual_ice>);
brewiceworldJEI.addRecipeCatalyst(<bewitchment:perpetual_ice>);
brewiceworldJEI.setBackground(IJeiUtils.createBackground(150, 100));
brewiceworldJEI.addSlot(IJeiUtils.createItemSlot(30, 25, true)); // input
brewiceworldJEI.addSlot(IJeiUtils.createItemSlot(30, 50, true)); // input
brewiceworldJEI.addSlot(IJeiUtils.createItemSlot(30, 75, true)); // input
brewiceworldJEI.addSlot(IJeiUtils.createItemSlot(55, 75, true)); // input
brewiceworldJEI.addSlot(IJeiUtils.createItemSlot(55, 25, true)); // input
brewiceworldJEI.onTooltip(function(mouseX, mouseY) as string[]{
if (mouseX <= 60 && mouseX >= 40 && mouseY <= 40 && mouseY >= 60) {
return ["Drop them in order"];
}
return [];
});
brewiceworldJEI.addSlot(IJeiUtils.createItemSlot(85, 50, false)); // main output
brewiceworldJEI.addSlot(IJeiUtils.createItemSlot(110, 50, false)); // main output
brewiceworldJEI.addElement(IJeiUtils.createArrowElement(54, 50, 0));
brewiceworldJEI.register();
val brewiceworld1 = JEI.createJeiRecipe("brew_iceworld");
brewiceworld1.addInput(<bewitchment:mandrake_root>);
brewiceworld1.addInput(<minecraft:ice>);
brewiceworld1.addInput(<minecraft:gunpowder>);
brewiceworld1.addInput(<bewitchment:witches_cauldron>);
brewiceworld1.addInput(<minecraft:glass_bottle>);
brewiceworld1.setOutputs([<minecraft:splash_potion>.withTag({CustomPotionEffects: [{Ambient: 0 as byte, CurativeItems: [{id: "minecraft:milk_bucket", Count: 1, Damage: 0 as short}], ShowParticles: 1 as byte, Duration: 1, Id: 135, Amplifier: 0 as byte}], CustomPotionColor: 1105116, bewitchment_brew: 1 as byte}),
<bewitchment:perpetual_ice>]);
brewiceworld1.build();
@@ -7,7 +7,7 @@ import mods.randomtweaker.jei.IJeiPanel;
import mods.randomtweaker.jei.IJeiUtils;
var primordialacceleratorJEI as IJeiPanel = JEI.createJei("primordial_accelerator", "元始加速器");
primordialacceleratorJEI.setModid("MeatballCraft");
primordialacceleratorJEI.setModid("Bewitchment");
primordialacceleratorJEI.setIcon(<contenttweaker:primordial_accelerator>);
primordialacceleratorJEI.addRecipeCatalyst(<contenttweaker:primordial_accelerator>);
primordialacceleratorJEI.setBackground(IJeiUtils.createBackground(150, 55));
+21 -1
View File
@@ -312,4 +312,24 @@ puzzlefurnaceguy.build();
val puzzleterraformassiflora = JEI.createJeiRecipe("meatball_puzzle");
puzzleterraformassiflora.addInput(<contenttweaker:terraformassiflora>);
puzzleterraformassiflora.setOutputs([<contenttweaker:crown_of_the_energy_queen>]);
puzzleterraformassiflora.build();
puzzleterraformassiflora.build();
val puzzlearbitertomb = JEI.createJeiRecipe("meatball_puzzle");
puzzlearbitertomb.addInput(<contenttweaker:star_of_betrayal>);
puzzlearbitertomb.setOutputs([<contenttweaker:entropic_channeling_stone>]);
puzzlearbitertomb.build();
val puzzleabominationpower = JEI.createJeiRecipe("meatball_puzzle");
puzzleabominationpower.addInput(<contenttweaker:touch_of_the_arbiter>);
puzzleabominationpower.setOutputs([<contenttweaker:abomination_of_true_power>]);
puzzleabominationpower.build();
val puzzlememrestor = JEI.createJeiRecipe("meatball_puzzle");
puzzlememrestor.addInput(<contenttweaker:eldunari>);
puzzlememrestor.setOutputs([<contenttweaker:memory_restoration_ritual>]);
puzzlememrestor.build();
val puzzleruneslib = JEI.createJeiRecipe("meatball_puzzle");
puzzleruneslib.addInput(<contenttweaker:memory_restoration_ritual>);
puzzleruneslib.setOutputs([<contenttweaker:runes_of_liberation>]);
puzzleruneslib.build();
+19
View File
@@ -64,3 +64,22 @@ rightclick8.addInput(<contenttweaker:vibrating_mithminite_schythe>);
rightclick8.setOutputs([<contenttweaker:ichor>]);
rightclick8.build();
val rightclick9 = JEI.createJeiRecipe("right_click_meatball");
rightclick9.addInput(<contenttweaker:entropic_channeling_fabrial>);
rightclick9.setOutputs([<contenttweaker:soul_of_entropy>*4]);
rightclick9.build();
val rightclick10 = JEI.createJeiRecipe("right_click_meatball");
rightclick10.addInput(<contenttweaker:fluix_soul_fabrial>);
rightclick10.setOutputs([<contenttweaker:touch_of_the_arbiter>]);
rightclick10.build();
val rightclick11 = JEI.createJeiRecipe("right_click_meatball");
rightclick11.addInput(<contenttweaker:hymn_of_the_true_tongue>);
rightclick11.setOutputs([<contenttweaker:runes_of_the_true_tongue>]);
rightclick11.build();
val rightclick12 = JEI.createJeiRecipe("right_click_meatball");
rightclick12.addInput(<contenttweaker:call_of_the_arbiter>);
rightclick12.setOutputs([<contenttweaker:scale_of_the_ancient_heart>]);
rightclick12.build();