Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

lethinh

Members
  • 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. Ok, so I have to create a "bot" (using java.awt.Robot)
  16. Umm, but you said that is the way to increase CPS. So what is the way to get many clicks after I clicked?
  17. Just kind of like that. But I thought I added clicks.add(Long.valueOf(System.currentTimeMillis())); in the code.
  18. 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)
  19. 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?
  20. 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)?
  21. https://pastebin.com/u3iQe90P And I have also registered it using MinecraftForge#EventBus::register
  22. Uhh, I did that but it only registers 1 click (after the click), I mean
  23. I want to register many clicks (CPS) when clicked. But I don't know how to. I'll greatly appreciate your help!

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.