ScratchData LogoScratchData
Back to minekraftkid's profile

3.0 Hacked Blocks

MIminekraftkid•Created January 22, 2022
3.0 Hacked Blocks
255
256
5067 views
View on Scratch

Instructions

Hacked Blocks in Scratch 3! - There's sadly not as many as in Scratch 2, but hopefully more will be found! Feel free to take, claim as your own, etc etc Comment below if anybody finds other ones!

Description

Thanks to the scratchblocks website for the thumbnail. I’m tired of answering the “how did you make ____” questions. Y’all don’t read the comments, so here’s the same explanation I’ve been giving everyone: When you download a scratch project to your computer, you can change the file extension to “.zip” . Most computers will have a tool that will let you uncompress the file and view its contents. Inside of the file, there’s a json file containing all the block information, positioning etc for the project, which you can edit by hand. Note that this doesn’t change how the blocks themselves actually work, but it allows you introduce text that causes unexpected behavior when the project loads. For instance, blocks are represented by text called an “opcode”. Some blocks, such as the foreach, counter, and all at once, have opcodes that people don’t have access to from the standard scratch block pallet. The scratch team fully designed them, colored them, and implemented them, so adding them is easy. Other “hacked” blocks rely on adding text that the scratch team didn’t anticipate into the project files, which causes the compiler to behave in an unexpected way. That’s why when Scratch transitioned from 2.0 to 3.0, many peoples projects broke since they used “hacked” blocks which relied on unintended behavior to function. After you’ve made all the edits to the files, you can recompress the file to .zip formatting, rename the extension to .sb3, and import it into scratch. Do note that the current version of scratch has more checks for invalid project information than the previous version, meaning there’s probably less potential for “hacked” blocks. I hope this helped some! If there’s anything that I didn’t cover well, the scratch wiki has some good articles on block hacking, opcodes, and other features. I’d recommend you check it out!

Project Details

Project ID632222438
CreatedJanuary 22, 2022
Last ModifiedJuly 14, 2025
SharedJanuary 23, 2022
Visibilityvisible
CommentsAllowed