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.

Draco18s

Members
  • Joined

  • Last visited

Everything posted by Draco18s

  1. I'm doing it right now because while the n mods together share a theme, they are not reliant on each other and people can decide to only download the ones they actually want. Maybe they want one aspect and not the others.
  2. I scrapped the code. Converting the model box code to a ModelQuadruped derived object only took an hour or two. The benefits of using MC Animator just weren't worth it
  3. GL11.glSetColorMultiplier of I am recalling the name correctly.
  4. The same thing BlockFurnace extends?
  5. Given only this thread, it was a good guess.
  6. That's not the cause. I've gotten this error with my mod and I do nothing of the sort.
  7. I've seen that crash before too. AFAICT, it's some kind of recursive block update with water (lava?) that causes the JVM to run out of stack space (recursive function calls can only go so deep before the JVM says, "fuck it, infinite loop, abort.")
  8. You need to use the ore dictionary and ore recipe classes.
  9. And for god's sakes, rename your variables. alt-shift-r will refactor anything you select, so you can rename all those SRG variables to something meaningful quickly and easily.
  10. The code you posted isn't the code that's crashing because the code that crashes is: private static void registerMessageForServer(Class handler, Class message) { net.registerMessage(handler, message, messages, Side.SERVER); messages++; } Which is being called from init at the line that reads: registerMessageForClient(SyncSkillsPacket.class, SyncSkillsPacket.SkillsMessage.class); Note that the method causing the crash says "ForServer" and call says "ForClient." Something is out of date.
  11. Your bow class is useless, we need your arrow class.
  12. That requires knowing what the NBT looks like. Put one in your inventory (and nothing else). Exit the game. Open up NBTExplorer and look at it.
  13. public static void RemoveRecipe(Item resultItem, int stacksize, int meta, String modID) { ItemStack resultStack = new ItemStack(resultItem, stacksize, meta); ItemStack recipeResult = null; ArrayList recipes = (ArrayList) CraftingManager.getInstance().getRecipeList(); for (int scan = 0; scan < recipes.size(); scan++) { IRecipe tmpRecipe = (IRecipe) recipes.get(scan); recipeResult = tmpRecipe.getRecipeOutput(); if (ItemStack.areItemStacksEqual(resultStack, recipeResult)) { System.out.println(modID + " Removed Recipe: " + recipes.get(scan) + " -> " + recipeResult); recipes.remove(scan); } } } Then just supply your own new recipe as normal.
  14. Well, it's a quad. So draw a quad with the tesselator.
  15. Mob's look vector, not the player's.
  16. I said your experience. As in, using it. While true, the issues I'm having primarily deal with threads, and I only have enough understanding of threads to know the technicalities of concurrent modification, but not the know-how to keep it from happening. I'm also having trouble getting the mob to look at the player. AFAICT, it's an issue with the vanilla methods involving rotationYawHead, but f*k if I know what or why.
  17. ...in decimal. ████ = 7427071 (0x7153FF)
  18. Seeing as you have so much experience with MCAnimator and the author is so incognito, his website doesn't even have a "contact" link and a signup/login for non-existent services: Care to explain this? MCAnimator's library function crashes with a concurrent modification exception iterating over the list animCurrentChannels. I've had other crashes too, including a Null Pointer error trying to get a prevAnimTime(channel.name).
  19. [18:58:42] [server thread/ERROR]: Encountered an unexpected exception java.lang.IllegalArgumentException: bound must be positive at java.util.Random.nextInt(Unknown Source) ~[?:1.8.0_25] at com.OlympiansMod.world.AllOre.addOre(AllOre.java:43) ~[AllOre.class:?] Looks like you tried to supply rand.nextInt(...) with a negative value. Also: int yPos = maxY + random.nextInt(maxY - minY); Shouldn't that be minY + rand(max-min)?
  20. private static boolean generated = false; ?
  21. I need to know in which* Has it occurred to you to ask on the IC2 forums?
  22. Well it would help if you didn't tell the structure to always generate in the same place. Every time the game generates a new chunk, it builds another copy of your structure right where the existing one is, "regenerating" the broken blocks.
  23. onUpdate { takeALittlePower(); } takeALittlePower() { power += 1; slot[0].damageItem(1); }

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.