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.

Mew

Members
  • Joined

  • Last visited

Everything posted by Mew

  1. The sound may be too long. And also, if the Item is in your hotbar, and it is supposed to PLAY the sound when it is in your hotbar, does it not make sense that the thread may have trouble "dying"?
  2. Make a Event handler that uses the LivingUpdateEvent. In that, check if the worlds time is a multiple of however long a minecraft day is. (or you could just figure out what variable holds the day ). Then you do: if (worldDay == 7) { // DO something } that sort of thing
  3. I know it isn't. I just wrote that with the comment saying, WHATEVER IT IS. meaning I have no idea what the method is, but I know it's there...
  4. Something like: // package here // imports here public class ItemRandomIDItem extends Item { // typical Item stuff here public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4 { NBTTagCompound stackCompound = ItemStack.getItemStackNBTTagCompount(); // whatever it is to get it int idToDisplay = stackCompound.getInteger("theRandomID"); par3List.add("ID: " + idToDisplay); } // other Item stuff }
  5. Try something like .setMinMaxTemperature(int minTemp, int maxTemp); (Could be the opposite). If you set it low enough it will freeze everything. And why not just copy paste the BiomeGenOcean to your new one? It gives a lot better control
  6. The only way really is to change the biome's temperature to something really cold. That makes it snow and such. Or you could just go over the whole biome and replace water with ice.. But that is taxing
  7. Well hydroflame here seems to be a semi master of GUI's, he helped me with a draggable GUI Well then no wonder he said the GUI method would be easier Haha, that is true.. But I myself am getting better at GUI's. They are really quite easy.
  8. kindof like the difference between bukkit and forge, its so much easier in bukkit because you have to take care of 1 side, commands only but forge is way better because we can create menu, make things intutive etc Haha, agreed whole heartedly mate! Well hydroflame here seems to be a semi master of GUI's, he helped me with a draggable GUI
  9. Ill agree with Hydroflame on this. But to expand on his idea, have a config file that can switch between the two methods. It means more work, but then it adds diversity, and with diversity comes heaps of users (if it is the right diversity). So you would have say a boolean in the config that is true if the player wants the menu with ALL items, and false if they want the keybinding. I would definitely use the menu, but hey, you have to have diversity
  10. So you don't know how to load the sound to the sound-pool and such? If you don't, I can help you there. With playing the sound on spawn... How is the boss mob spawned? If it is spawned via an item or such, you can play the music via the constructor of the boss mob. Yeah just play the sound via the mob's (entity's) constructor. Then you can do the LivingDeathEvent (I think its called that) and stop the song from playing... To be more clear, the only way I can think of STOPPING the music when the boss dies is to, on the construction of the boss, create a new thread that plays the music. Then, using the LivingDeathEvent afore mentioned, stop the thread, thus stopping the music. If you need help just ask
  11. Umm, maybe try going to the Forge IRC? And the problem is in the ID for the block. Change it to 501 and all should be sweet If you want, just keep posting in this topic and I will check it everytime I see it has been posted in And If I can't help Ill bring in some of the big guns THanks, you're really helping me. I changed some code and I get this (I dont think me changing a part of the code was the cause) Dang crash reports http://pastebin.com/j5iJgAAc Also, if you're on steam can I add you? Sorry I am not on steam Also, it seems you are using the wrong event handler class. Try something like reinstalling your setup. Something weird that I can't see is going wrong. It seems like some Java Reflection is taking place, but I don't know what the hell its doing
  12. Hmm... This is an interesting dilema.
  13. Umm, maybe try going to the Forge IRC? And the problem is in the ID for the block. Change it to 501 and all should be sweet If you want, just keep posting in this topic and I will check it everytime I see it has been posted in And If I can't help Ill bring in some of the big guns
  14. Which tutorials are you following??? Try this: public final static Block newguyOre = new Block(5001, Material.rock);
  15. I am sorry I did not explain well enough. You never said that you had a mirrored model. Therefore, it still gives you the side you clicked on. And double checking your drawing, it is well and truly wrong...
  16. I would suggest looking into vanilla creative inventory code. That would allow you to see how the tabs are added and such.
  17. I don't want another rage fight to happen (had one on FB last night, no ones business ). By looking at your drawing, it seems to be that you are right. BUT!!!!! You did not specify wether you wanted a front or back of the same thing, thus not fully explaining your question. For what WAS asked, you where given the answer. For what you didn't ask, you obviously weren't given an answer. Therefore the lessons we can ALL take away from this is: Ask the ENTIRE question you want answered, don't jump to conclusions, and for me, don't jump into random business (except for that fact that hydroflame is technically my boss in a way is my coworker...).
  18. Jeez, whats with the sarcasm? I work with hydroflame, he is quite the nice guy once you get to know him Just because someone is stating their opinion on something, doesn't mean you have to yell at them. Get to know people before you comment about them. And he has a point when he says that he shares his code, he helps me all the time
  19. I will agree with onNeighbourBlockChange. That would be the most effective. Try using onBlockAdded onNeighbourBlockChange. Do a check to see if the portal frame is built (will have to look in the two directions possible) then check if there is a fire block on top of any of the two base portal frame blocks etc. I apologize for the strike throughs contradicting, I am horribly tired
  20. Mew replied to Z@Nka's topic in Modder Support
    *Applauds* I am glad you have some sense! A lot of people come with no experience
  21. Mew replied to Z@Nka's topic in Modder Support
    Start by learning Java. Think of how much Java knowledge you will need, times it by twenty-thousand, then learn that amount of Java. Best way to start modding
  22. I have found this (once again haven't read ALL of it): http://lwjgl.org/forum/index.php/topic,2516.0/wap2.html http://www.java-gaming.org/topics/vlcj-in-opengl-lwjgl/24846/view.html These may also help you in all sorts of ways:
  23. This is less a Minecraft forge question and more a Java question. Try some of these links (note that I haven't read them so they may not actually help): http://stackoverflow.com/questions/4910438/how-can-i-play-mp4-video-file-in-a-jframe http://stackoverflow.com/questions/5457269/show-video-to-jpanel http://www.coderanch.com/t/346860/GUI/java/Play-Video-JFrame

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.