How can I make a 3D tool change the .json model?

Started by barxja_1 on

Topic category: Help with MCreator software

Last seen on 04:50, 18. May 2024
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I make a 3D tool change the .json model?

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

Last seen on 18:00, 11. Oct 2024
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Create two models: the sword…
Sun, 04/03/2022 - 07:13

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

Last seen on 04:50, 18. May 2024
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sounds good but how could I…
Mon, 04/04/2022 - 21:53

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

Last seen on 18:00, 11. Oct 2024
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how could I make the…
Tue, 04/05/2022 - 03:13

how could I make the enchantments of the original weapon change to the new weapon with the different model

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).  

can a 3D weapon change texture?

 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.

Last seen on 04:50, 18. May 2024
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I understand about making a…
Wed, 04/06/2022 - 07:39

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