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.
C:\Users\user\Desktop\ModdedPlay>REM Forge requires a configured set of both JVM and program arguments.
C:\Users\user\Desktop\ModdedPlay>REM Add custom JVM arguments to the user_jvm_args.txt
C:\Users\user\Desktop\ModdedPlay>REM Add custom program arguments {such as nogui} to this file in the next line before the or
C:\Users\user\Desktop\ModdedPlay>REM pass them to this script directly
C:\Users\user\Desktop\ModdedPlay>java @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.18.2-40.1.21/win_args.txt
Error: Could not find or load main class @user_jvm_args.txt
C:\Users\user\Desktop\ModdedPlay>pause
Press any key to continue . . .
I want to make the item decrease its durability when it is used. I mean, "hurt" the item when the player tries to use it seems like the better option. I've tried to call it when inside the elytraFlightTick method and cancel the flight later, the item durability reduces, but the player keep starting the boring flight animation.
Sorry if i wrote a little weird, i'm not very good at english.
Recommended Posts
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.