Posted February 18, 20214 yr Hey The title might be misleading. What I'm actually trying to do is change the player's attack reach for certain weapons (adding items like daggers, which will have a 2.5 block reach instead of the default reach distance). I've accomplished this. However, I'm the little indicator that appears under the cursor (the one that indicates the weapon is ready to attack) appears when I'm the default reach distance away from the entity as well. I want to change that so it will appear when I'm the item's reach blocks away from the entity. I'm having a hard time finding where mc implements this I hope that makes sense If there's any way to do this, any help is appreciated.
February 18, 20214 yr ForgeIngameGui#renderAttackIndicator, you may listen to the RenderGameOverlayEvent.Pre, element type crosshair and cancel it then render yourself.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.