Extra Block Utils

Published by NAIZO on
Supported MCreator versions
2024.1
2024.2
2024.3
2024.4
2025.1
2025.2
2025.3
Tags / plugin type
Java plugin
Miscellaneous
Procedures
Add Item To Chest
Downloads:
7
Upvotes: 0
About the plugin

Plugin Name: Extra Block Utils
Author: NAIZO
Tested MCreator Versions: 2024.1, 2024.2, 2024.3, 2024.4, 2025.1, 2025.2, 2025.3
Tested Minecraft Versions: Forge/NeoForge: 1.16.5, 1.18.2, 1.19.2, 1.20.1, 1.20.4, 1.21.1, 1.21.5, 1.21.8
Plugin Type: Procedures, Java Plugin
Tags: Custom Mechanics


Adds a procedure block that transfers nearby item entities into container blocks

This plugin introduces a new procedure block that automatically inserts items from an Item Entity (dropped item) into any container block such as chests, barrels, shulker boxes, furnaces, or modded inventories.

Procedure

The system uses Minecraft’s native inventory logic and safely handles stacking, merging, and slot filling.

https://storage.ko-fi.com/cdn/brandasset/kofi_button_blue.png

Note

If the input is a raw Item (not an ItemStack), you must convert it to an ItemStack before inserting it into a container.
MCreator procedures and Minecraft inventory logic require an ItemStack to properly set the count, copy tags, and handle stacking behavior.

item to item stack


How it Works

The generated code:

  • Detects an ItemEntity at the procedure’s location
  • Copies the item stack and reads the total item count
  • Locates the container block at the coordinates (x, y, z)
  • Iterates through every slot in the container
  • Inserts items by:
    • Filling empty slots first
    • Merging into matching stacks when possible
    • Respecting max stack sizes
  • Updates the block entity to apply changes visually and logically

This makes item insertion fast, safe, and fully automatic.


🚀 Features

  • Works with all vanilla and modded containers.
  • Automatically merges stacks and respects max stack limits.
  • Inserts as many items as possible until the source stack is empty.
  • Non-container blocks are safely ignored.
  • Perfect for automation mechanics, custom machines, droppers, item collectors, and more.

Patch Notes

  • 1.0.0 :
    • Adds a Procedure in the Block Management Tab that allows you to add items to a chest or container safely.
Project members
Developer
License
All Rights Reserved

Plugin downloads
BlockUtils-1.0.0 for MCreator [Latest] - BlockUtils.zip Uploaded on: 11/30/2025 - 11:39   File size: 8.47 KB