Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Xyphoris

Members
  • Joined

  • Last visited

Everything posted by Xyphoris

  1. Is ubuntu server only command line? If I want to run a small server, do mod development and sometimes play and test mods, would regular ubuntu be better?
  2. What version do you use? I was looking at ubuntu server.
  3. Hello, I currently am running forge and plan on setting up a server on my windows 7 pc. I was considering switching to linux though since it isnt as much of a resource hog. Does anyone run forge and a server on linux?? How does it work?? buggy at all? Also, do you think linux would be more secure of a server than the windows 7?
  4. If I change it from Blocks.sand to Blocks.dirt, it does work though.
  5. So ive been playing with this for a while now trying to fix it. I am running 1.8 forge(version 11.14.0.1269) and my mod doesnt seem to work. I am running it in eclipse, below is the code and screen shots that may assist. I am new to minecraft so i hope im doing this all correctly. CODE: (the bold letters are what im trying to get to work) package com.xenios.testmod; import net.minecraft.enchantment.Enchantment; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.ItemStack; import net.minecraft.util.WeightedRandomChestContent; import net.minecraftforge.common.ChestGenHooks; import net.minecraftforge.common.DungeonHooks; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventHandler; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.registry.GameRegistry; @Mod(modid = TestMod.MODID, version = TestMod.VERSION) public class TestMod { public static final String MODID = "xenios_testmod"; public static final String VERSION = "1.0 Alpha"; @EventHandler public void init(FMLInitializationEvent event) { // recipes GameRegistry.addRecipe(new ItemStack(Items.apple), "XXX", "XXX", "XXX", 'X', Blocks.leaves); GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 2, 1), Items.redstone, new ItemStack(Items.dye, 1, 1)); // TEST GameRegistry.addRecipe(new ItemStack(Items.stone_sword, 1), "XX", "XX", 'X', Blocks.sand); GameRegistry.addSmelting(Blocks.stone, new ItemStack(Blocks.stonebrick), 0.1F); ItemStack enchantedSwordItemStack = new ItemStack(Items.stone_sword); enchantedSwordItemStack.addEnchantment(Enchantment.sharpness, 1); GameRegistry.addShapelessRecipe(enchantedSwordItemStack, Items.flint, Items.stone_sword); // Dungeon changes DungeonHooks.removeDungeonMob("Spider"); ChestGenHooks.removeItem(ChestGenHooks.DUNGEON_CHEST, new ItemStack( Items.saddle)); ChestGenHooks.addItem(ChestGenHooks.DUNGEON_CHEST, new WeightedRandomChestContent( new ItemStack(Blocks.cobblestone), 25, 50, 10)); } } here are some screen shots: http://s10.postimg.org/l25nht3y1/Untitled.jpg http://s8.postimg.org/6nq5443f9/Untitled1.jpg http://s13.postimg.org/ssngpnvd3/Untitled2.jpg http://s12.postimg.org/exibm5c5p/Untitled3.jpg Any assistance would be great. Thanks
  6. Should I use one over the other? What's the difference?
  7. I am running it from eclipse. Not sure if that matters.
  8. It gives me an output of gold a lot though i noticed. I am using forge for 1.8
  9. Alright. I havent tired the others, but the sand and flowers didnt work. I honestly am new to minecraft, i got it so i can mod for fun and for educational purposes, so i might be doing something wrong. I dont think i am though.
  10. I havent tried. Do i need to start anew world or can i keep the current ones going?
  11. I have a book i got from barnes and noble i am following that teaches modding. i dont have any syntax errors so it all appears good. The sand = swords part i threw in there myself since sand is easy to come by and i wanted to test the mod to see if i did it properly.
  12. here ya go. i changed it to sand and made it not shapeless to try and it still doesnt work. package com.xenios.testmod; import net.minecraft.enchantment.Enchantment; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.ItemStack; import net.minecraft.util.WeightedRandomChestContent; import net.minecraftforge.common.ChestGenHooks; import net.minecraftforge.common.DungeonHooks; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventHandler; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.registry.GameRegistry; @Mod(modid = TestMod.MODID, version = TestMod.VERSION) public class TestMod { public static final String MODID = "xenios_testmod"; public static final String VERSION = "1.0 Alpha"; @EventHandler public void init(FMLInitializationEvent event) { // recipes GameRegistry.addRecipe(new ItemStack(Items.apple), "XXX", "XXX", "XXX", 'X', Blocks.leaves); GameRegistry.addShapelessRecipe(new ItemStack(Items.dye, 2, 1), Items.redstone, new ItemStack(Items.dye, 1, 1)); // TEST GameRegistry.addRecipe(new ItemStack(Items.stone_sword, 1), "XX", 'X', Blocks.sand); net.minecraftforge.fml.common.registry.GameRegistry.addSmelting( Blocks.stone, new ItemStack(Blocks.stonebrick), 0.1F); ItemStack enchantedSwordItemStack = new ItemStack(Items.stone_sword); enchantedSwordItemStack.addEnchantment(Enchantment.sharpness, 1); net.minecraftforge.fml.common.registry.GameRegistry.addShapelessRecipe( enchantedSwordItemStack, Items.flint, Items.stone_sword); // Dungeon changes DungeonHooks.removeDungeonMob("Spider"); ChestGenHooks.removeItem(ChestGenHooks.DUNGEON_CHEST, new ItemStack( Items.saddle)); ChestGenHooks.addItem(ChestGenHooks.DUNGEON_CHEST, new WeightedRandomChestContent( new ItemStack(Blocks.cobblestone), 25, 50, 10)); } }
  13. Doesn't seem to be though. I mixed 2 yellow flowers with no luck
  14. Hi all I created a basic recipe mod that makes a shapeless recipe. The shapeless recipe is 2 yellow flowers = 1 stone sword. This was just a generic test I was doing to see if I wrote it all correct. Anywho, I was wondering once I write the code, how do I make it run? I see it listed under mods in the main screen but it doesn't have a disable option or anything. Thanks
  15. it all looks correct, still the same
  16. I just purchased minecraft and a book on how to mod it, I am a CS student and know some java so i wanted to continue educating myself on the topic. Anywho, I downloaded and installed the newest version of forge and i am using EE eclipse, I cannot get it to work though, eclipse is throwing tons of errors as soon as i open it. I have not touched any coding at all, i am just trying to get the example mod to run to confirm i have this set up properly. I am still new to all this so please go easy on me. Thanks here is a screenshot of the error. http://imgur.com/gallery/TCEayRt/new there is no Bin folder... so what should i do??

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.