machine that automatically puts items into the player's inventory

Started by vortexstars on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
machine that automatically puts items into the player's inventory
Wed, 07/30/2025 - 02:02 (edited)

Summary: A block that places items in the player's inventory even when they are far away and changes the NBT of the items in the player's inventory.

 1. I want to know if it's possible to link a player or entity to a block and make it check if the player has the same item that it (the block) has in their inventory. Otherwise, it sends the item to the player's inventory (if possible, anywhere in the game). 

2. If this could set the NBT of items the player has in their hand or equipped, such as armor (I created an armor and an axel that use fuel to do this. I used the NBT of the item "fuel" and "max fuel" to set the maximum, and a block that carries it sets the NBT of the item by the NBT of the item's fuel + 50. I wanted to know if it's possible to do this remotely).

Edited by vortexstars on Wed, 07/30/2025 - 02:02