WoolProofed 图标

WoolProofed

作者:rebot | 分类:模组

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

Minecraft 版本: 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

平台: fabric

标签: game-mechanics utility

资源介绍

Woolproofed

Fabric API
Minecraft
Fabric Loader
Java
License

A Minecraft Fabric mod that blocks sounds when wool is placed between the sound source and the player. Perfect for creating soundproof rooms or reducing noise pollution in your builds!

Video Preview [![Watch the video](https://img.youtube.com/vi/VL3ZaNkZjbY/0.jpg)](https://youtu.be/VL3ZaNkZjbY)

Features

  • Sound Blocking: Automatically blocks sounds when wool blocks are in the line of sight between the sound source and player
  • All Wool Colors: Works with all 16 wool colors (white, orange, magenta, light blue, yellow, lime, pink, gray, light gray, cyan, purple, blue, brown, green, red, black)
  • Configurable: Toggle sound blocking on/off with a key binding
  • Smart Detection: Only blocks sounds that are far enough from the player to prevent blocking nearby sounds
  • Performance Optimized: Efficient raycasting algorithm with configurable check intervals

Installation

Prerequisites

  • Minecraft 1.20.1
  • Fabric Loader 0.17.2 or higher
  • Fabric API
  • Java 17 or higher

Steps

  1. Download the latest release from the releases page
  2. Place the JAR file in your mods folder
  3. Make sure you have Fabric API installed
  4. Launch Minecraft with Fabric Loader

Usage

Basic Sound Blocking

Simply place wool blocks between yourself and any sound source. The mod will automatically detect and block sounds that pass through the wool.

Key Bindings

  • B Key (default): Toggle sound blocking on/off
  • You can change this key binding in the Controls menu under the "Woolproofed" category

Configuration

The mod includes several configurable options:

  • Enabled: Toggle the entire sound blocking system
  • Minimum Distance: Sounds closer than this distance won't be blocked (default: 1.0 blocks)
  • Check Interval: How frequently to check for wool blocks along the sound path (default: 0.5 blocks)
  • Block UI Sounds: Whether to block interface sounds (default: false)

How It Works

The mod uses a raycasting algorithm to check if there are any wool blocks in a straight line between the sound source and the player:

  1. When a sound is about to play, the mod calculates the direction from the sound source to the player
  2. It checks every block along this path at regular intervals
  3. If any wool block is found, the sound is blocked
  4. If no wool blocks are found, the sound plays normally

Building from Source

Prerequisites

  • Java 17 or higher
  • Gradle

Steps

  1. Clone the repository:

    git clone https://github.com/SSnowly/woolproofed.git
    cd woolproofed
  2. Build the mod:

    ./gradlew build
  3. The built JAR will be in build/libs/

Development

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

Credits


Note: This mod is client-side only and will not affect other players on multiplayer servers. Each player needs to have the mod installed to benefit from sound blocking.

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

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Survival-Attack

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

查看详情
NoCommandBlockNotify

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

查看详情
Blisscraft

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

查看详情
Consulars' Cup Of Java

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

查看详情