Jump to content

lethinh

Members
  • Posts

    191
  • Joined

  • Last visited

Everything posted by lethinh

  1. Where are the people in the forum? No one? Seruiosuly?
  2. I'm wondering if there is anyway to get the reach distance from the player to the entity for diagonals? Because I'm bad at Maths. Please help me
  3. Just like the old thread, but someone has set permission for that members cannot access it.
  4. Come on dude, you understand that. Check if the ItemStack is not EMPTY (ItemStack.EMPTY) or by using ItemStack#isEmpty.
  5. Dude, you have to first check if the ItemStack is not null first. Then do whatever you want
  6. But I really need help is drawing bevelved rectangles. And I wonder if there are any ways to do it?
  7. No, it doesn't like that. It is kind of Gui.drawRect method, but I don't know how to make the rectangle beveled.
  8. in the minecraft GUI (GuiIngame)
  9. How to draw a beveled rectangle?
  10. Yes, I have already looked at ItemEnderPearl and EntityEnderPearl, but no luck. Here is my code: https://pastebin.com/Ff1eXKJk But it isn't correct, it keeps saying "It is dangerous to throw", I throwed it and I still on the ground (safe)
  11. When the player is holding it and look at the specific position (to be landed place)
  12. How to get the position of ender pearl's to be landed place?
  13. Umm, I started worrying. Is this correct?
  14. Yup, you told me to "click faster" so just "bot"
  15. https://pastebin.com/bLTHQ6fi
  16. Ok, so I have to create a "bot" (using java.awt.Robot)
  17. Umm, but you said that is the way to increase CPS. So what is the way to get many clicks after I clicked?
  18. Just kind of like that. But I thought I added clicks.add(Long.valueOf(System.currentTimeMillis())); in the code.
  19. Oh, but what do I have to do with the list? You said in the cps reply that just add System.currentTimeMillis() to the list. (May be I misunderstanded)
  20. I mean I'm going to register many clicks when I clicked, not for displaying it. And onClientTick is where I have to remove the old entries?
  21. I don't really understand what you mean. And I'm not going to display this list, and where to remove click from the list (onClientTick)?
  22. https://pastebin.com/u3iQe90P And I have also registered it using MinecraftForge#EventBus::register
  23. Uhh, I did that but it only registers 1 click (after the click), I mean
  24. I want to register many clicks (CPS) when clicked. But I don't know how to. I'll greatly appreciate your help!
×
×
  • Create New...

Important Information

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