Posted May 25, 20232 yr I tried to use setInvisible method to make it invisible, but it didn't affect. How should I do to make it invisible?
May 25, 20232 yr Override shouldRender() for your renderer to check that flag. The vanilla arrow renderers don't check it. Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
May 25, 20232 yr Author I didn't use renderer for my custom arrow. Should I code renderer class to it and then override shouldRender method?
May 25, 20232 yr This is a support forum. We don't teach you how to write mods. You need to write your mod for yourself then come back with questions when it doesn't work as expected (after you have tried to figure it for yourself). Post a project on github that reproduces your problem when asking questions. Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
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.