mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-24 22:04:34 +00:00
Adding new recipes and improve other recipes
This commit is contained in:
1 parent
a20fbbe60f
commit
0c14a85c31
4 files changed
+32
-11
No files matched your search
@@ -55,6 +55,7 @@ import forestry.core.commands.CommandPlugins;
|
||||
import forestry.core.commands.RootCommand;
|
||||
import forestry.core.config.Config;
|
||||
import forestry.core.config.Constants;
|
||||
import forestry.core.fluids.Fluids;
|
||||
import forestry.core.genetics.alleles.AlleleFactory;
|
||||
import forestry.core.genetics.alleles.AlleleHelper;
|
||||
import forestry.core.genetics.alleles.AlleleRegistry;
|
||||
@@ -278,14 +279,28 @@ public class PluginCore extends BlankForestryPlugin {
|
||||
// / WRENCH
|
||||
RecipeUtil.addRecipe(items.wrench, "# #", " # ", " # ", '#', OreDictUtil.INGOT_BRONZE);
|
||||
|
||||
// / CAMOUFLAGE SPRAY CAN
|
||||
RecipeUtil.addRecipe(items.camouflageSprayCan, "TTT", "TCT", "TCT", 'T', OreDictUtil.INGOT_TIN, 'C', items.craftingMaterial.getCamouflagedPaneling());
|
||||
|
||||
if (ForestryAPI.enabledPlugins.contains(ForestryPluginUids.FACTORY)) {
|
||||
// / CARPENTER
|
||||
// Portable ANALYZER
|
||||
RecipeManagers.carpenterManager.addRecipe(100, new FluidStack(FluidRegistry.WATER, 2000), null, PluginCore.items.portableAlyzer.getItemStack(),
|
||||
"X#X", "X#X", "RDR",
|
||||
'#', OreDictUtil.PANE_GLASS,
|
||||
'X', OreDictUtil.INGOT_TIN,
|
||||
'R', OreDictUtil.DUST_REDSTONE,
|
||||
'D', OreDictUtil.GEM_DIAMOND);
|
||||
// Camouflaged Paneling
|
||||
RecipeManagers.carpenterManager.addRecipe(50, Fluids.BIOMASS.getFluid(500), null, PluginCore.items.craftingMaterial.getCamouflagedPaneling(4),
|
||||
"YAR", "B#B", "RPY",
|
||||
'#', OreDictUtil.PLANK_WOOD,
|
||||
'A', OreDictUtil.DUST_ASH,
|
||||
'R', OreDictUtil.DUST_REDSTONE,
|
||||
'P', OreDictUtil.PULP_WOOD,
|
||||
'R', OreDictUtil.DYE_RED,
|
||||
'B', OreDictUtil.DYE_BLUE,
|
||||
'Y', OreDictUtil.DYE_YELLOW);
|
||||
}else{
|
||||
// Portable ANALYZER
|
||||
RecipeUtil.addRecipe(PluginCore.items.portableAlyzer.getItemStack(),
|
||||
@@ -296,6 +311,16 @@ public class PluginCore extends BlankForestryPlugin {
|
||||
'X', OreDictUtil.INGOT_TIN,
|
||||
'R', OreDictUtil.DUST_REDSTONE,
|
||||
'D', OreDictUtil.GEM_DIAMOND);
|
||||
// Camouflaged Paneling
|
||||
RecipeUtil.addRecipe(PluginCore.items.craftingMaterial.getCamouflagedPaneling(4),
|
||||
"WWW",
|
||||
"YBR",
|
||||
"WWW",
|
||||
'W', OreDictUtil.PLANK_WOOD,
|
||||
'D', OreDictUtil.DUST_REDSTONE,
|
||||
'Y', OreDictUtil.DYE_YELLOW,
|
||||
'B', OreDictUtil.DYE_BLUE,
|
||||
'R', OreDictUtil.DYE_RED);
|
||||
}
|
||||
|
||||
// ANALYZER
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
package forestry.core.utils;
|
||||
|
||||
import net.minecraftforge.oredict.OreDictionary;
|
||||
|
||||
public class OreDictUtil {
|
||||
public static final String ORE_COPPER = "oreCopper";
|
||||
public static final String ORE_TIN = "oreTin";
|
||||
@@ -66,4 +68,8 @@ public class OreDictUtil {
|
||||
public static final String GEM_QUARTZ = "gemQuartz";
|
||||
public static final String CHEST_WOOD = "chestWood";
|
||||
public static final String LEATHER = "leather";
|
||||
|
||||
public static final String DYE_YELLOW = "dyeYellow";
|
||||
public static final String DYE_BLUE = "dyeBlue";
|
||||
public static final String DYE_RED = "dyeRed";
|
||||
}
|
||||
@@ -215,16 +215,6 @@ public class PluginGreenhouse extends BlankForestryPlugin {
|
||||
'B', blocks.getGreenhouseBlock(BlockGreenhouseType.PLAIN),
|
||||
'S', PluginCore.items.craftingMaterial.getSilkWisp());
|
||||
}
|
||||
|
||||
|
||||
if (ForestryAPI.enabledPlugins.contains(ForestryPluginUids.FACTORY)) {
|
||||
RecipeManagers.carpenterManager.addRecipe(50, Fluids.BIOMASS.getFluid(500), null, PluginCore.items.craftingMaterial.getCamouflagedPaneling(4),
|
||||
" A ", "###", "RPR",
|
||||
'#', OreDictUtil.PLANK_WOOD,
|
||||
'A', OreDictUtil.DUST_ASH,
|
||||
'R', OreDictUtil.DUST_REDSTONE,
|
||||
'P', OreDictUtil.PULP_WOOD);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -135,7 +135,7 @@ public class GuiGreenhouse extends GuiForestryTitled<ContainerGreenhouse, TileGr
|
||||
}
|
||||
|
||||
private float parseField(GuiTextField field){
|
||||
String text = temperatureField.getText();
|
||||
String text = field.getText();
|
||||
if(text.isEmpty()){
|
||||
return 2.0F;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user