Jump to content

Delilah

Members
  • Posts

    40
  • Joined

  • Last visited

Everything posted by Delilah

  1. Yes I did, but still is not working. Is someone can tell me what is wrong in code would be a help. I can't continue with the mod until I finish with this problem.
  2. Please, someone can tell me why the gui is not opening ? Thanks.
  3. I wrote like that Now the modid is correct but the gui is not opening and I don't have any notification when I'm trying to open the gui.
  4. This is my code: Block Container GuiHandler Gui ClientProxy CommonProxy TileEntityGui Thanks
  5. Hi hello, I did at the end the gui following the tutorial of Containers and Guis here http://www.minecraftforge.net/wiki/Containers_and_GUIs Apparently there is no errors in the code and the game is working, but when I'm doing right click on the block that should open the gui I can see the text "A mod tried to open a gui on the server without being a NetworkMod" I was looking for information but in the tutorial I can't see nothing about that and I don't know how to fixed. If someone know the solution would be a help. Is really complicated the first time that you are doing that. Thanks.
  6. Hi hello, I want to ask if anyone know a good tutorial for minecraft 1.6.2 or 1.6.4 I need to create a custom gui for my mod and I have a lot of work to do in the gui after the creation of the gui so I would like to know if someone know a tutorial or a place where I can find or see the information about the guis development. Thanks.
  7. Hi hello, I open this post to ask if anyone know a good tutorial to create a custom crafting table in minecraft 1.6 series. I'm looking in google but the tutorials that I'm watching are not clear or are for old versions. Thanks.
  8. Omg, is so complex to create a whole new crafting table... I was thinking in using the minecraft workbench ui to try to do the things more easy, but I'm watching that create a custom crafting table is going to be another real pain.... Anyone know a good tutorial about that for mc 1.6 series ? Thanks.
  9. Hi hello, I continued with my mod, and now I'm telling to the blocks that they are crafting stations to display the crafting table ui. I was reading the code of the Workbench block and I saw this code So I decided to add this code to my block to see what happen, but the code is not working. My block is a custom block with custom model but is an extension of the minecraft block. I did a short modification in the code With the modification my crafting table is working but the ui is opening for half a second and after that the game is closing the ui so you can't use the ui... If someone can help me... I need a hand again sorry is my first crafting table and I'm looking for information. Thanks.
  10. Thanks your solution was magic, thank you so much. That is the solution for someone with the same ploblem In the else condition I swap the x coord with the z coord and now the object is having the proper blockbound in all the moments. Thank you so much....
  11. Sorry, I don't know really, I had the problem and I was looking for information, I saw this code in a forum I think and I used it to see if it working of something was happening because with the render code the only the orientation was the same every time and after I copied this code the orientation was correct but I don't know the reason really... Now, I have I think the last problem of the block orientation... the bounding box of the block is every time the same... But now the block is having the orientation from where you are placing the block but the bounding box is not having the orientation...I should write something for the bounding box of the object in the render class as well Sorry is my first time doing a mod and my first custom rendered block.
  12. Omg omg omg, I hate to do the things in this way, looking information everywhere because there isn't a place where you can see the full doc.... In the minecraft forum I saw a bit of code but wasn't completed so I had to print a line to see all the parameters at the end the this is the code that is working to set the block orientation with the player orientation. But this code wasn't enough, I was thinking that the code was only in the render class but again I was wrong...I don't know where at the moment but in other place looking for the same problem I saw that I had to add code as well in the class for the block of the object. This is the code for the block class. I don't know seriously what this code is doing 100% but I think this code is storing the number when we set the block that we are using in the variable meta in the render class, because the variable meta is not working is this code is not in the block class. Anyway the problem is solved. Thanks. I hope this code can help to someone with the same problem. This is a photo with the problem solved. http://imgur.com/gm3mDw2 Before the code that I'm showing in this post, the block was every time in the same direction....omg how complicated was....
  13. No no, the rotation of the model is working. This is not mi question. My question is that the model is every time in the same direction, and the model need to have the player orientation because the model is not symmetric.
  14. I was reading a post in the forum of minecraft about the same problem, this is my code now: In the forum of minecraft they told that these solution was working for the orientation of the custom rendered block but my block is not working, is still in the same direction, if someone know what happen, I'm getting crazy... I don't know what happen and I can't see a proper information about everything... is just follow this tutorial or follow another tutorial... but is crazy to work like that without a proper doc....
  15. Hi hello, I'm doing at the moment the models for my mod and the models are working. But I have two questions. My models are every time in the same direction I would like that when you set a model in the world is taking your orientation and I would like to know if can change the size of the model, I don't know how, is my first custom model. This is the code that I'm using. Thanks.
  16. Hello again, I did a photo to show the problem this is my first air mob. http://imgur.com/QACKfBJ As you can see in the mob is in the air, but the hitbox of the mob in on the ground so when you want to kill the mob you need to attack the invisible hitbox on the ground. Someone knows how to set the hitbox where the mob is ? Thanks.
  17. Hi hello, again, I continue with the mod and I did the first flying mob. Well, is not flying really but the position of the mod is like two meters from the floor, the question that I have is. For the game the mob is on the floor. I can see the shadow on the floor and to attack this enemy I have to attack an invisible enemy under the real mob. How I can setup the hitbox of the mob to the position of the model ? and I was looking in the blaze code to see how they can fly, but I couldn't find, if anyone know how I can tell to mob that he can fly would be a help. Thanks. Pd.Sorry for my english, my level of english to explain that wasn't enough...
  18. Hi hello, I did my first mob for the mod and is working at the end. But I have only one thing more for finish the mob... I would like to add to the mob custom jumps to move instead to travel following lines. I would like to ask if there is any AI or function that I can use to tell to the mob to move using jumps. Thanks.
  19. Thanks is working I solved two question the forum is amazing, I couldn't do my mod, without the help of the people. If anyone know small routine to add random jumps to an entity is the last thing for my mod, thanks.
  20. Thanks more or less is working but how I can do that the new mob attack the player?
  21. Hi hello again, I continued with my mod and I finished the world generation, was so hard, is my first mod and every is new but I'm following tutorials and they are helping a lot. I was working yesterday in my first custom mob, I had a few models from techne and I started all the tutorials for mob generation. And at the moment my mob is working, is having the specific health, size, texture and is appearing in the custom biome only. But is not totally ready and I need to ask a few things that I can't see in the tutorials. 1º My mob is spawning only during the night I think is because in the Registry the type of creature is a monster. But I think in the code of the mob I can set the condition, here is my condition for spawn. 2º My second question is because the mob is passive is not attacking even if you are attacking him. I don't know how to tell to attack de player because if my first time doing a mob. I don't know if there is a task for attack de player for the moment I have only the 3 tasks of the tutorial. 3º And the last thing, sorry is a large question. My mob is a slime that I want to have in specifics biomes but I'm looking in the original code of slimes to add the jumps to the mob. At the moment my mob is working and moving, but is only jumping when the mob have a block in front of. How I can add random jumps ? Thanks.
  22. Thanks is working really good This is the code that I did in my worldgenerator in case that someone need to do the same thing.
  23. Hi hello, I continued working with my mod and at the moment I have a full new world generation with my own world generator and my own ores, but the question that I want to do is... At the moment I want to add a specific ore to a specific biome because my world generator is creating all my ores in all my biomes. I think is possible to do but is the first time that I doing this case. I was trying to do all the morning watching the code of the e.hills to see the code but the code of the e.hills is not working. I hope someone know how to do to help me. Thanks.
  24. Omg.Thanks, the code is working, that what I was looking for. Now watching your code I can understand the process but is something that is I'm doing for myself I can't do because my creativity is zero. Thanks.
×
×
  • Create New...

Important Information

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