How to make "remove item from main hand"

Started by Bullfighter2009 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make "remove item from main hand"

How to make "remove 1 item from player's main hand" without "provided itemstack"?

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Top one you should use for…
Tue, 01/17/2023 - 11:32

Top one you should use for normal removal of items. Bottom one replaces the item to air.


Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Remove (1) (BLOCK/ITEM) from…
Tue, 01/17/2023 - 11:36

Remove (1) (BLOCK/ITEM) from Event/target entity main inventory

Set item in main hand of Event/target entity to (1) (BLOCK/ITEM)

Images didnt come through so gotta do it in text form. The top one can be found in "Player Procedures" and the bottom one is found in "Entity Management".

Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Isn't it something easy?
Tue, 01/17/2023 - 11:40

Isn't it something easy?