Skip to content

Computer Craft Enchantment API

A Minecraft mod for CC:Tweaked that provides an API for accessing, retrieving, and managing enchantments through computer and peripheral interactions.

by OrigamiCircuit· sleneredUtility
Forge
Loaders
Forge
Downloads on Modrinth
14
Followers on Modrinth
0
version
1
Updated
November 6, 2026Nov 6
Published
in 2026

At a glance

Runs on Forge
For Minecraft 1.20.1
Needed in the game and on the server
Latest version — 1.0.0 from November 6, 2026
License MIT — free
Where it's needed
In gamerequiredOn serverrequired

Needed both in the game and on the server

Game versions1.20.1

Computer Craft Enchantment API

Computer Craft Enchantment API is an add-on for CC:Tweaked.

It exposes an API to all computers and turtles under the name enchantments.

Enchantment API Methods
  • isRegistered(Enchantment-Identifier)
  • listEnchantments()
  • getEnchantmentNameKey(Enchantment-Identifier)
  • getEnchantmentName(Enchantment-Identifier)
  • getEnchantmentDescriptionKey(Enchantment-Identifier)
  • getEnchantmentDescription(Enchantment-Identifier)
  • getMinLevel(Enchantment-Identifier)
  • getMaxLevel(Enchantment-Identifier)
  • getRarity(Enchantment-Identifier)
  • isTreasure(Enchantment-Identifier)
  • isCurse(Enchantment-Identifier)
  • isDiscoverable(Enchantment-Identifier)
  • isTradeable(Enchantment-Identifier)
  • isBookable(Enchantment-Identifier)
  • getCategory(Enchantment-Identifier)
  • listCategories()
  • listEnchantmentsByCategory(Category)
  • canCombine(Enchantment-Identifier, Enchantment-Identifier)
  • getPowerRange(Enchantment-Identifier, Enchantment-Level)
  • getGrindstoneXP(Enchantment-Identifier, Enchantment-Level)
  • getEnchantability(Item-Identifier)
  • canEnchant(Item-Identifier, Enchantment-Identifier)
  • canApplyAtEnchantingTable(Item-Identifier, Enchantment-Identifier)
  • listEnchantmentsForItemAtEnchantingTable(Item-Identifier)
  • listEnchantmentsForItem(Item-Identifier)

The Analyzer is a separate block that expands on theses capabilities. These methods will use the provided item stack in the Analyzer to do its checks insted of using Item-Identifiers. This allows for more precises concultions. The fallowing are avilable methods on the Analyzer's peripheral.

Analyzer peripheral Methods
  • getGrindstoneXP()
  • getEnchantability()
  • getRepairCount()
  • canEnchant(Enchantment-Identifier)
  • canApplyAtEnchantingTable(Enchantment-Identifier)
  • listEnchantmentsForItemAtEnchantingTable()
  • listEnchantmentsForItem()

The Analyzer then also suports being use by the turtles in the tool slots exposing the peripheral to it.

Analyzer Crafting Recipe

Image Of Analizer Crating Recipe

Modpacks

Feel free to use this mod in any modpack. No permission needed. Credit, no credit, don't care. I was bored, so I made a thing.

FAQ

How to install Computer Craft Enchantment API?

Install Forge for your Minecraft version, download Computer Craft Enchantment API for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does Computer Craft Enchantment API support?

Computer Craft Enchantment API has builds for Minecraft 1.20.1.

Is Computer Craft Enchantment API needed on the server?

Needed in the game and on the server

License and source
MIT Licensefree to use and share with credit to the author
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More