Is there a way to change properties of items using a procedure?

Started by Goom on

Topic category: Help with MCreator software

Last seen on 16:53, 2. Oct 2023
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there a way to change properties of items using a procedure?

I want to make a weapon that shoots, and then plays a different idle animation until you reload it again, ive gotten everything to work except for this and it looks really weird 

Last seen on 18:36, 16. Jul 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could try using…
Wed, 09/27/2023 - 15:58

You could try using durability to indicate ammunition, then either using the built in item-properties system to change the appearance based on durability; or make some annoyingly complicated custom procedures that swap out items with slightly different counterparts depending on the desired state. (Fair warning, this is pretty easy to get working, but will result in lots of annoying edge cases with name changes, and other item properties you need to make sure to retain when you're swapping stuff.) There is, unfortunately, not a great way to alter textures/built in item properties without literally swapping the item.