pushing fix to casting
This commit is contained in:
@@ -6,7 +6,7 @@ org.gradle.jvmargs=-Xmx3G
|
||||
mod_group=nmd.primal.forgecraft
|
||||
mod_name=ForgeCraft
|
||||
|
||||
mod_version=1.6.30
|
||||
mod_version=1.6.31
|
||||
forge_version=14.23.4.2765
|
||||
mcp_mappings=snapshot_20171003
|
||||
mc_version=1.12.2
|
||||
|
||||
@@ -22,7 +22,7 @@ public class ModInfo {
|
||||
//public static final String MOD_PREFIX = MOD_ID + ":";
|
||||
public static final String MOD_CHANNEL = MOD_ID;
|
||||
|
||||
public static final String MOD_VERSION = "1.6.30";
|
||||
public static final String MOD_VERSION = "1.6.31";
|
||||
public static final String MC_VERSIONS = "[1.12.0, 1.13.0)";
|
||||
public static final String DEPENDENCIES = "required-after:forge@[14.21.1.2400,);" + "required-after:primal@[0.6.69,);";
|
||||
|
||||
|
||||
@@ -86,19 +86,15 @@ public class CastingForm extends CustomContainerFacing implements CastingFormHan
|
||||
for(int i=0; i<25; i++){
|
||||
tempArray[i] = tile.getSlotStack(i).getItem();
|
||||
}
|
||||
System.out.println(crucibleRecipe.getDropsCooked());
|
||||
|
||||
CastingCrafting casting = CastingCrafting.getRecipe(crucibleRecipe.getDropsCooked(), tempArray);
|
||||
if(casting != null){
|
||||
NBTTagCompound tagOutput = casting.getOutput().getTagCompound();
|
||||
NBTTagCompound tagOutput = casting.getOutput().getOrCreateSubCompound("tags");
|
||||
NBTTagCompound crucibleOutput = crucibleRecipe.getDropsCooked().getTagCompound();
|
||||
|
||||
if(tagOutput != null) {
|
||||
ItemStack dropStack = casting.getOutput();
|
||||
|
||||
System.out.println(dropStack);
|
||||
System.out.println(crucibleOutput);
|
||||
|
||||
dropStack.setTagCompound(new NBTTagCompound());
|
||||
NBTTagCompound tags = new NBTTagCompound();
|
||||
|
||||
|
||||
@@ -511,7 +511,7 @@ public class ModCrafting{
|
||||
);
|
||||
/***CASTING SLEDGEHAMMER***/
|
||||
CastingCrafting.addRecipe(
|
||||
new ItemStack(PrimalAPI.Items.BRONZE_INGOT, 1),
|
||||
new ItemStack(ModItems.bronzeingotball, 1),
|
||||
new Item[]{
|
||||
empty, empty, empty, empty, empty,
|
||||
muddd, empty, empty, empty, muddd,
|
||||
@@ -534,7 +534,7 @@ public class ModCrafting{
|
||||
);
|
||||
/***CASTING CHISEL***/
|
||||
CastingCrafting.addRecipe(
|
||||
new ItemStack(PrimalAPI.Items.BRONZE_INGOT, 1),
|
||||
new ItemStack(ModItems.bronzeingotball, 1),
|
||||
new Item[]{
|
||||
muddd, muddd, empty, muddd, muddd,
|
||||
muddd, muddd, empty, muddd, muddd,
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"modid": "forgecraft",
|
||||
"name": "Kitsu's Forgecraft",
|
||||
"description": "Forged with sweat and blood",
|
||||
"version": "1.6.30",
|
||||
"version": "1.6.31",
|
||||
"mcversion": "1.12.2",
|
||||
"url": "",
|
||||
"updateUrl": "",
|
||||
|
||||
Reference in New Issue
Block a user