Blocky C lets you write and run C styled code directly inside Minecraft.
Write programs using familiar syntax like int, char, printf, fgets, arrays, sizeof, and basic pointers, then use Blocky C's Minecraft API to control the game.
You can:
- move the player;
- break, punch, place, and interact with blocks;
- use items;
- work with inventory actions;
- smoothly rotate the player's camera;
- run actions one after another in sequence.
Example:
#include <stdio.h>#include <blockyc.h>
int main(){
printf("started!\n");player.rotate(90.0, 0.0, 90.0); player.move("forward", 10); printf("done!\n"); return 0;
}
Blocky C includes an in game editor with features inspired by VS Code:
- live syntax errors;
- code warnings;
- autocomplete suggestions;
- problems panel with line and column numbers;
- adjustable sidebar, editor, and output sizes;
- built-in example projects.
"why should I even use it??"
Blocky C is made for players who want to learn coding in C, experiment with C styled code, or automate minecraft using actual programming concepts instead of only commands.
Write code and see what it does in minecraft, find mistakes directly in the editor and experiment without constantly leaving the game!
for modrinth mods: the delay for player actions is 1 seconds so players can't do impossible movements.
Copyright disclaimer:
This mod is the intellectual property of FedrilloMC.
© Blocky C. All rights reserved.
You may use this mod for personal purposes only, but you may not redistribute, reupload, sell, sublicense, modify and redistribute, or include this mod or any part of its files or source code in another project without prior permission from the copyright holder.

