player cannot pick up items

Started by ProStoNik on

Topic category: Help with modding (Java Edition)

Last seen on 15:15, 29. Jan 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
player cannot pick up items

Hello. I want to make it so that the player cannot pick up items on the ground. Is it possible? Version 2020.5.

Last seen on 15:15, 29. Jan 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sorry, I didn't say it right…
Tue, 04/20/2021 - 11:07

Sorry, I didn't say it right. I wanted, for example, a player whose tag = true, he cannot pick up, or a scoreboard, for example, player = 1. Others can pick up items. And so thanks for the useful feature.

Last seen on 09:43, 1. Jun 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok, try and bind the pickup…
Tue, 04/20/2021 - 12:55

Ok, try and bind the pickup delay to a nbt variable.

---------------------------------------------------------

If the player has tag = true, set the pick up delay to 10 ticks.

---------------------------------------------------------

If the player has tag = false, set the pick up delay to 1e+31 ticks.

---------------------------------------------------------

Last seen on 09:43, 1. Jun 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Still simple. If you have…
Tue, 04/20/2021 - 12:55

Still simple. If you have questions, please ask.

Last seen on 15:15, 29. Jan 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I understand that this is…
Tue, 04/20/2021 - 17:25

I understand that this is for things that are spawned using a procedure? And what can you do if a player throws an item or dies and an item drops out of it to make it so that this player could not pick them up? and so in general, thanks for the help

Last seen on 09:43, 1. Jun 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
----------------------------…
Wed, 04/21/2021 - 16:53

---------------------------------------------------------

Do "On player tick update" If the player has tag=true, do nothing. But if tag=false, when the player picks up youre custom item, execute this command in the name of the entity: /clear @s YOURE_MOD_ID:NAME_OF_THE_ITEM 1, then spawn a new item(Gem) next to him.

---------------------------------------------------------

Of corse, this can be picked up with hoppers... But make the item work only when it in you're inventory, so that it would be useless in the hopper or a chest.

---------------------------------------------------------

I hope you won't have questions... 

But if you do, ask.

---------------------------------------------------------

Last seen on 09:43, 1. Jun 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Did it work?
Fri, 04/23/2021 - 18:22

Did it work?

Last seen on 00:46, 12. Jan 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I was not joining MCreator…
Sat, 04/24/2021 - 02:01

I was not joining MCreator when I was adding something customly modeled: Watch Item Storage or something.

Due to missing dependencies I can't code properly about the procedure when it's right clicked, later you may see the item you was holding appeared upside this. It made a mistake.

Last seen on 09:43, 1. Jun 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So, what are you saying is…
Sat, 04/24/2021 - 10:34

So, what are you saying is that my idea doesn't work?

If you want I can give you some visual examples (with images)