Pig Pen Cipher
Adds the pigpen cipher to Minecraft
No ratings yet
Be the first to rate it.
Community listing page
Community listing page, reviews may not be monitored by the author.
Community voices
Reviews
Log in to review this mod
Reviews are written by ModDex members. Log in and you'll come right back to the review form.
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
Must be installed on both the client and the server.
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
This mod adds the Pigpen 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.
Banner Patterns
Newer versions of the mod (1.21.1+) now include banner patterns with the cipher characters! These can be used to spell out messages in game, or create unique designs!

This project is sponsored by Nodecraft. Use code DARKHAX for 30% off your first month of service!
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"}
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
Stats
- Downloads
-
48.3m
46.8m
1.5m
- Used in
- 4,692 modpacks
- Followers
- 0
- In stacks
- 1
- Created
-
- Last synced
-
Dec 1, 2026 5:03 AM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before the above date changes.
How syncing works
External Links
Stats
- Downloads
-
48.3m
46.8m
1.5m
- Used in
- 4,692 modpacks
- Followers
- 0
- In stacks
- 1
- Created
-
- Last synced
-
Dec 1, 2026 5:03 AM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before the above date changes.
How syncing works