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.

61352151511

Forge Modder
  • Joined

  • Last visited

Everything posted by 61352151511

  1. Yes I found that but don't know what the relative path would be
  2. How do you set up the downloads part? It builds fine but there's nothing in the downloads tab Edit: Sorry for so many questions but I thought I saw somewhere once that leaving the mcmod.info version line empty would make it automatically take the version from the @Mod annotation. Is it that or the other way around?
  3. Thanks, that works great. Is there a way to reset the build number? I had to run it a few times to get it to work and now the first real one will be #4 if it can't be reset.
  4. I'm not really sure if this is the right location, kind of modding related? I'd like to know how to setup jenkins and link it to github to build whenever a commit is made. I've seen some people do it (Forestry, IC2, Logistics Pipes, Thaumic Tinkerer, Inventory Tweaks) and I can't seem to find a tutorial for it so if anyone has one or knows how I would love to know how to do it. If there's any alternatives to jenkins that people know of that are better/easier to use then you can tell me about that instead.
  5. Forge 1.6.4 does not work with java 8, get the LegacyFix mod by lexmanos. http://files.minecraftforge.net/LegacyJavaFixer/legacyjavafixer-1.0.jar
  6. Well first in the Entity code public AxisAlignedBB getBoundingBox() { return null; } I don't understand why, but getBoundingBox always returns null, so when you do this.getBoundingBox you're going to get null unless you override the method. public AxisAlignedBB getEntityBoundingBox() { return this.boundingBox; } Actually returns something.
  7. The more you know! Never knew you could just give it item or block instances, thought it needed item stacks
  8. Well rather than just using the Item class for all your items, create a new class, make it extend Item, in that class override addInformation. In your main mod file where you initialize the item, do new YourItemClass();
  9. << Hint >> public PacketBuffer(ByteBuf wrapped) { this.buf = wrapped; } Is the constructor for PacketBuffer
  10. What does bbos.buffer return? FMLProxyPacket takes a PacketBuffer and a String
  11. GameRegistry.addRecipe(new ItemStack(swordofcorruptedsouls), new Object[]{" A ", " A ", " B ", "A", itemcorruptedsoulgem, "B", Items.stick}); Wrong. addRecipe(new ItemStack(<ITEM>), new Object[] {"ABC", "DEF", "GHI", 'A', new ItemStack(<ITEM>), 'b', new ItemStack(<ITEM>), 'c', new ItemStack(<ITEM>)}); The Object array goes: Row 1, Row 2, Row 3, Char 1, Definition for char 1, Char 2, Definition for Char 2, etc.
  12. I've been getting the same issue, latest 1.7.10, stable_12 mappings, java 8 update 31. If anyone knows why this happens I'd also like to know, I tried back dating to multiple versions of CCC/NEI and all had this issue.
  13. 1) This goes in Support & Bug Reports 2) You installed a client only mod on the server. That or someone making a mod that you have messed up badly. The mod list in the crash report I don't recognize any client only mods but if you know which one is supposed to be only on the client, remove it from the server.
  14. 61352151511 replied to a post in a topic in Modder Support
    I guess it depends upon what you're used to, I started by using eclipse luna w/ dark theme and am used to that and whenever I see another IDE I just don't like it because I'm used to eclipse.
  15. Try updating WAILA first, there's a newer version
  16. Ok well, can you be a bit helpful so we can be helpful and post a crash report.
  17. FMLCommonHandler.instance().getMinecraftServerInstance().getConfigurationManager().getPlayerByUsername(""); Should work on both sides.
  18. I'm pretty sure the assets/modid has to be all lowercase, as well as every reference to it. If not then I'm not sure what the issue is, could you ellaborate on "not showing I have attached all the files that I currently have" I don't understand this "attaching files" statement. Also a bit of a nitpick, method names should be camelcase so instead of Postinit and Preinit, postInit and preInit
  19. Troubleshooting Block and Item Rendering
  20. Keep a reference of your mod ID somewhere Reference.MODID.toLowerCase() + ":" + block.getUnlocalizedName().replace("tile.block.", "")/*.replace(".name", "")*/; Take the comment out if getUnlocalizedName also has .name at the end, I forget if it does or not.
  21. How about you have a static variable somewhere that stores the ID of the last mob right clicked, it is set before the GUI is open and then in the getClientGuiElement or wherever you need it just access that variable.
  22. Really? I thought the IDs were created in the order of how you specified it via GameRegistry, the only reason I can see them beginning to get mixed up is if you already had a world created and a mod update added a new item say in the middle of the list, it would be at the end of the creative tab because it didn't exist until later.
  23. In your main mod file, I'm not sure if it matters where it goes, mine is in the FMLInitializationEvent NetworkRegistry.INSTANCE.registerGuiHandler(instance, proxy); instance being an instance of your mod (@Mod.Instance(Reference.MOD_ID) public static RandomUtilities instance;) proxy being an object of whatever implements IGuiHandler (@SidedProxy(clientSide = Reference.CLIENT_PROXY, serverSide = Reference.SERVER_PROXY) public static IProxy proxy;)
  24. try { String[] packages = new String[]{"blocks", "items.armor", "items.materials", "items.tools"}; boolean jar = Fusion.class.getResource("Fusion.class").toString().startsWith("jar:"); for(int i = 0; i < packages.length; i++) { List<Class<?>> cl = new ArrayList<Class<?>>(); if (jar) cl = getClassesInJar("donkeycore.fusion." + packages[i]); else cl = getClasses("donkeycore.fusion." + packages[i]); if(cl.size() < 1) bigWarning("There was a problem registering Fusion blocks/items!"); for(Class<?> c : cl) { if (ItemArmor.class.isAssignableFrom(c)) { boolean active = c.getSimpleName().contains("Active"); String[] types = new String[]{"helmet", "chestplate", "leggings", "boots"}; int x = 0; for(String type : types) fusionObjects.add((IFusionObject) c.getConstructor(String.class, int.class).newInstance((active ? "active_" : "") + "fusion_" + type, x++)); } else if(Item.class.isAssignableFrom(c) || Block.class.isAssignableFrom(c)) fusionObjects.add((IFusionObject) c.newInstance()); else warning("Unknown class: " + c.getSimpleName()); } } Collections.sort(fusionObjects); } catch(Throwable t) { bigWarning("UNABLE TO REGISTER ITEMS!!"); t.printStackTrace(); } for(IFusionObject f : fusionObjects) { f.preinit(); } I realise that this is making it so you won't have to do GameRegistry.registerItem and GameRegistry.registerBlock every single time you add a new item/block. However the items and blocks appears in the creative tab in the order they were registered, which is why yours is so unorganized.

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.