Jump to content

AnotherDeveloper

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by AnotherDeveloper

  1. laifsjo and I are the coders of The Methyr Dimension and we recently got back together to start working on the mod again. Now that the workspace setup has been changed to gradle we have run into one huge problem. We're doing this over Dropbox and both run the same OS and have the same Eclipse version, but as soon as some starts up Eclipse we end up seeing the workspace folder, but completely empty. So far our only work around to this issue, is to delete the eclipse folder that is contained within the workspace root folder and replace that folder that's provided within forge-1.7.10-##.##.#.###-src.zip, then we have to run gradlew.bat eclipse. Is there anyway that we could fix this without having to this each time? Yeah I noticed that this should be under: Minecraft Forge Forums » Minecraft Forge » Modder Support » ForgeGradle I have no clue how to move this post.
  2. I don't know if there's any efficiency differences between the two, but hey you've got the advantage in Wavefront object that you can go with more complex models. I'd say that it really depends on what you're adding.
  3. Okay, just wow! I had my item constructor as public and it had to be protected. Well, problem has been solved. Thank you
  4. I already knew where to put the lang stuff, but images I wasn't sure about. So according to what you're saying I have everything in the correct directories. I checked my spelling a few gazillion times and all that gets thrown at me is: [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/items/MISSING_ICON_ITEM_4096_bigboat.png java.io.FileNotFoundException: minecraft:textures/items/MISSING_ICON_ITEM_4096_bigboat.png at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:65) ~[FallbackResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[simpleReloadableResourceManager.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:126) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:91) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) [TextureManager.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTickableTexture(TextureManager.java:71) [TextureManager.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTextureMap(TextureManager.java:58) [TextureManager.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:593) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:941) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_60] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_60] at GradleStart.bounce(GradleStart.java:95) [start/:?] at GradleStart.startClient(GradleStart.java:88) [start/:?] at GradleStart.main(GradleStart.java:56) [start/:?] What I have in the main class is: package net.advmccoder.shipcraft; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.init.Blocks; import net.minecraft.item.Item; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.common.registry.LanguageRegistry; @Mod(modid = "shipcraft" , version = "3.0") public class ShipCraftMod { @Instance(value="shipcraftmod") public static ShipCraftMod instance; public static Block shipworkbench; public static Item bigBoat; @EventHandler public void preInit(FMLPreInitializationEvent event) { shipworkbench = new BlockShipWorkbench(Material.iron).setHardness(3.5F).setResistance(3.5F); GameRegistry.registerBlock(shipworkbench, "shipworkbench"); bigBoat = new ItemBigBoat(2000).setUnlocalizedName("bigboat"); GameRegistry.registerItem(bigBoat, "bigboat"); } @EventHandler public void init(FMLInitializationEvent event) { } @EventHandler public void postInit(FMLPostInitializationEvent event) { } } In the item that I've created, I've got: package net.advmccoder.shipcraft; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; public class ItemBigBoat extends Item { public ItemBigBoat(int i) { super(); setMaxStackSize(1); setCreativeTab(CreativeTabs.tabTransport); } } I'm not sure if using preInit is the right one to use, but that's why I see them doing on the Forge wiki
  5. Oops the mcmod.info was all fine. I screwed up at @Mod
  6. So many tutorials everywhere! Many of those videos are totally out dated and just don't fully work. Even what I'm finding on the Forge wiki has deprecated and non-existing lines of code for the current version (10.13.0.1180). I've been using ModLoader for 3 years and it was easy all the way. I didn't edit base classes and was able to do things that Forge did. I never went over to Forge because I hated it, and still do hate it some bit now. It's a frustrating API and it's making me tempted to crush my indestructible mouse. As of now I'm just browsing for my solutions, but if you'd like to answer them then here is the list: What up to date Forge tutorials can you recommend me? I am following ScratchForFun his tutorials right now. I have the mcmod.info file with in src/main/resources but still I get it where it ask for the author to include it. Where do I put my assets, such as items and blocks? I have it as src/main/resources/assets/shipcraft which works with lang related stuff but can't do it for textures.
×
×
  • Create New...

Important Information

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