This mod adds a new command block to your game: Programmable Command Block (or PCB for short)!
This block allows you to put your big command block creations in this one small block!
Once placed, it can be used only by server admins that own permission level 4 (or more) and creative mode.
It has its complex GUI:

Buttons on left allow IO:
To create a command, hold SHIFT and click Left Mouse Button in the functional field. Delete is the same, but you have to do it on created command. To create dependent command, hold CTRL+SHIFT and click LMB in the functional field. After that select another command that this depends on.
This mod also adds some useful commands:
/cutstr [from] [string] OR /cutstr [from] [to] [string] -- cuts text after 1 or 2 number arguments. Ex: "/cutstr 2 PCOmmandBlocks" -- returns "OmmandBlocks" /cutstr 3 8 Oh Hello There! -- return "Hello"
/getpos [entity UUID | entity selector | player name] -- gets position for entity. Ex: /getpos @p -- returns this: "X Y Z"
/ifoffline -- can and should be used in vanilla command blocks. Emits comparator signal 1 if this is singleplayer AND it is NOT shared to LAN. 0 Otherwise.
![]()
Permissions:
Note:
Want to discuss anything? Need help with APIs?
Join the discord server and follow Zeitheron on Twitter!
If you would like to support my work, you can become a patron via
Patreon.
No files available for download.