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.
- Iron Ingot to Iron Block
- Gold Nugget to Gold Ingot
- Gold Ingot to Gold Block
- Emerald to Emerald Block
- Diamond to Diamond Block
- Redstone to Redstone Block
- Coal (or Charcoal) to Coal Block
- Glowstone Dust to Glowstone
- Quartz to Quartz Block
- Ink Sack (Blue) to Lapis Block
Since Ink Sack is overloaded a second check is made to ensure that it is Lapis Lazuli that is being blocked.
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.
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.Code (Text):
Since Minecraft overloads its item names, not all blocks are uniquely identifiable, but the plugin supports the naturally blockable items.
Permissions are set with blockit.block and have been tested with GroupManager.
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.
Replaces blockable items in inventory with their block equivalent