firebow_change&bark_strip_change
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -3,7 +3,7 @@
|
|||||||
"modid": "kitsumedievalcraft",
|
"modid": "kitsumedievalcraft",
|
||||||
"name": "ForgeCraft",
|
"name": "ForgeCraft",
|
||||||
"description": "ForgeCraft",
|
"description": "ForgeCraft",
|
||||||
"version": "{2.3.4}",
|
"version": "{2.3.6}",
|
||||||
"mcversion": "{1.7.10}",
|
"mcversion": "{1.7.10}",
|
||||||
"url": "http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/wip-mods/2296334-wip-kitsus-forgecraft-blacksmith-style-forging",
|
"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",
|
"updateUrl": "https://bitbucket.org/kitsushadow/kitsus-forgecraft/downloads",
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ public class Main {
|
|||||||
|
|
||||||
public static final String MODID = "kitsumedievalcraft";
|
public static final String MODID = "kitsumedievalcraft";
|
||||||
public static final String MODNAME = "ForgeCraft";
|
public static final String MODNAME = "ForgeCraft";
|
||||||
public static final String VERSION = "2.3.4";
|
public static final String VERSION = "2.3.6";
|
||||||
|
|
||||||
public static SimpleNetworkWrapper sNet;
|
public static SimpleNetworkWrapper sNet;
|
||||||
|
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ public class ModDict {
|
|||||||
OreDictionary.registerOre("clumpFuel", new ItemStack(ModBlocks.shitblock, 1, 0));
|
OreDictionary.registerOre("clumpFuel", new ItemStack(ModBlocks.shitblock, 1, 0));
|
||||||
|
|
||||||
OreDictionary.registerOre("ingotBrickClay", new ItemStack(Items.brick, 1, 0));
|
OreDictionary.registerOre("ingotBrickClay", new ItemStack(Items.brick, 1, 0));
|
||||||
|
OreDictionary.registerOre("cordageStrong", new ItemStack(Items.string, 1, 0));
|
||||||
//OreDictionary.registerOre("cordage", new ItemStack(ModItems.leatherString, 1, 0));
|
//OreDictionary.registerOre("cordage", new ItemStack(ModItems.leatherString, 1, 0));
|
||||||
//OreDictionary.registerOre("itemLeather", ModItems.cutLeather);
|
//OreDictionary.registerOre("itemLeather", ModItems.cutLeather);
|
||||||
//OreDictionary.replacements.put(new ItemStack(Item.leather), "itemLeather");
|
//OreDictionary.replacements.put(new ItemStack(Item.leather), "itemLeather");
|
||||||
|
|||||||
@@ -113,6 +113,7 @@ public final class ModCrafting {
|
|||||||
'x', Items.string,
|
'x', Items.string,
|
||||||
'y', Items.paper,
|
'y', Items.paper,
|
||||||
'z', new ItemStack(ModItems.woodPulp,2,0)});
|
'z', new ItemStack(ModItems.woodPulp,2,0)});
|
||||||
|
|
||||||
GameRegistry.addRecipe(new ItemStack(ModItems.fineFilter), new Object[]
|
GameRegistry.addRecipe(new ItemStack(ModItems.fineFilter), new Object[]
|
||||||
{"xyx", "zzz", "xyx",
|
{"xyx", "zzz", "xyx",
|
||||||
'x', Items.string,
|
'x', Items.string,
|
||||||
@@ -139,10 +140,8 @@ public final class ModCrafting {
|
|||||||
'x', ModBlocks.damascus,
|
'x', ModBlocks.damascus,
|
||||||
'y', ModItems.ironweaponHandle}));
|
'y', ModItems.ironweaponHandle}));
|
||||||
|
|
||||||
GameRegistry.addRecipe(new ItemStack(ModItems.fireBow), new Object[]
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.fireBow),
|
||||||
{"xxx", "yxy",
|
new Object[]{" x ", "xyx", 'x', Items.stick, Character.valueOf('y'), "cordageStrong"}));
|
||||||
'x', Items.stick,
|
|
||||||
'y', Items.string});
|
|
||||||
|
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(ModItems.workBlade, true, new Object[]
|
GameRegistry.addRecipe(new ShapedOreRecipe(ModItems.workBlade, true, new Object[]
|
||||||
{"x", "y",
|
{"x", "y",
|
||||||
|
|||||||
@@ -172,10 +172,13 @@ public void splitLogEvent(PlayerInteractEvent event){
|
|||||||
if(!event.entity.worldObj.isRemote){
|
if(!event.entity.worldObj.isRemote){
|
||||||
if (event.entity instanceof EntityPlayer) {
|
if (event.entity instanceof EntityPlayer) {
|
||||||
EntityPlayer player = (EntityPlayer) event.entity;
|
EntityPlayer player = (EntityPlayer) event.entity;
|
||||||
|
if(player.inventory.getCurrentItem()!=null){
|
||||||
Block test = event.world.getBlock(event.x, event.y, event.z);
|
Block test = event.world.getBlock(event.x, event.y, event.z);
|
||||||
//Block isEmpty = event.world.getBlock(event.x, event.y + 1, event.z);
|
//Block isEmpty = event.world.getBlock(event.x, event.y + 1, event.z);
|
||||||
ItemStack itemStack = new ItemStack(ModItems.itemBark);
|
ItemStack itemStack = new ItemStack(ModItems.itemBark);
|
||||||
if((player.inventory.getCurrentItem() == null)) {
|
//ItemStack stickStack = new ItemStack(Items.stick);
|
||||||
|
|
||||||
|
if((player.inventory.getCurrentItem().getItem() == Items.stick)) {
|
||||||
if((event.action == event.action.RIGHT_CLICK_BLOCK ) && ((test == Blocks.log)||test == Blocks.log2) ) { //&& (test == ModBlocks.testForge) && (isEmpty == Blocks.air)
|
if((event.action == event.action.RIGHT_CLICK_BLOCK ) && ((test == Blocks.log)||test == Blocks.log2) ) { //&& (test == ModBlocks.testForge) && (isEmpty == Blocks.air)
|
||||||
if(test == Blocks.log){
|
if(test == Blocks.log){
|
||||||
player.worldObj.playSoundAtEntity(player, Main.MODID + ":scrapes1", 0.15F, 0.85F);
|
player.worldObj.playSoundAtEntity(player, Main.MODID + ":scrapes1", 0.15F, 0.85F);
|
||||||
@@ -262,6 +265,7 @@ public void splitLogEvent(PlayerInteractEvent event){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*@SubscribeEvent
|
/*@SubscribeEvent
|
||||||
public void flintKnappedEvent(PlayerInteractEvent event) {
|
public void flintKnappedEvent(PlayerInteractEvent event) {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"modid": "kitsumedievalcraft",
|
"modid": "kitsumedievalcraft",
|
||||||
"name": "ForgeCraft",
|
"name": "ForgeCraft",
|
||||||
"description": "ForgeCraft",
|
"description": "ForgeCraft",
|
||||||
"version": "{2.3.4}",
|
"version": "{2.3.6}",
|
||||||
"mcversion": "{1.7.10}",
|
"mcversion": "{1.7.10}",
|
||||||
"url": "http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/wip-mods/2296334-wip-kitsus-forgecraft-blacksmith-style-forging",
|
"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",
|
"updateUrl": "https://bitbucket.org/kitsushadow/kitsus-forgecraft/downloads",
|
||||||
|
|||||||
Reference in New Issue
Block a user