Knockable
by ShiroJR
Knockable lets players knock on doors, chests, barrels and other blocks to make their presence known, and the block's response depends on what is targeted.
What it does
Knocking a block plays a knocking sound. Which block is targeted decides the effect: blocks with an inventory open a short interaction, while blocks without one only make the sound. The pitch of the sound follows how many item slots are empty in the container, and it also shifts with the distance to the targeted block, so a near knock sounds different from a far one.
Knockable blocks are defined through a new knockable:knockable block tag. Doors are included by default, and the trapdoor, chest and barrel block tags are included as well, so other blocks can be added by datapack. The knockingRange game rule sets the maximum distance at which a knock counts as valid, which lets server owners limit how far a player can knock. The mod is a lightweight Fabric mod and requires nothing beyond the loader.
Files are published for Fabric only, for 1.20.1 and 1.21.1, with 0.0.2-1.21.1 for 1.21.1 as the latest file. Knockable runs on client and server, so both the server and every player need it. The code is open source under the GNU General Public License v3.0 or later.
Key features
Knock on blocks
Doors, chests, barrels and other blocks respond to a knock from the player, which makes presence known in shared spaces.
Knocking sound
Each knock plays a sound whose pitch changes with the number of empty item slots in the targeted container.
Distance-based pitch
The sound also changes pitch with the distance to the targeted block, so the knock gives a sense of how far away it is.
Tag-based block list
The knockable:knockable block tag decides which blocks can be knocked, with doors, trapdoors, chests and barrels included by default.
Knocking range rule
The knockingRange game rule caps the maximum distance at which a knock is accepted.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Questions
Does Knockable need Fabric API?
Does Knockable have to be installed on the server?
Can other blocks be made knockable?
In the catalog
Knockable is one of 29,952 Game mechanics mods on ModsFinder, and one of 19,630 Game mechanics mods for Fabric. 32,366 mods support Minecraft 1.21.1.
More from ShiroJR
Similar mods
What the author says
Knockable is a light-weight Fabric Minecraft mod which enables you to knock on blocks to make your presence known.
Official listing
- Modrinth page
- modrinth.com/mod/knockable
- Owner
- ShiroJR
- Published
- 2025-11-16
- Updated on Modrinth
- 2025-11-17
- Facts verified
- 2026-10-15
