Container Blocker 图标

Container Blocker

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/container-blocker
资源信息

Minecraft 版本: 1.21.10

平台: fabric

标签: game-mechanics storage

资源介绍

Container Blocker

A lightweight Minecraft Fabric mod that prevents configured items from being placed into containers. By default, it blocks the Ender Dragon Egg, but can be configured to block any item.

Features

  • Configurable blocked items: Customize which items cannot enter containers via config/blocked_items.json
  • Blocks manual placement: Prevents players from clicking blocked items into container slots (chests, barrels, hoppers, etc.)
  • Blocks shift-clicking: Prevents players from shift-clicking blocked items from their inventory into containers
  • Blocks hoppers: Prevents hoppers from transferring blocked items between containers
  • Works with all containers: Applies to all container types including chests, barrels, shulker boxes, hoppers, and modded containers
  • Player inventory allowed: Blocked items can still be moved within the player's own inventory and hotbar

Configuration

The mod creates a config/blocked_items.json file on first run. You can edit this file to customize which items are blocked:

{
  "blockedItems": [
    "minecraft:dragon_egg"
  ]
}

How it works

The mod uses Mixins to intercept item transfer methods

Technical Details

  • Platform: Fabric
  • Language: Java
  • Minecraft Version: 1.21.2 and higher

Installation

  1. Ensure you have Fabric Loader and Fabric API installed
  2. Place the mod JAR file in your .minecraft/mods folder
  3. Launch Minecraft
  4. Edit config/blocked_items.json to configure blocked items (optional)
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
OP Chests

价格:0 墨喵币
下载量:0

查看详情
Livid Vanilla

价格:0 墨喵币
下载量:0

查看详情
Avery's Reforged Iron

价格:0 墨喵币
下载量:0

查看详情
NIRC

价格:0 墨喵币
下载量:0

查看详情