BlockBlock is a mod that allows for restricting of things. It's meant to allow modpack creators to progressively unlock things for the player, but it will also work for server staff to prevent players from doing certain actions.
You can lock:
- Breaking of blocks
- Placement of blocks
- Interacting with blocks
- Interacting with entities
- Entity drops
- Crafting recipes
- Usage of items
It's possible for a vanilla client to join a server using this mod. However, it is recommended to install the mod on the client too. If you don't, you will miss out on client-side features like tooltips, but it will also cause more visual 'bugs'. For example, if placement is locked, it will pop in and out of existence really fast, which does not happen if the client has the mod installed.
Checkout the wiki for specifics!
Integrations
Addons
<img src="https://goldmedia.top/uploads/gallery/blockblock_desc_1_07887aa4.png" width=150>
How to Install BlockBlock (Mod)
BlockBlock by Unknown is verified for Fabric across Minecraft versions 1.20.1 (latest release: 2.0.5-1.20.1, file size: 71 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20.1) and platform (Fabric).
- Make sure you have the compatible loader or environment installed for Fabric.
- Move the downloaded BlockBlock file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version- Added a new
-foption for commands. Using-fwill bypass any syntax checking of object ID's. Using the following command will lock the diamond sword in the placement category. This feature is mainly useful for some edge cases with other mods.
/bb lock placement @s -f minecraft:diamond_sword- Added the
alloption as a lock category for theunlockcommand. Using all will remove all lock categories for the given object. <br>Example:/bb unlock all @s minecraft:iron_chestplate
- Added some client side logic to ensure joining servers is handled correctly
- Fixed an issue where items locked via tags in the
CRAFTING_RECIPEcategory would not display the appropriate tooltip
- The
/bb unlockand/bb lockcommands now support the usage of the wildcard*. Where before you could only use the wildcard in the config files, you can now modify these values at runtime. I.e./bb lock item_usage @s minecraft:iron_*will prevent any iron item from being used, such as tools and armor. - Added a new command:
/bb get [lock category] [target] [OPTIONAL search query]. If no search query is given, it will list all items in the given category for the target(s). In case of a search query, it will list only items that contain that query. I.e./bb get breaking @s ironwill get a list of all locked items in the breaking category that contain iron in the name.
- Re-added notifications for when the player attempts a locked action
- Moved locked action notifications to language files
- Removed redundant config options
### Changes
- Added wildcard support in addition to tags
- Removed the varying block breaking speed (was causing major issues)
For those using the ALPHA branch for the structure locking feature, we've decided to turn that into its own mod, which can be found here: [StructureBlock](https://modrinth.com/mod/structureblock).
- Fixed an issue where tool tags would not work.
This is a fix backported from the alpha branch to the stable branch.
- Fixed an issue where tags would not work for crafting recipes
- Fixed an issue when rejoining the world after wiping all restrictions would revert back to default
- Added reset command (check wiki for explanation)
<br>
- Fixed tags not working at all
- Fixed issue where TNT would still ignite if lit by player using a locked flint & steel
- Fixed issue where inventory would not update if placement was locked (only clients without the mod were affected)
- Fixed issue where the message for a locked block in breaking would not display correctly when playing on a server
- Fixed Jade Integration issue where dropped blocks would not give tooltips
- Added new locking category: Block placement
- Added config option for bypassing restrictions when in creative mode
- Added config option for making locked blocks in the breaking category unbreakable by mining with hand/tool
- Added slowed block mining when attempting to break locked blocks (configurable).
- Fixed an issue where client/server configs were not synced
- Fixed an issue where using TNT would still give drops of locked blocks in the breaking category.
I think this is the first version I can mark as Release, seeing that the core features are now in place. Last items on the list would be working on integration with more mods.
- Added Jade integration
### Changelog 1.0.2
1.0.2 was not posted, as it would otherwise be posted on the same day as 1.0.3.
- Added tooltips<br>
- Fixed critical issue where playerdata would not persist upon death or rejoining a world (1.0.0 removed because of this)
- Fixed Totem of Undying not working
- Fixed Brush not working
