Started by
barxja_1
on
Topic category: Help with MCreator software
translation made with google translator
How can I make a 3D Sword change its model and texture when activating a key?
For example, right click with a special sword in hand and this sword changes its model to that of an ax
I would appreciate any help because I've been trying to figure out how to do this for a few months
Create two models: the sword and the axe (or just make a practice texture for sword and axe). Create the first weapon, the sword. Then set a trigger >> on right click >> Set item in main hand of event/target entity to 1 {axe}, save it. Now do the same with the axe ... but pointing back to the sword (when right clicked). Save and test.
Have fun
Sounds good but how could I make the enchantments of the original weapon change to the new weapon with the different model
Or if it can't be done, can a 3D weapon change texture?
well what I ask for help is that I want to make a sword that when right clicking changes its texture to an animated one
For that you must create a procedure that can find the specific enchantment from weapon #1 and then transfer it to weapon #2 (can be done, but will be very complex).
It does not change texture, you create a procedure that tell it to change texture. Make that weapon (make more than one model with several textures), then when right click change weapon #1 to weapon #2 with an animated texture. Create the 3d weapon with animated texture in Blockbench.
------------------------------------------------------------------------------------
When you say "I want to make a sword that when right clicking changes its texture", it is simply creating the same 3d weapons twice with different textures in Blobkbench ... add them in MCreator, in the triggers >>> When right click, create a procedure that switches the weapon in main hand to the new animated weapon (with animated texture), then do the same to the animated weapon to switch back When right clicked to the non animated weapon.
I understand about making a copy of the original weapon but with another model, but I don't know how to make that system so that it copies the enchantments of the original weapon to the new one (and also the durability)
but still thank you very much you already gave me an idea of how to start with this <3