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