no fun allowed
by repulica
no fun allowed restricts what items can be used and where, based on data components set on the items themselves, for adventure mode servers.
What it does
The mod checks the data components on each item and blocks its use when the component marks it as restricted, so a server can keep players from triggering items that would break an adventure map. Restrictions are written as item tags. A tag can ignore a location check, require a strict component, disable an item entirely, or delete items that are usable. Block tags can disable left and right clicking on the blocks they cover.
Each restriction can be limited to a permitted area. The area is a box object with minimum and maximum x, y and z values, optionally tied to a dimension identifier. Item usage by location only works for right click. The approach borrows from existing adventure helpers, adapting their component format so that hazardous items can be kept out of adventure mode. It was created after a problem came up at BlanketCon 23 in a creative context.
The mod is licensed under the Apache License 2.0 and is not open source. Files are published for Fabric only, for Minecraft 1.21, and the mod runs on client and server. Other mods can use their own component types for locational use, but they do not replace this format.
Key features
Item usage tags
Item tags choose whether an item is ignored, strictly checked, disabled or deleted when it is used.
Block click tags
A block tag can disable left and right clicking on the blocks it covers, keeping players from interacting with them.
Permitted areas
Restrictions can be limited to a box-shaped area, optionally tied to a dimension identifier.
Adventure mode focus
The component system targets dangerous items in adventure mode, where map builders need fixed rules.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Who it’s for: Server owners and map builders who run adventure mode and need item and block interactions restricted by component, tag or location.
How it compares
Simple Locations is server-side only, open source under the MIT License and published for 1.21.10 – 1.21.11, so players need nothing installed. Euclid's Elements is client and server, open source under the GNU Lesser General Public License v3.0 only, and covers 1.21.1 – 1.21.6. Default Components is open source under the GNU General Public License v3.0 only, runs for Fabric and Quilt across 1.21 – 1.21.10, and only the server is required.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| no fun allowed | Fabric | 1.21 | Client and server | 2024-07-14 |
| Simple Locations | Fabric | 1.21.10 – 1.21.11 | Server-side only | 2025-12-31 |
| Euclid's Elements | Fabric | 1.21.1 – 1.21.6 | Client and server | 2025-07-16 |
| Default Components | Fabric and Quilt | 1.21 – 1.21.10 | Server required, client optional | 2025-10-19 |
Questions
Does no fun allowed need to be installed on the client?
Which game version does the mod support?
Can a restriction apply only in one area?
In the catalog
no fun allowed is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 15,770 mods support Minecraft 1.21.
More from repulica
Similar mods
What the author says
uses the yttr adventure helper adapted for components to prevent use of dangerous items in adventure mode situations component format takes optional dimension identifier for permitted dimension and optional location box object for permitted area
Official listing
- Modrinth page
- modrinth.com/mod/no-fun-allowed
- Owner
- repulica
- Published
- 2024-06-25
- Updated on Modrinth
- 2024-07-14
- Facts verified
- 2026-10-15
