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. Probably has to do with the fact that Euler angles suck and quaternions are better. There is probably not anything you can do.
  2. I use that feature to put custom values into a mob spawner placed during world gen, so that it will spawn a custom mob and at a much lower rate than the default. http://www.minecraftforge.net/wiki/Mob_Spawners
  3. So would I delete the TileEntityOrbChestRender class and in replace make a new class exactly like the TileEntitySpecialRenderer? You don't have a TileEntityOrbChestRender. Or if you do, you never put it in your original post and never registered it in your client proxy.
  4. OMFG. You really never passed Reading Comprehension, did you? Read that, what does it say?
  5. You need TileEntitySpecialRenderer. The default chest renderer is going to use the default chest texture.
  6. Sooo...you have an IItemRenderer But....you don't have a TileEntitySpecialRenderer
  7. This is why we use CodeChickenCore and install the compiled mod. CodeChickenCore does some magic that lets obfuscated mods work in the deobfuscated environment.
  8. You have to notify things of changes. world#notifyBlockChange(x, y, z, blockID);
  9. You would need to GL it. Unfortunately.
  10. Download CodeChickenCore. Add that and the Buildcraft mod to /mcp/jars/mods Download Buildcraft API, add to classpath (/mcp/src/minecraft). Viola.
  11. 1.7.2 is barely deobfuscated. Most of the names aren't known yet.
  12. [TConstruct_mc1.6.4_1.5.2.6.jar:?] Do you people even bother looking at the version of mods you're trying to use?
  13. Ditch your IItemRenderer, you don't need it. Implement public int getColorFromItemStack(ItemStack par1ItemStack, int pass) { } In your item class. Done.
  14. You mean like signs? Generally that's easy. It's getting minecraft to not do that that's hard.
  15. I do not think that word means what you think it means.
  16. Well you've done a bunch of GL rotation, color, and translation stuff. But you haven't drawn anything.
  17. (-{0,1}\d+\.{0,1}[\d]* *){3,4} Maybe?
  18. Personally I'd be happy with a function on Item that gets called (once) when the item is put into a container (or item frame) so that "permanent" effects can get cleared without having to make every effect a potion effect (or similar) that ticks separately. Instead I check to see if the player has an inventory open (that isn't their own, unless creative) and revoke whatever bonus the item gives, so that if the player DOES put the item into the chest the effect doesn't linger inappropriately. Which just leaves item frames.
  19. Actually, onCreated is only called after crafting. It's not called when generated as dungeon loot, pulled out of the creative menu, or when using the /give command. setDamage(new ItemStack(this), 99); obviously won't work as every stack in your inventory is its OWN stack. That item stack doesn't stick around very long. The only method I know of is to wait until the item receives an update tick OR in the addInformation method.
  20. Yes. int hex = 0x123456; int r = (hex & 0xFF0000) >> 16; int g = (hex & 0xFF00) >> 8; int b = (hex & 0xFF); (If you need floats, rather than ints, divide by 255)
  21. ItemSword is already set up in such a manner. So is ItemArmor. You're still going to need to write out a recipe registration for each one, though.
  22. Pretty sure it was simplified to getTag. I recall seeing that somewhere. Also, check http://www.minecraftforge.net/forum/index.php/topic,15275.0.html
  23. Nope. None what so ever. Can't be done. Oh wait, existing thread right on the first page.
  24. Tricky, but doable.* Also annoying (player perspective) when you pick the item up and it vanishes. *Use world.getWorldInfo().getWorldTotalTime() there are at least two other "time" methods, neither of which is the one you'd want. WorldTotalTime is tracked by how long the server (or single player instance) is active.

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.