Actions

Command

Replaceitem

From Zedwiki

Replaces items in the inventories of blocks (chest, furnaces, etc.) or entities (players or mobs) with the given item(s).[1]

Tutorials

There are currently no tutorials involving this command.
  1. Minecraft:Commands#gamerule