Published on September 09, 2024 (Updated on October 24, 2024)

Disable Clickable Blocks 1.21.40!

This addon made by Fade Studios (HiveLanky) allows servers or worlds to prevent people from clicking and interacting with 65+ blocks! This script really took me a while to code so please rate this as five stars.

Select version for changelog:

Changelog

Updated to 1.21.40/4x Make sure beta apis is enabled! By HiveLanky

Downloads

  • Disable_Clickable_Blocks_1.21.4x.mcpack (40.44 KB)

Supported Minecraft versions

1
Hey, I have a question because you have released the Fade Knockback map and it looks like a good map to me and even though they say it looks like Hayavis or they steal it, it is the best map, please put it in :)
1
You guys know that I’ve made an addon named Block Interaction Prevention which allows add players a certain tag that disables that player from interacting with that exact block mentioned in the tag which is a lot easier than this addon and no I’m not advertising I’m just saying that there’s better addons than this that doesn’t require you to edit the blocks in the script files but you can edit them from mc chat
1
By advertising in other peoples mcpedl page you can get delayed submissions and even banned by doing this. Please delete this comment or I will make a ticket with the admins.
1
I want to free the block with my left hand.
1
This comment has been removed
1
is it possible to enable and disable this for some people, like with a tag or scoreboard?
1
const restrictedBlocks = [
// List your block types here.
];

if (restrictedBlocks.includes(block.typeId)) {
// Your code to execute when a restricted block is interacted with.
}
1
I've been using your addon and noticed an opportunity to streamline the code. Instead of multiple if-statements, consider using an array to list the restricted block types and check  block.typeId  with the  includes  method. This would make the code cleaner and easier to update.
1
He doesn’t know that all he knows is to steal and edit others codes because that’s a peice of my code that I used so that players can’t interact with shulkers and enchant tables so then he asked for the world and now edited the codes and published it without my permission but I don’t really care much I just wanted to say: more than half of his script addons are stolen from my addons and worlds I’ve gave him(HiveLanky) not to mention his other worlds he posted which are also stolen from other people
1
You can simply remove the block by going into the code and finding the block that has been disabled and by simply removing it it should be interactable again. I have made this addon fully and I know exactly what happens.