XySmallTool 图标

XySmallTool

作者:rebot | 分类:模组

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

Minecraft 版本: 1.21.1

平台: fabric

标签: game-mechanics utility

资源介绍

✨ Features
Mob Spawn Control

Bat spawns (on/off)

Glow squid spawns (on/off)

Phantom spawns (on/off)

Explosion Griefing Control

TNT explosions – choose whether they destroy blocks

Creeper explosions – choose whether they destroy blocks

Block Interaction Control

Enderman block picking – prevent endermen from stealing blocks

Farmland trampling – protect farmland from being trampled by entities

Wither Skull Customization

Enable/disable custom wither skull lifetime

Set the skull’s lifetime in ticks (20 ticks = 1 second)

All features are toggleable via a single YAML configuration file. No need to edit code or use complex commands.

? Installation
Minecraft Version: 1.21.1

Mod Loader: Fabric Loader 0.15.0 or newer

Required Mod: Fabric API (for commands and events)

Simply drop the mod .jar file into your mods folder along with Fabric API.

? Configuration
The configuration file is located at config/xysmalltool/xysmalltool.yaml. If the file does not exist, the mod will generate a default one with helpful comments on first run.

Example Configuration

yaml

XySmallTool Configuration

enableBatSpawn: true
enableGlowSquidSpawn: true
enablePhantomSpawn: true
allowTntGriefing: true
allowCreeperGriefing: true
allowEndermanPickUpBlocks: true
controlWitherSkullLife: false
witherSkullLifeTicks: 50
allowFarmlandTrample: true
How to Apply Changes

Restart the game/server – the mod reads the config at startup.

Use the in-game reload command (requires OP level 4): /xytool reload

A success message will be broadcast to all operators.

⌨️ Commands

Command Permission Description
/xytool reload OP level 4 Reloads the configuration file and applies changes immediately
❓ FAQ
Q: Do I need the mod on both client and server?
A: Most functionality (spawn control, griefing prevention, etc.) works with the mod installed only on the server. However, command feedback texts may appear untranslated on clients without the mod. For the best experience, install it on both sides.

Q: I changed the config but nothing happened.
A: Check that your YAML file has the correct syntax (indentation matters). You can also run /xytool reload and check the server log for errors.

Q: How do I restore the default config?
A: Simply delete the config/xysmalltool/xysmalltool.yaml file and restart the game/server – a fresh copy with defaults will be generated.

? License
This mod is open-source under the MIT License. You are free to use, modify, and distribute it.

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

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Renzo's Custom Blocks

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

查看详情
Golden Potions

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

查看详情
Call of Block

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

查看详情
Lag Alert

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

查看详情