Villager Repellent 图标

Villager Repellent

作者:rebot | 分类:模组

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

Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11

平台: paper spigot

标签: game-mechanics mobs utility

资源介绍

VillagerRepellent

A lightweight plugin that lets you repel villagers from using specific beds and workstations — works by logging blocks to a list of banned coordinates for villager use. Perfect for keeping villagers out of personal homes, or using workstation blocks as decoration. (No more fishermen in your barrel room!)

Features

  • Repel villagers from any blocks at specified coordinates
  • Works for beds, workstations, bells
  • Commands to both blacklist and whitelist blocks
  • 100% vanilla-friendly
  • Supports Paper 1.21.x
  • Extremely lightweight

How It Works

❌ Repellent Mode (/villagerrepel, /vr)

When you repel a block:

  • The block’s position that you are targetting is added to a banned list
  • Every 10 seconds, the plugin checks all villagers' memories for that block position
    • If their HOME or JOB_SITE matches a banned block, their memory is nulled
  • Villagers immediately ignore that block and seek a new one

✔️ Allow Mode (/villagerallow, /va)

When you allow a block:

  • The block you are targetting is removed from the banned list
  • The plugin replaces the block with itself, triggering a vanilla POI refresh
    (same effect as breaking and placing the block)
  • Villagers reconsider it during the next work cycle

Installation

  1. Download the latest release JAR
  2. Place it in your Paper server’s plugins/ folder
  3. Restart the server

Supports Paper 1.21.x.

Permissions

  • villagerrepellent.repel:
    • description: Allows repelling villagers from POI blocks.
    • default: op
  • villagerrepellent.allow:
    • description: Allows allowing villagers to use POI blocks again.
    • default: op

Compatibilities/Conflicts

I'm relatively new to this, so feel free to let me know if this plugin conflicts with any popular plugins and I'll look to correct it!

Config

config.yml:


banned-positions: []
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
ArmsRace

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

查看详情
Variated Bush Sizes

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

查看详情
Unified Sounds

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

查看详情
MobHunt

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

查看详情