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. I don't have a portal lighter for that... It was just the dimension To do that, just look at Wuppy29's 1.4.7 tutorials and look at the portal placer tutorial. That is probably a good way f doing it.
  2. Then your cutting it off before it can fully operate. A flaw with your code or not I am not sure.... As I cannot see it
  3. You do not need a new thread for that. Just use the one that minecraft is already using. There is no need for a new thread.
  4. ^^^ Agreed.... What?
  5. Look at my MinePG code. Especially this class: https://github.com/ModderPenguin/MinePG/blob/master/source/minepg/rpg_common/rpg/comm/ConnectionHandler.java and for registering it, chuck this in your @Init method: NetworkRegistry.instance().registerConnectionHandler(new ConnectionHandler());
  6. Your welcome mate
  7. Where are you calling it? if it is in a class that extends IConnectionHandler in the playerLoggedIn method you do something like this: if(!MainModConfigOrBaseFile.isLatestVersion) { ((EntityPlayerMP) player).sendChatToPlayer("Hay " + ((EntityPlayerMP) player).username + " your version of AdditionalCrafting is out of date."); }
  8. playerInstance.sendChatToPlayer(String); platerInstance is the player variable you are using
  9. Finally someone who knows something relavent
  10. Calling it after mods have loaded is probably a good idea
  11. Umm. What? I don't understand If you want to know how to make a dimension look at Spazzys Solar system mod code on github. Which can be found here: https://github.com/haydenf96/Spazzysmod More specifically these files: https://github.com/haydenf96/Spazzysmod/blob/master/Spazzysmod/spazzysmod_common/Spazzysmod/world/TeleporterMoonPortal.java https://github.com/haydenf96/Spazzysmod/blob/master/Spazzysmod/spazzysmod_common/Spazzysmod/world/WorldProviderMoon.java https://github.com/haydenf96/Spazzysmod/blob/master/Spazzysmod/spazzysmod_common/Spazzysmod/world/chunk/ChunkManagerMoon.java https://github.com/haydenf96/Spazzysmod/blob/master/Spazzysmod/spazzysmod_common/Spazzysmod/world/SpazzysDimensions.java https://github.com/haydenf96/Spazzysmod/blob/master/Spazzysmod/spazzysmod_common/Spazzysmod/SpazzysmodBase.java Those are all the files for the Moon dimension in the mod. (I help make that mod, I am ModderPenguin)
  12. That would mean its getting called then overriden... somehow... Try using a different place to call the opening of the GUI that is pretty much the same spot, or that opens it on the same sort of exceptions. For example find a different place to activate the GUI from when a block is right clicked.
  13. In the blocks constructor you could probably do an if statement that checks if the item the player is using is the item you want to break the block with, and if it isn't set the block to unbreakable.
  14. I tried the entityPlayer.dimension but it didn't work... So ill try any new way that comes to me
  15. Great. Now I have to create a Packet system for an otherwise simple test.... Haha, nothings ever as simple as it seems to be
  16. Hmm.. Ill retry with this new way of finding the players dimension... I tried before and it didn't work Not really needed I would think
  17. YAY!!!! Half of what I am looking for... Now I know what to call to check if the player is in a certain dimension, but how do I know WHEN the player changes dimension? Thats what I really want to know
  18. I am looking for it and cannot find it. Any ideas? For anyones future reference, it is in GuiIngame, which is the net.minecraft.client.gui package.
  19. Bump. I really need to know!!! Is diesieben07 online to help?
  20. Hmm... I think you have to make a new TileEntityChest or something... I know theinstitutions has a tutorial for such things. And don't worry about the fact that it is outdated and he uses modloader, but it is world gen, which is cross compatible. I would explain it for you (the code for this that is) but I don't have the time nor can I remember what the code is... So just find his tutorial for it
  21. I am trying to have a GUI show that only gets shown when the player enters the new dimension I have. I can find multiple places where the GUI shows for a split second then disappears, but is there an event, or a special way of tracking what dimension the player is in, and when he changes dimension? -Mew
  22. Mew replied to mskc33's topic in Modder Support
    When it comes to stuff like this then you make it up and test it. Guess and check is the only way to go really...
  23. well.... Thats helpful...
  24. Try making sure that the ID for the GUI is actually 1. And I think you should probably change it to 10.... I think 1 would have been taken already
  25. I got a little lost with it, so I said "fuck it" and went back to getEntityData Thanks to diesieben07 I now get how to use it SO if you need help with it I can help

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.