Jump to content

mentin2

Members
  • Posts

    9
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • Location
    France
  • Personal Text
    Minecraft Modder

mentin2's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Oh! Okay, good to know, I'll look more into it. I'll check out those links, thanks a lot!
  2. Okay stupid question then, how do i make it do it on the server? Would it be adding @SideOnly(Side.SERVER) as you would add @SideOnly(Side.CLIENT)
  3. Well I used GUI as an example, but I'll definitely check some tutorials out. In my case I wanted Key Binding, and I haven't found any clear tutorials, which explains it in a comprehensive manner (or that is updated) for someone who isn't too familiar/comfortable/good at java/minecraft modding.... I consider what I want really simple, yet it's not that simple to make it (unless you're familiar with it): What I believe I need is that the player presses a button, it tells the server that a button was pressed, it then checks if the player has the teleport item in hand/currently used slot, then tells the client to 'reload' that item/to remove the NBTTag from it. However, I do not know where I am supposed to put it... Do I need more/new classes? Do I have to do something with my ClientProxy.java and CommonProxy.java since this is between the client and the server (or am i completely of track here?). This might be easy/basic/comprehensive for others, but I'm a bit lost, and I need guidance! Anyhow, I appreciate all the help, but I'm not sure we are on the same page here! (Or maybe I'm just to stupid to see that they are related...)
  4. Not Too good I'm afraid... I can read and understand the basics Okay thanks, I think I start to understand how it works, however, I am not sure how I am to use this in my code. So I need the client to check for input, then tell the server that the Player X pressed this key. Then the server figures out what to do, then tells the client what to do? Example of how I understood it: - CLIENT [Player12]: (send to SERVER) [Player12] pressed R - SERVER: Pressing R means to open the custom crafting gui - SERVER: (send to CLIENT) Open the custom crafting gui for [Player12] - CLIENT [Player12]: Open custom crafting gui = draw the gui on [Player12] screen Did I understand it correctly? Also where am I supposed to write this code? do you know of any github with a good example that I can have a look at?
  5. Yes current as in currently held item. What I want is to make a mod, a mod I've been waiting for a long time but that has never been made, so I'm taking matters into my own hands. However, I'm not too good with modding or coding, so honestly, I'm a bit lost here with all the client/server side stuff going on... I have to say, it was easier to mod minecraft 1.3.1, but I guess you have more freedom now than back then... So if you could point me in the right direction here, I'd be grateful! I might not have been clear enough, but what I want is right now, is just figuring out how I will make my mod, and to do so, I'm working on this small grenade/teleport mod, just to figure out how things work. And right now I have problems with the key binding... I want it so that when you have the teleport item in hand if you shift+right click a block, it gets the coordinates of that block and in which dimension you are, and stores it in the item <- I already have that. What I now want, is that when you hold that item in hand, and press 'R', the NBTag stored on the item is cleared/removed... I have managed to do this with just right click, but I want it now to do it when I press 'R', and that's where I'm having problems. Also all this client/server side stuff is just making me confused, I checked out Diesieben07's tutorial on packets but it just made me even more confused... So again, if you could point me in the right direction here, it'd be nice, also if you know any nice tutorials for beginners, that would help as well! Like I said, I'm currently in a learning phase, so the simpler, the better.
  6. Okay will definitely check that out thanks! I was looking at the forge wiki and I saw some things about KeyBindings and KeyInputHandler, as you can see on my github workspace, and I managed to get a print screen to work with the r button, however, I did not figure out how to make it only work when that specific item is in the current slot bar... I will have a look at those tutorials and see if I can figure it out. Thank you for the help! EDIT: Not really sure what it does, yes I did read it, but I find it confusing... Oh well, I guess I'll just have to tinker with it some more!
  7. SOLVED: With the help of this example: https://github.com/TheGreyGhost/MinecraftByExample I managed to make what I wanted, you can check that out here: https://github.com/Mentin002/RedstoneGuns
  8. I'm sorry but how do you increase Heap Space for Forge? I found out that Forge, is coded with javac... So I edited: "/mcp72/conf/mcp.cfg" to let it use more RAM (to found out where... it took me an hour) I launch install.sh again located in "/mcp72/forge", and then I say yes to cleanup everything, except that forge cleans up that file and I don't know what to do to tell forge to not clean up... I am then lost and don't know what to do! I am on Mac OS X Snow Leopard 10.6.8 with latest Java 1.6... not Java 7 (not for for Snow Leopard YET) Please help me! For some reason, I re-download everything and relaunched it.. and it WORKED! So it seems that the problem doesn't occur any more! but thank you for your reply!
  9. Hello, I wanted to mod for forge, as I heard it had very many good features. I saw some youtube videos on how to set up MCP with Forge for minecraft 1.3.2 I followed the ReadMe file inside the Forge folder that I got when I download "Minecraftforge-src..." Well, I'm on mac osx 10.6.8 (I don't think I have java 7, but I do have java). I ran the "install.sh" with a clean "minecraft_server.jar", "bin" and "ressources" folder. Everything ran smoothly: But then this came up, in the terminal window: I thought in the begging that this was maybe normal? But then I launched Eclipse and sat the workspace to the "ecplise" folder inside "mcp72" There was one error, and a lot of packages inside "common" was missing I tried with both: - minecraftforge-src-4.1.1.251 - minecraftforge-src-4.1.4.275 None of those 2 worked: The recommended? and the latest? Please help me, I'm new to this forum, so if this is the wrong section, I am sorry
×
×
  • Create New...

Important Information

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