Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Posts

  • Joined

  • Last visited


  • Gender
  • Personal Text
    I am new!

Nosba's Achievements

Tree Puncher

Tree Puncher (2/8)



  1. Hi all, I want to add an item that spawns a building when it is used. Is there a "standard" way to do that? or is there a open source mod that does the something like that?
  2. Hi all, I'm handling a KeyInput event, with a KeyBinding. That code is working, but the KeyInputEvent doesn't have the getPlayer or getWorld method, so I cannot obtain the player who pressed the key. Is there a way to obtain the player, or the world?
  3. First of all sorry for the title. I don't want only to render it, I want the player holds it so if the player use the item it should work. Can you be more specific? I know that I can use the capabilities to store Entity's data, but nothing more.
  4. Hi all, I asked some days ago for a method to prevent an Item to be moved out from the inventory. Draco18s told me that it is impossible. So I was thinking if it's possible to make a player holding an item that is not in his inventory. Someone know a way to do that?
  5. Hi all, I want to make an Item that cannot be moved out of the inventory, e.g. It should be impossible to put it in a chest or to drop it. Is there some events that is fired when the player tries to move an item out of the inventory?
  6. I want to change the animation when the player attacks another player or a mob. An example of what I want is in this video: as you can see the player doesn't attack with the usual animation. I want to do that: change the attack animation.
  7. Hi All, I wrote in this forum some days ago at the topic: http://www.minecraftforge.net/forum/index.php?topic=43007.0. I Asked about how to perform an action with the fml API. Some Users answered me with some tutorials about Events and Events handling. I studied it but I still have a question: How can I render my animation when the player is using my sword? I'll explain better: I know that I have to override some Methods and make an Event Handler, but I sill don't know what methods I have to call to show my textures and my animation. Someone can help me?
  8. All right but I need to know how to override that method. I will probably need a series of textures to show in sequence to simulate a movement. But I don't know anything about the method to call from the RenderPlayerEvent.pre event to show my animation?
  9. "Packets" If the question ever involves "how does the server know the client did...?" the answer is packets. Likewise the answer to "how does the client know the server did...?" is also packets. onItemRightClick is called on both sides. You don't need to do anything involving packets. thank you! Now I have another problem. I didn't open another thread because this problem is tightly connected to the previous one. Some answers ago Draco18s wrote: Now I know how to write my own method that removes the opponent's life, etc. But I do not know how to make the visual effect yet. I searched online for: Animations Minecraft forge tutorial, Action Minecraft forge tutorial, Attack animation Minecraft tutorial and other queries, but I found nothing about that. Can you tell me some tutorials, pdf, videos or anything else where I can learn about animations for Minecraft 1.10?
  10. No, you need packets. The client and the server are not guaranteed to be on the same physical machine. Ok, but I suppose that there are some events that are raised when the player press some keys. So how can I override these methods at server side? I found that tutorial http://www.lopakalogic.com/articles/minecraft-articles/minecraft-mods-forge/custom-actions-items/ but it only works on client side. Should I override the method in client and in that method send a packet to the server?
  11. Then, if I've understood what you meant, I have to add a listener in the client proxy that calls a method of the server proxy which performs the action and informs all the client to play the right animation?
  12. Hi all, I want to create a mod that implements some new Weapons. These weapons must do a different action based on the keys pressed by the user: e.g. if the user presses the shift key and the left mouse a sword should lunge. My problem is that I don't even know what I have to look for, is that an animation or what? Do you know where can I learn about it?
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.