Skip 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 like the "random skin" effect. It makes me chuckle when I end up with one.
  2. Yes, but it doesn't hinge on updating Forge.
  3. Caused by: java.lang.ArrayIndexOutOfBoundsException: 6005 Your block ID is too high. Make it 4095 or lower.
  4. Your code would function exactly as desired.
  5. updateTick() And updateTick is only random if you have random ticks enabled. You can also use onNeighborBlockChanged. The answer to your question actually depends on the answer to another question: When are you changing the metadata?
  6. NBTdata is just key->value data storage that is automatically saved to disc when the game is shut down (or the chunk is unloaded, etc.) NBTdata can hold any simple data type (int, double, float, string, etc.) including arrays (int array, etc.), as well as NBT tags and NBT tag lists (an array of NBT tags) I believe the key name is required to be a string, but other than that, you're free to go hogwild. For example, I have one mod that stores item functionality in NBT data, so that the mod can hold millions (probably several hundred million at this point) of items in a single item ID (actually, 21, due to armor slot/material combinations required to be paired at construction). Then I have another mod that stores image data as arrays of integers.
  7. It'll also let you know when the function your trying to use doesn't match the function that exists. Like I saw one guy do: getIcon (init pass, IconRegister register) { } Because I told him he needed to register, then return, a second icon.
  8. The mcmod.info file goes insize your compiled zip, after you reobfuscate. It doesn't do jack diddly squat inside your eclipse project AFAIK.
  9. Ignore the imports. Fix the actual code and then do the imports using Eclipse (ctrl+shift+O)
  10. /resources/[same/path/as/1.6.4]
  11. "Standing still" is the lack of code. You don't have to do a damn thing to get something to stay still. Turning around is controlled by an AI task, I believe its called EntityAITaskLookAt or something similar.
  12. The setPotionEffect on food items is a "this item will apply this potion to the entity that eats it." The food itself is not afflicted with the potion effect.
  13. Do you know where textures go in 1.6.4? You need to do the same thing in 1.7, only now it's inside that resources folder. You can't just stick textures any old place and expect Minecraft to find them with magic.
  14. What are you trying to do? Why are you trying to read another mod's source code? What is your goal?
  15. Check the zip file's construction. Make sure that it has the correct folder structure; the most common reason for this crash is that your mod wasn't zipped correctly.
  16. Given that potion effects only effect entities, I am not sure what you're trying to do here.
  17. Remove the slash. You don't need it. The colon is automatically converted into a slash (among other things).
  18. I am not sure how its being handled. I only know how it was done previously, but I do not know if things have changed or not. Assuming they haven't, then you'd need to log into the #minecraftforge channle on esper.net IRC and start a conversation with MCPbot http://mcpold.ocean-labs.de/index.php/MCPBot
  19. http://www.minecraftforge.net/forum/index.php?topic=10438.0 http://www.minecraftforge.net/wiki/Metadata_Based_Subblocks#MultiItemBlock
  20. Every. Single. Gorram. One. Do you not read the news?
  21. Probably the same way. Except that that function likely isn't deobfuscated yet. You need to look for a function that returns void and takes 6 integers as an input.
  22. Of course 9003 is out of bounds. Block IDs cap out at 4095.
  23. Deobfuscation happens slowly, as it requires uses determining what a function does, or what a variable is for, then reporting it back to the deobfuscation team (through MCPbot, usually).
  24. They ran reobfuscate when they compiled their mod. Those are the names of vanilla classes when you run it through the launcher.

Important Information

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

Account

Navigation

Search

Search

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.