
Modrinth · Minecraft mod
Pig Pen Cipher
Adds the pigpen cipher to Minecraft
Quick answer
Which Pig Pen Cipher release should I use?
Pig Pen Cipher 26.3.0.1 targets 26.3 with NeoForge. Installation on the client is optional. Installation on the dedicated server is optional. All 1 required mods have matching files.
Where it goes
Is Pig Pen Cipher required on the client, server, or both?
Installation on the client is optional. Installation on the dedicated server is optional.
The source marks this as usable on both the client and server.
What else does Pig Pen Cipher 26.3.0.1 need?
26.3.0.1. Change the file and its required mods may change too.
Install Bookshelf first. We found matching files for this game-version and loader setup.
We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add Pig Pen Cipher without breaking your instance.
Built for Pig Pen Cipher 26.3.0.1. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 26.3.0.1. It targets 26.3 with NeoForge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Bookshelf first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 26.3.0.1. It opens that exact file at the source.
About this project
What does Pig Pen Cipher add?
This mod adds the Pig Pen Cipher to Minecraft as a new font. This can be used for books, fonts, chat messages, tooltips, and virtually any other text in the game.
Overview
The Pig Pen Cipher is a simple substitution cipher used to encode messages which use the English alphabet.

User Guide
Using the Cipher
The Pigpen Cipher is sometimes referred to as a tic-tac-toe cipher. This is because the key used to encode/decode characters looks like a tic-tac-toe board.
![]()
To write a character using the Pigpen Cipher you simply replace the character with the lines that surround the character. For example if you want to write the letter A you would draw a backwards L shape and an E would be drawn as a square. If the symbol contains a dot you would use the version on the right, so a square with a dot inside of it is an N. The eight lower characters follow the same rules, T would be an arrow pointing right and W would be an arrow pointing down with a dot in it.
While the cipher may seem complicated at first it will become a lot easier to understand with some practice.
Commands
If this mod is installed on a Forge server you will be able to use some custom commands to help you use this mod. These commands can also be used in single player if the mod is installed.
- /pigpen say - Posts a message in chat using the cipher. All players can use this command. The plaintext version is logged in the server console.
- /pigpen hand - Renames the held item with cipher. Limited to lvl 2 ops.
- /pigpen book (encode|decode) - Rewrites a held book to use cipher. Can also turn encoded books into plaintext books. Limited to lvl 2 ops.
- /pigpen tile (encode|decode) <pos> - Rewrites a tile entity such as a sign to use cipher. Limited to lvl 2 ops.
Code
If you're developing a mod or have access to code/scripting tools you can apply the cipher to an ITextComponent by modifying the style of the component.
// MCP names not yet available
// func_240703_c_ = setStyle
// func_240719_a_ = setFontId
IFormattableTextComponent text = new StringTextComponent("Hello World");
text.func_240703_c_(text.getStyle().func_240719_a_(new ResourceLocation("pigpen", "pigpen")));
Vanilla Commands & NBT
Any vanilla command which allows you to specify a text component can use cipher by defining the font ID in the text properties. For example it can be used in the give command, or in the title command.
/give @p stone{display:{Name:"[{\"text\":\"Hello\",\"italic\":false,\"color\":\"gold\",\"font\":\"pigpen:pigpen\"}]"}} 1
/title @a title {"text":"Hello","font":"pigpen:pigpen"}
Project description from Modrinth.
Pick your setup
Pig Pen Cipher by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.3
2 loader builds26.2
2 loader builds26.1.2
2 loader builds26.1.1
2 loader builds26.1
2 loader builds1.21.1
4 loader builds1.20.4
3 loader builds1.20.3
3 loader builds1.20.2
3 loader builds1.20.1
2 loader builds1.20
2 loader builds1.19.4
3 loader buildsShowing the newest 12 of 25 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Pig Pen Cipher versions and loaders
26.3.0.1
PigPen-neoforge-MC26.3-26.3.0.1.jar
25 Sept 2026
26.3.0.1
PigPen-fabric-MC26.3-26.3.0.1.jar
25 Sept 2026
26.2.0.1
PigPen-fabric-MC26.2-26.2.0.1.jar
18 Jun 2026
26.2.0.1
PigPen-neoforge-MC26.2-26.2.0.1.jar
18 Jun 2026
26.1.2.4
PigPen-fabric-MC26.1.2-26.1.2.4.jar
18 Jun 2026
26.1.2.4
PigPen-neoforge-MC26.1.2-26.1.2.4.jar
18 Jun 2026
26.1.2.3
PigPen-fabric-MC26.1.2-26.1.2.3.jar
18 Apr 2026
26.1.2.3
PigPen-neoforge-MC26.1.2-26.1.2.3.jar
18 Apr 2026
26.1.2.2
PigPen-fabric-MC26.1.2-26.1.2.2.jar
14 Apr 2026
26.1.2.2
PigPen-neoforge-MC26.1.2-26.1.2.2.jar
14 Apr 2026
26.1.2.1
PigPen-fabric-MC26.1.2-26.1.2.1.jar
14 Apr 2026
26.1.2.1
PigPen-neoforge-MC26.1.2-26.1.2.1.jar
14 Apr 2026
Looking for an older file? The official Modrinth project page is in Resources.