## ReplaceItem Sets a specific container slot to a item. * for Entities: |constructor| | |--|--| |Entity|The entity| |item|the Item you want to set(required) | |slot|a Slot Object with the slot set(required)| **Example:** ```dart ReplaceItem(Entity.Player(), slot: Slot.Hotbar5, item: Item( ItemType.apple, count: 5, model: 339001 ) ) ⇒ replaceitem entity @p hotbar.5 minecraft:apple{"CustomModelData":339001} 5 ``` This works the same with ReplaceItem.block: |ReplaceItem.block| | |--|--| |Location|The block location| |item|the Item you want to set(required) | |slot|a Slot Object with the slot set(required)|