Jump to content

Reun

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by Reun

  1. I am sorry if I offended you, that was not my intention. However, as I mentioned I am making this mod just for fun. I find way more joy in it if I do it my way even if its a bad exercise. So I only want to know the bare minimum to achieve my goal and go on from that point. Looking at other people's posts and mixing my solution from them. I got used to being able to access a well thought out documentation for every API. So, thank you for helping me in my project!
  2. Stuff... Can you please tell me a reliable event that runs (preferable after) each frame. Any would do, I am just unable to find any on the official documentations. I know my way of programming is quite interesting and often can be inefficient, I just want to achieve my goals. And as I am the one who will ever use it, I will live the compromises.
  3. The problem with tick events are that they take 50ms. And for my purposes thats too slow. I am aware that even frames could take up to 5-10ms but thats better. I would use System.currentTimeMillis() for counting the delays. I am aware that running calculations each frame could slow down the framerate but I would take that compromise.
  4. Good afternoon! I am looking for an event that would be called every time a framed has been rendered/shown on screen, mainly to update timers useful for animation and for showing them on screen. The TickEvent with their 50ms delays are too inaccurate for my project.
  5. Well then I will use the latest version, with the mod and the plugin.
  6. Hello guys! My question is quite complicated and can only be answered with a bit of back story: I have spent the last months making PLUGINS for minecraft and now I want to move on to mod creation, and first I want to actually break or rather automate one of my plugins purpose. The plugin is like a villager trading menu, which opens a gui (with a heigth of 6) and if you put 2 iron ingot into the 12th slot, in the 14th slot 1 gold ingot will appear and you can choose either to drag into your inventory. And if you put 64 iron ingots into the 12th slot and you shift click the gold in the 14th slot, 32 gold ingots will be put into your inventory. What I want is that when I open this gui, the mod (with listener) detects it, sees that the gui's name matches ("trading") and then somehow converts all of the iron in my inventory to gold. Now my questions are: - (ANSWERED) Can anyone send me a great client sided 1.8.9(or any version) documentation as I first only want to focus on client sided info? - Is this even possible with mods? From my research I have figured out that this is not achievable in a traditional sense, as moving items in inventories requires mouse inputs that mods cannot create. But anything can be done with controlling the packets that my client sends to the server as those could inform the server that I want to move a stack from slot a->b. - Have I gone overboard with such a hard task?
×
×
  • Create New...

Important Information

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