main hand correct item remover

Started by pac_mike on

Topic category: Help with MCreator software

Joined Nov 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
main hand correct item remover

Can someone answer me a question that I have until today and I haven't found the solution through any print?: It is a little bit annoying to see that the items that get removed is not the one that the player has in his Main Hand. It works, but is not pretty to see.(an example: I have an item in slot 8 and I use it plus what it removes and the one in slot 1 if there is the same.)

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't know fully what you…
Wed, 08/16/2023 - 23:43

I don't know fully what you are asking, but could it be cause by a client/server desync(in which case make sure to put procedures under 'if not provided world client-side')

Joined Nov 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
my problem is with the…
Wed, 08/16/2023 - 23:47

my problem is with the procedures, i had an easy way to solve it but i lost it and now i have to find it again, i'll give another example, i have a syringe in the game in slot 7 in the main inventory and one in slot 1, when i'm with the one in slot 7 equipped in the main hand and I use it on an animal, the one that suffers alteration and the one in slot 1 and not the one I'm holding.

Joined Nov 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I managed to solve my…
Thu, 08/17/2023 - 14:04

I managed to solve my problem through a NorthWestTrees MCreator video, I'll be leaving a print for those who have this doubt, since I searched the forum and couldn't, it's a very basic procedure, but it already helps some.

link: https://uploaddeimagens.com.br/imagens/p4ta_9c

for those who want to create that same item that would be a syringe this is the procedure, in the box of the first item leave the syringe empty, and in the last two boxes leave it empty again and in the last one leave the one you want to replace it with the empty syringe, the image is self-explanatory , again it's basic procedure, there could be many better ways to do this, but this is what I got. Sorry for the mistakes, I use google translator

Ícone "Verificada pela comunidade"