Everything posted by Mew
-
How to check what dimension the player is in
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.
-
Chatting a string into chat?
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
-
Chatting a string into chat?
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.
-
Chatting a string into chat?
^^^ Agreed.... What?
-
Chatting a string into chat?
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());
-
How to check what dimension the player is in
Your welcome mate
-
Chatting a string into chat?
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."); }
-
Chatting a string into chat?
playerInstance.sendChatToPlayer(String); platerInstance is the player variable you are using
-
Gui Closes Right Away
Finally someone who knows something relavent
-
Mod Item Display Names
Calling it after mods have loaded is probably a good idea
-
How to check what dimension the player is in
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)
-
Gui Closes Right Away
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.
-
How to create a breakable block only with one tool.
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.
-
How to check what dimension the player is in
I tried the entityPlayer.dimension but it didn't work... So ill try any new way that comes to me
-
How to check what dimension the player is in
Great. Now I have to create a Packet system for an otherwise simple test.... Haha, nothings ever as simple as it seems to be
-
How to check what dimension the player is in
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
-
How to check what dimension the player is in
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
-
[Solved] Where is the experience bar code class?
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.
-
How to check what dimension the player is in
Bump. I really need to know!!! Is diesieben07 online to help?
-
[SOLVED] Adding Items to Chests
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
-
How to check what dimension the player is in
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
-
Energy Framework
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...
-
Gui Closes Right Away
well.... Thats helpful...
-
Gui Closes Right Away
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
-
How to use NBT
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
IPS spam blocked by CleanTalk.