Simply Tents BlackList 图标

Simply Tents BlackList

作者:rebot | 分类:模组

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

Minecraft 版本: 1.20.1

平台: forge

标签: utility

资源介绍

Simply Tents Blacklist

A simple blacklist addon for Simply Tents mod


Overview

Simply Tents Blacklist is a lightweight addon mod for Simply Tents that allows server administrators and players to configure which blocks, items, and entities should not be picked up by tents. This provides fine-grained control over tent behavior, preventing valuable or restricted content from being moved.


Features

  • Block Blacklist - Prevent specific blocks from being picked up by tents (supports block registry names)
  • Item Blacklist - Prevent entities or block entities containing specific items from being picked up
  • Tag Support - Use block tags and item tags for flexible, category-based blacklisting
  • Recursive Item Detection - Deep scans entity and block entity NBT data to detect blacklisted items
  • Server-Side Config - All settings are configurable via server config file

Configuration

The mod generates a config file at config/simplytentsblacklist-common.toml:

[blacklist]
    # List of block registry names that should not be picked up by tents.
    # Format: modid:block_name (e.g., "minecraft:chest", "minecraft:diamond_block")
    blacklistBlocks = []

    # List of item registry names that should prevent entities/block entities from being picked up.
    # If an entity or block entity contains any of these items, it will not be picked up.
    # Format: modid:item_name (e.g., "minecraft:diamond", "minecraft:emerald")
    blacklistItems = []

    # List of block tag names that should not be picked up by tents.
    # Format: #modid:tag_name (e.g., "#minecraft:logs", "#forge:ores")
    blacklistBlockTags = []

    # List of item tag names that should prevent entities/block entities from being picked up.
    # If an entity or block entity contains any items with these tags, it will not be picked up.
    # Format: #modid:tag_name (e.g., "#minecraft:logs", "#forge:gems")
    blacklistItemTags = []

Example Configuration

[blacklist]
    blacklistBlocks = ["minecraft:chest", "minecraft:ender_chest", "minecraft:spawner"]
    blacklistItems = ["minecraft:diamond", "minecraft:netherite_ingot"]
    blacklistBlockTags = ["#minecraft:doors", "#forge:ores"]
    blacklistItemTags = ["#forge:gems", "#forge:ingots/gold"]

How It Works

When a player attempts to pick up an area with a tent:

  1. Block Check - If the block is in the block blacklist or matches a blacklisted block tag, it remains in the world
  2. Item Check - If an entity or block entity contains any blacklisted items (or items matching blacklisted tags), it remains in the world
  3. Safe Pickup - Only non-blacklisted blocks and entities are packed into the tent

Installation

  1. Install Minecraft Forge for Minecraft 1.20.1
  2. Download and install GeckoLib (required dependency)
  3. Download and install Simply Tents
  4. Place this mod's .jar file into your mods folder
  5. Launch the game and configure the blacklist in config/simplytentsblacklist-common.toml

Compatibility

  • Server-Side: This mod is required on the server to function properly
  • Client-Side: Optional on client (for singleplayer worlds, install on both sides)

License

This mod is licensed under the MIT License.


Credits

  • Author: Shinonome Shakusora
  • Thanks: The Simply Tents team for creating the original mod
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Krisa's Soulslike Modpack

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

查看详情
Shucks discs

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

查看详情
Automatic Lootdrops

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

查看详情
Psionic Utilities

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

查看详情