Started by Season_Cookie on Thu, 07/15/2021 - 01:07
Topic category: Help with MCreator software
I'm trying to find out how to change the range item texture when shooting with the ranged item in-game, an example would be when you shoot with the ranged item the texture changes and when you stop shooting it changes back to the texture of when your not shooting, I've been experimenting for an hour and looking up videos and I cannot find anything about this. If you could help it would make my day :) and also won't make me have to scrap all of the work I've been trying to do.
Okay. So this is kinda complicated. You can't use the Ranged Item template: instead, you need to use the standard item template (although you will want to make another ranged item so that the afore-mentioned item can fire bullets).
When the gun is used, you can use an nbt change block to change an nbt tag ("IsFiring" is an appropriate name) to True. Change this nbt tag to False in the procedure that takes place in "when item stopped using"
Here's the complicated part: You'll now want to use a dynamic model file, which involves creating a new .json file, with the default texture being the default model. You can read the compass.json file for an example