Home›Java›Mods›BlockIt
Overview
This plugin converts blockable items in your inventory to their block equivalent. The plugin is data driven and the included config.yml is set up to supports:

I understand that Charcoal is not naturally blockable and may add a config parameter later to allow for a more restrictive blocking of coal.

Since Ink Sack is overloaded a second check is made to ensure that it is Lapis Lazuli that is being blocked.

Configuration
Blocking Factors are set per item and are currently 4 and 9 depending on the items natural blocking recipe, but the blocking factor can be changed in config.yml.

Configuration is straight forward.
Code (Text):

blockdata:
  iron_ingot:
    blockFactor: 9
    targetBlock: iron_block
 
Although the configuration allows for almost any item to be turned into any other item via the targetBlock parameter, no alternate configurations have been tested. The code does use ItemStack.getMaxStackSize() so if your targetBlock is not stackable you should get deterministic results. But this is not the intended use of the plugin and would not be a supported use.

Since Minecraft overloads its item names, not all blocks are uniquely identifiable, but the plugin supports the naturally blockable items.

Permissions
Permissions are set with blockit.block and have been tested with GroupManager.

Uses
BlockIt would be ideal for Skyblock, Factions and Survival servers allowing players to easily block up items to extend their mining run without the need to carry a crafting table and constantly place it to block items. Or to block up all that iron you are getting from your Iron Golem farm.

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

BlockIt is a free Minecraft Java mod. Downloaded 545 times (via Spigot). Download it and open it directly in the game.

Explore more