Removing extra tiems

Started by IFthenElse246 on

Topic category: Advanced modding

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Removing extra tiems

I have an item in my mod that is supposed to act as a selector. I want to make it so that you cannot have more than one in your inventory by removing extra items. I know that this will require custom code which I do not know. Can anyone help me with this? Thanks in advance! (note: the item does not stack)

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Also, it would be helpful if…
Wed, 04/14/2021 - 14:07

Also, it would be helpful if you can help with custom code for making it so that when dropped, the dropped item disappears (I already have it give the player a new one).

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
why do I never get any…
Wed, 04/14/2021 - 21:54

why do I never get any replies to my topics

The chance of someone having…
Fri, 04/16/2021 - 08:43

The chance of someone having a direct code ready, especially without some mockups or drawings illustrating requirements is very slim