Posted December 31, 20222 yr Hi, LakshyaK011 Here, I Was Making A Item When Used In Any Any Hand, Player's Hand Will Rotate, Just Like Vanilla Item Spy Glass, When We Use That Item It Moves The Player's Hand Towards Its Face, How Do I Achieve It?
December 31, 20222 yr 4 hours ago, LakshyaK2011 said: Hi, LakshyaK011 Here, I Was Making A Item When Used In Any Any Hand, Player's Hand Will Rotate, Just Like Vanilla Item Spy Glass, When We Use That Item It Moves The Player's Hand Towards Its Face, How Do I Achieve It? Take a look at vanilla's source; SpyglassItem.class Try overriding this method in your item class @Override public UseAnim getUseAnimation(ItemStack p_151224_) { return UseAnim.SPYGLASS; }
January 1, 20232 yr Author I Have Overrided This Method In Items Class, Returning Any UseAnim Dosent Work, I Want To Implement my own animation
January 1, 20232 yr https://forge.gemwire.uk/wiki/Custom_Item_Animations 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.
January 1, 20232 yr Author When I Override initializeClient Method, It Looks Like This @Override public void initializeClient(Consumer<IItemRenderProperties> consumer) { //... } But The Class IClientItemExtensions Does Not Exists In 1.18.2, How Do I Do It Now?
January 1, 20232 yr AFAICT, the patch to apply this feature to 1.18.2 was never accepted and is currently marked as "stale". https://github.com/MinecraftForge/MinecraftForge/pull/8419 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.