Removing extra tiems

Started by IFthenElse246 on Wed, 04/14/2021 - 14:01

Topic category: Advanced modding

Last seen on 15:58, 21. Apr 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Removing extra tiems
Wed, 04/14/2021 - 14:01

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)

Last seen on 15:58, 21. Apr 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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).

Last seen on 15:58, 21. Apr 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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