icons and bugs
@@ -55,7 +55,7 @@ public class Main {
|
||||
|
||||
public static final String MODID = "kitsumedievalcraft";
|
||||
public static final String MODNAME = "ForgeCraft";
|
||||
public static final String VERSION = "2.2.4";
|
||||
public static final String VERSION = "2.2.5";
|
||||
|
||||
public static SimpleNetworkWrapper sNet;
|
||||
|
||||
|
||||
@@ -68,9 +68,18 @@ public abstract class IngotBase extends BlockContainer {
|
||||
@Override
|
||||
public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int aa, float bb, float cc, float ff){
|
||||
//System.out.println(this.getUnlocalizedName());
|
||||
if(player.inventory.getCurrentItem().getItem()!=ModItems.forgeHammer){
|
||||
|
||||
//if(player.inventory.getCurrentItem().getItem()!=ModItems.forgeHammer){
|
||||
int a = player.inventory.currentItem;
|
||||
if(player.inventory.getStackInSlot(a)!=null){
|
||||
if(player.inventory.getStackInSlot(a)==null){
|
||||
ItemStack jar = new ItemStack(this);
|
||||
player.inventory.setInventorySlotContents(a, jar);
|
||||
if(!world.isRemote){
|
||||
world.setBlock(x, y, z, Blocks.air, 0, 2);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
if(player.inventory.getStackInSlot(a)!=null && player.inventory.getCurrentItem().getItem()!=ModItems.forgeHammer){
|
||||
if(player.inventory.getStackInSlot(a).getItem()==Item.getItemFromBlock(this)){
|
||||
ItemStack jar = new ItemStack(this);
|
||||
player.inventory.addItemStackToInventory(jar);
|
||||
@@ -80,15 +89,8 @@ public abstract class IngotBase extends BlockContainer {
|
||||
}
|
||||
return true;
|
||||
}
|
||||
if(player.inventory.getStackInSlot(a)==null){
|
||||
ItemStack jar = new ItemStack(this);
|
||||
player.inventory.setInventorySlotContents(a, jar);
|
||||
if(!world.isRemote){
|
||||
world.setBlock(x, y, z, Blocks.air, 0, 2);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
After Width: | Height: | Size: 456 B |
|
After Width: | Height: | Size: 459 B |
|
After Width: | Height: | Size: 458 B |
|
After Width: | Height: | Size: 460 B |
|
After Width: | Height: | Size: 462 B |
|
After Width: | Height: | Size: 462 B |
|
After Width: | Height: | Size: 495 B |
|
After Width: | Height: | Size: 480 B |
|
After Width: | Height: | Size: 482 B |
|
After Width: | Height: | Size: 472 B |
|
After Width: | Height: | Size: 481 B |
|
After Width: | Height: | Size: 465 B |
|
After Width: | Height: | Size: 459 B |
|
After Width: | Height: | Size: 479 B |
|
After Width: | Height: | Size: 463 B |
|
After Width: | Height: | Size: 458 B |
|
After Width: | Height: | Size: 498 B |
|
After Width: | Height: | Size: 500 B |
|
After Width: | Height: | Size: 510 B |
|
After Width: | Height: | Size: 494 B |
|
After Width: | Height: | Size: 496 B |
|
After Width: | Height: | Size: 496 B |
|
After Width: | Height: | Size: 481 B |
|
After Width: | Height: | Size: 470 B |
|
After Width: | Height: | Size: 479 B |
|
After Width: | Height: | Size: 477 B |
|
After Width: | Height: | Size: 474 B |
|
After Width: | Height: | Size: 473 B |
|
After Width: | Height: | Size: 477 B |
|
After Width: | Height: | Size: 471 B |
|
After Width: | Height: | Size: 474 B |
|
After Width: | Height: | Size: 470 B |
|
After Width: | Height: | Size: 474 B |
|
After Width: | Height: | Size: 471 B |
@@ -3,7 +3,7 @@
|
||||
"modid": "kitsumedievalcraft",
|
||||
"name": "ForgeCraft",
|
||||
"description": "ForgeCraft",
|
||||
"version": "{2.2.4}",
|
||||
"version": "{2.2.5}",
|
||||
"mcversion": "{1.7.10}",
|
||||
"url": "http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/wip-mods/2296334-wip-kitsus-forgecraft-blacksmith-style-forging",
|
||||
"updateUrl": "https://bitbucket.org/kitsushadow/kitsus-forgecraft/downloads",
|
||||
|
||||