Xp Is No Object [AKA: Anvil cost cap removed] [Forge]

Quick rating

Community listing page, reviews here may not be monitored by the author.

Xp Is No Object [AKA: Anvil cost cap removed] [Forge]

No reviews yet

Anvils no longer cap max XP cost at 40

Tech
Mod Loaders
Forge
Minecraft

Community voices

Reviews

List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Show per page
10
25
50
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

About

Project Details

Type
Mod
Latest Version
xpisnoobject-1.0.1.jar

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.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID

Resources

External Links

Source Issues Wiki Discord

About

Description

'too expensive'? PAH! Ridiculous. Nothing is too expensive for my anvils. And now yours, too. For Forge.

---

Okay, so I've been told that was a lil vague. Sorry. Ahem.

For those who aren't in the know, Minecraft, the popular voxel sandbox game, has an enchanting system that uses levels. These XP levels can be spent to upgrade tools by right clicking on various 'tool blocks'. One such block is the anvil. Oddly enough, you are only allowed to upgrade things if it costs less than 40 levels of your XP, in the base game.

This modification, or, 'mod' (the kids use this term for a modification of a game) uses the Sponge mixin system, which has been included in Forge since 1.16.5 or so, to replace the hardcoded values for `40` with `MAXINT` (the maximum value a conventional integer is allowed to be, due to memory constraints). In some places in the code, this value is set to 39, so I set it to `MAXINT - 1`. This only affects the anvil code in a few select functions, and does not touch any of the other code or values.

This mod is like 10 lines of trivial code, and the rest is boilerplate. It is licensed GNU GPLv3. That means you are free to distribute it and modify it as long as you do so under the same license, so feel free to include it in your modpack, if you want. This is optional. You can choose not to include it in your modpack. In fact, you can choose not to even download it. I won't mind.

There were, in fact, already mods (modifications) for Minecraft that did very similar things, but they all were built for older versions of Minecraft, or use Fabric (a competing, and frankly superior mod toolchain) instead. Since it's so easy to make, I decided to make and release it with open source so that the community has an option for this use case.

If you want to see the code, suggest changes, or report issues, you can click the 'Issues' or 'Source' tabs at the top to find my Github repository & issue tracker.


Thank you for coming to my ted talk.

Screenshots

Gallery

  • big price but I can afford it
    big price but I can afford it I'm rich mfer

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.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~5,000
Downloads
Last Updated
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works