Jump to content

  • 6 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

[V1.1.0] [SSP] Sensible Enchanting v4.6 - Updated for 1.1.0! Convenient enchanting. Level selection, repair, and more!

#1 User is offline

  • Group: Members
  • Posts: 39
  • Joined: 28-May 11

Posted 11 November 2011 - 02:14 AM

Posted Image
(Thanks to Souwnd for the banner!)

Sensible Enchanting v4.6
for Minecraft 1.1.0 SSP

by FifthWhammy

New in v4.6: Bugfix release. Disabling reversal item damage now works properly.

Old SE v4.0 news: I've just released the first version of Enchantable Bows! It's compatible with Sensible Enchanting (v4.0), so take a look!

Also of note: Sensible Enchanting is now included in the YogBox! (for 1.0.0)

Additionally, Sensible Enchanting v4.0 has received an enthusiastic GameChap video review! Well worth watching, especially if you want to see what SE can do!


This minor (and customizable) mod is intended to take away some of the annoyances you might experience while enchanting items in Minecraft 1.1.0.

Specifically:

- By default, all enchantment costs are halved! (You may adjust this or turn it off using a custom settings file--see below.) A level 50 enchantment now only costs 25 experience levels, a level 15 enchantment now only costs 7 experience levels, and so on. (Cost is rounded down if needed. However, minimum cost is 1 experience level, so no free level 1 enchantments.) The enchant window still displays the enchantment's power, but the new cost is visible as well. You'll still need 30 bookshelves for the maximum power of 50.

Why? Because as it stands now, getting the 50 XP levels for a max enchantment requires you to kill 1785 925 hostile mobs without dying or enchanting anything else. Frankly, I think that's ridiculous. In my opinion, high level enchantments shouldn't be limited to those willing to construct mob grinders and stand in one place whacking mobs for hours. In comparison, reaching XP level 25 requires 455 244 hostile mob kills, which seems more reasonable. (I just discovered that the XP formula was changed for 1.0 and up. Mob counts updated accordingly.)

- You may now increase and decrease the levels of the available enchantments at will! When you place a valid item on an enchantment table, plus and minus buttons will appear at the top right of the GUI. Click them to increase or decrease the slots' enchantment levels by 1; shift-click them to increase or decrease the levels by 10 instead! For convenience, the third enchantment slot will always start with a maximum power enchantment. Note that you cannot increase the enchantment level beyond the table's capability, so you'll still need bookshelves.

Why? Because currently, anyone who wants a certain level has to sit at the enchantment table and drop the item on it over and over and over again, and what fun is that?

- High level enchantments are now more likely to produce multiple effects! For instance, the average level 50 enchantment on a diamond sword would receive multiple effects about 56% of the time. With Sensible Enchanting, that chance is increased to over 70%! Note that low level enchantments (and checks for third and fourth effects) receive a much smaller benefit. If you prefer, this bonus may be adjusted or turned off using a custom settings file.

Why? Because having almost half of highest level enchantments be single-effect seems a bit too weak to me.

- If you enchant an item and are disappointed with the enchantment--say, Knockback II on a level 50 diamond sword--you can immediately reverse the enchantment to recover 80% of the levels you spent! (You may adjust this or turn it off using a custom settings file.) Once you enchant an item, a red reversal slot will appear with the number of levels you can regain displayed in yellow. If, after seeing how your item turned out, you elect to reverse the enchantment, the just-enchanted item will revert to normal and you'll regain those levels! However, due to the strain placed on the item, some of its durability will be lost depending on the strength of the original enhancement. Furthermore, reversal is a one-time opportunity--if you take the item from the table, the enchantment becomes final and you won't get another chance to recover your XP. Choose wisely!

Why? Because if you don't get a satisfactory result, you shouldn't have to earn all of those levels again just for another shot. Although enchanting is random by nature, you deserve to be rewarded for your work.

- At any enchantment table, you can now repair enchanted items for a modest XP cost! (If you prefer, you may disable enchanted item repair or modify the XP cost for repairs using a custom settings file--see below.)[/b] The exact cost varies depending on the number of enchantments and the strength of each individual enchantment, but is not affected by the item's type, material, or remaining durability; for instance, that Sharpness III in the screenshot below costs only 3 levels to repair, considerably less than the 20 levels spent to make it!

To repair an enchanted item, simply place it on any enchantment table, and a blue repair slot will appear with the XP cost displayed. (You'll also see the repair slot just after you enchant an item.) However, just as with normal repairs, you'll need to use another item of the same type and material, although this item does not have to be enchanted. After placing that item in the new component space, click the repair slot to add durability back to your enchanted item for the cost of your component item and some XP. Note that attempting to repair enchanted items using a standard crafting grid will still result in the loss of the enchantment, so make sure to do your enchanted item repairs at an enchantment table!

Why? Because enchanted items are meant to be used, after all.

- Bookshelves are no longer obstructed by objects in between them and the enchantment table!

Why? Because some players get confused when they have 30 bookshelves but aren't getting maximum level enchantments because of an errant torch, ladder, or sign. (If you prefer Minecraft's original bookshelf-counting algorithm, you can reactivate it using a custom settings file.)

Screenshots for your viewing pleasure!
First, some v4.0 shots of enchantment reversal (note that enchantment costs were set to 100% for this demo):
Posted Image
Just after enchanting, you've given the opportunity to reverse it to regain some XP...

Posted Image
...like so! The item was damaged due to the strain of reversing the enchantment, but it's easier to replace items than XP!

Posted Image
Both cost and power are now displayed! Note the plus and minus icons in the top right corner of the GUI.

Posted Image
Clicking on those icons will adjust the levels of the available enchantments!

Posted Image
Place an enchanted item back on the table to see its repair cost.

Posted Image
To repair, place the second item in the component slot and click the blue "repair" slot. (Yes, that's what it says. Original, isn't it?) Unlike vanilla repairs, SE repairs preserve your item's enchantment!

Like most other mods, installation is simple: open your minecraft.jar, drop in the .class files included, and copy the new SEenchant.png file into the jar's gui folder. Delete the jar's META-INF folder if you haven't already. That's it!

That's all for now. Stay tuned for new updates and ports for new Minecraft versions!

Sensible Enchanting is designed for maximum compatibility with other Minecraft mods, overwriting only one base class--the enchantment table block. Most mods that don't modify the enchanting system or the enchanting table block, including TooManyItems, SinglePlayerCommands, and practically all ModLoader mods, can be used alongside SE. However, since SE uses a separate enchantment GUI, inventory mods and GUI mods such as Customizible Inventory may not be able to modify it. (All other GUIs, however, should be changed as expected.)

If you're using a texture pack with custom GUIs, SE's variant of the enchantment GUI won't match your texture pack. Unfortunately, I can't do much about this--I'm a modder, not a magician. Of course, you're welcome to modify or replace SEenchant.png for use with your texture pack.

Custom Settings (NEW!):With the optional custom settings file (SensibleEnchanting.txt), you can disable enchanted item repair or alter the enchantment and repair cost modifiers. Place SensibleEnchanting.txt in your .minecraft directory (where lastlogin and options.txt are found) and modify it to suit your tastes. (The settings file is annotated, so reading it will tell you what sorts of settings are available and what they do.) If you don't install the custom settings file, Sensible Enchanting will use the default values.

If you already have a custom settings file from an earlier version of SE, you can safely keep using it without issue. SE will just use the default values for any new settings your old file left out.

That's all for now!

Download now! (Sensible Enchanting v4.6 for MC 1.1.0, 21 KB, 2/2/2011)

Links to previous versions:
Sensible Enchanting v4.5 for MC 1.1.0, 21 KB, 1/14/2011
Sensible Enchanting v4.0 for MC 1.0.0, 22 KB, 12/8/2011
Sensible Enchanting v3.0 for MC 1.0.0, 18 KB, 12/4/2011
Sensible Enchanting v2.5 for MC 1.0.0, 14 KB, 11/30/2011
Sensible Enchanting v2.0 for MC 1.0.0, 26 KB, 11/25/2011
Sensible Enchanting v1.5 for MC 1.9pre5, 25 KB, 11/15/2011
Sensible Enchanting v1.0 for MC 1.9pre5, 11 KB, 11/11/2011

Special thanks to the fine fellows responsible for the Minecraft Coder Pack. If you'd like to get started with your own Minecraft mods, MCP's a great way to start. (But if you just want to play this mod, you don't need to worry about MCP at all.)

Disclaimer: This Minecraft modification was created by FifthWhammy, who does not own the rights to Minecraft or Minecraft source code. (That's Mojang AB, not me.) You may distribute this modification freely as long as credit is given and this README file is also included. Neither I nor Mojang are responsible for any damage, distress, or data loss suffered by you, the user of this modification. Use at your own risk. Batteries not included.
33

Register or log in to remove.

#2 User is offline

  • Group: Members
  • Posts: 8
  • Joined: 09-April 11

Posted 11 November 2011 - 02:22 AM

Amazing idea! I have always hated how enchantment tables just take SO MUCH TIME to get anything. This is totally awesome.
2

#3 User is offline

  • Group: Members
  • Posts: 2586
  • Joined: 19-October 10
  • Location: The PAIN FOREST

Posted 11 November 2011 - 03:01 AM

YES FINALLY
I was hoping someone would make these easier to get, before I had to do it myself.

K_Kinnison said:

If i were a mod, i would be destroying threads like a creeper at a hug-a-thon

Meddyan said:

That's right, this elevator is powered by MURDER and ANIMAL CRUELTY.

Denn said:

Manly blood is both highly acidic AND highly basic, but I'm glad to see you're paying attention.
Posted Image
Posted Image
Posted Image
0

#4 User is offline

  • Group: Members
  • Posts: 980
  • Joined: 24-September 10

Posted 11 November 2011 - 05:34 AM

Works perfectly, well done. Its an excellent idea and re-balances MC enchanting!!

Cheers,
TG :Diamond:
Posted Image
0

#5 User is offline

  • Group: Members
  • Posts: 105
  • Joined: 30-January 11
  • Location: in a VW bus following Furthur

Posted 11 November 2011 - 01:59 PM

Very nice!! This (IMO) makes enchanting fair without being overpowered. Doesnt feel like cheating because you still have to earn the levels. Also love how there is a guaranteed lvl 50 w/30 bookshelves. i've been dropping and picking up pickaxes thousands of times and have NEVER seen one legit, plenty of 46 47 48 etc though. Thanks again for this mod.
0

#6 User is offline

  • Group: Members
  • Posts: 39
  • Joined: 28-May 11

Posted 12 November 2011 - 02:57 AM

Thanks for the enthusiastic response! I'm glad you're enjoying it.

I do plan to update this mod--and probably add new features, as well!--for the full release of Minecraft. However, I might not port it to 1.9pre6, especially since Jeb's going to fix the wooden door bug on Sunday. I'll keep looking through the enchantment code and try to figure out how I can implement some of the stuff I'm thinking of.

First priority: allowing the player to repair enchanted items without losing the enchantment. There might be a modest XP cost for that, though, depending on the enchantment's power.
0

#7 User is offline

  • Group: Members
  • Posts: 118
  • Joined: 01-March 11
  • Location: Limbo
  • Minecraft: Th3Buhs

Posted 12 November 2011 - 10:24 PM

Does this work with pre-realease 6?
0

#8 User is offline

  • Group: Members
  • Posts: 39
  • Joined: 28-May 11

Posted 13 November 2011 - 02:47 AM

View PostTh3Buhs, on 12 November 2011 - 10:24 PM, said:

Does this work with pre-realease 6?


I just checked, and I got a black screen, so it doesn't look like it works with pre6. I'd be more concerned if not for the fact that Jeb's reportedly going to be putting out another pre-release (7, I guess?) tomorrow that fixes the unresponsive wooden door issue. So once that's out, I'll update everything for that.

On the plus side, I've got enchanted item repair working. That'll definitely be in the next release.
0

#9 User is offline

  • Group: Members
  • Posts: 37
  • Joined: 11-November 11

Posted 15 November 2011 - 11:13 AM

Hi,
did you know that some enchantment need to be under L50 ?

See "Step Two - Find possible enchantments " in :
http://www.minecraft...wiki/Enchanting

Have lvl 50 is only good for sword, but for armor you NEED to be under 50 depend of what you search.
We can't choice :(


Alos, nice for the half xp needed.
0

#10 User is offline

  • Group: Members
  • Posts: 274
  • Joined: 19-September 11

Posted 15 November 2011 - 09:21 PM

cool. now we can have the best equipment around :)
0

#11 User is offline

  • Group: Members
  • Posts: 39
  • Joined: 28-May 11

Posted 15 November 2011 - 11:57 PM

View PostOragepoilu, on 15 November 2011 - 11:13 AM, said:

Hi,
did you know that some enchantment need to be under L50 ?

See "Step Two - Find possible enchantments " in :
http://www.minecraft...wiki/Enchanting

Have lvl 50 is only good for sword, but for armor you NEED to be under 50 depend of what you search.
We can't choice :(


That's a very good point. If you remove some bookshelves, the maximum available level for that enchantment table will decrease, letting you get to the level you want. (Or very close to it.) But that can be irritating, because if you want a lv50 enchantment later, you have to recraft and replace those bookshelves or build a new table-and-shelves set elsewhere. (Enchantment tables are somewhat expensive, and you'll need a lot of sugar cane for 30 more bookshelves.) I suppose if you really wanted to be thorough, you could build a table with 1 bookshelf, a table with 2 bookshelves, a table with 3 bookshelves...but that takes lots of space, effort, and materials and it's certainly not practical!

I've got a few ideas for handling that problem and I'm looking through the code for the easiest way to implement them. You'll likely be seeing the fruits of that labor in a future release. I hope, anyway. ;)

Anyway, the v1.5 update for 1.9pre5 is out, adding enchanted item repair! For the curious, the repair cost formula is the sum of the levels of the individual effect(s) on the item, plus 1 for the second effect, 2 for the third effect, and so on. Since the full version of Minecraft is out in three days, you probably won't see any more 1.9pre5 updates.
0

#12 User is offline

  • Group: Members
  • Posts: 37
  • Joined: 11-November 11

Posted 16 November 2011 - 06:57 PM

Okay.
in my new game i can't aford enought bookshelves (and i didn't find a spawner, so can't have xp lulz),
so i can't try repair item - but i hope it will be fine.

Also, good idea to destroy/place bookshelves for have the good level : in fact you just have to put a torch (or anything else ...) in the ground to "cut" the way table-bookshelves and low the level of enchanting.
I don't know if you understand ^^

Edit : Okay, easy to change the level, just put some Sticky Piston in the ground, to push some block near the table.
Add a button, if you need 50, don't use it, if you need 40, just push the button !
0

#13 User is offline

  • Group: Members
  • Posts: 51
  • Joined: 31-October 10

Posted 22 November 2011 - 08:10 AM

OMG-yes-TYYY

I HATE the current system. I dont want to click for a zillion minutes just for a lvl 50 item, which I would have to kill ~1700 hostile mobs for [without dieing]. It was unusable to me.
Hell, I spawned a total of 1792mobs [128mobs * 14runs] in creative fly mode [always crit] & that still took me about 30 minutes to do. After that, I had to mem-edit the enchantment table to give me a lvl 50 slot caz I was tired of clicking after 5 min. The enchantment results were unlucky...
I like this mod way better. :Diamond:

& now to wait for SMP support.
Posted Image OMG STUFF
0

#14 User is offline

  • Group: Members
  • Posts: 218
  • Joined: 28-January 11
  • Location: 262796904 <--- ocean seed, SPAWN IN AN OCEAN!

Posted 22 November 2011 - 08:15 AM

Is the "1.9PR" compatible with 1.0.0?
Spoiler

Are you raging at my post or because this is in Comic Sans? Mod advertising time! Posted Image
0

#15 User is offline

  • Group: Members
  • Posts: 39
  • Joined: 28-May 11

Posted 25 November 2011 - 07:31 PM

The bad news is that the 1.9pre5 release won't work with 1.0.0.

The good news is that now there's a 1.0.0 release! See the first post for the new download link. I'll keep the links to the pre5 releases available just in case anyone's curious.

I'm considering further tweaks to the enchantment system, possibly even adding bow enchantments! (I would put anything involving new enchantments in a separate mod. One of the pluses of Sensible Enchanting is that, like TooManyItems or SinglePlayerCommands, it won't mess up your world if you uninstall it or update to a new Minecraft version without it.)

SMP support would take some extra effort, as I would have to do some research into the server code and the various SMP APIs (Bukkit, etc.)--however, it's certainly not out of the question. ;)
0

#16 User is offline

  • Group: Members
  • Posts: 3
  • Joined: 30-October 11

Posted 26 November 2011 - 10:04 AM

I can only get lvl 38 enchantments even though i'm level 52. :(
Posted Image
Aussies are NOT the idiots of the global village!! Click the egg!
0

#17 User is offline

  • Group: Members
  • Posts: 4
  • Joined: 16-November 11
  • Location: Wantirna, Victoria, Australia
  • Minecraft: EnderBro11

Posted 26 November 2011 - 10:10 AM

same.
Posted Image
"I visited my doctor last week, and he told me I had to stop masturbating. I asked him why, surely it’s not dangerous. He said it was distracting him." ~Notch
0

#18 User is online

  • Group: Members
  • Posts: 118
  • Joined: 16-December 10
  • Minecraft: Corzancool

Posted 26 November 2011 - 03:07 PM

Thank you greatly. Bump for awesomeness.
I hand out rep like it's goin' out of style. Check out my profile(click 'About Me') to see the stuff I support.

View PostSOTMead, on 22 February 2012 - 08:07 PM, said:

There's a fine line between wearing a flame-retardant suit and a flaming retard suit.

0

#19 User is offline

  • Group: Members
  • Posts: 43
  • Joined: 05-September 11

Posted 26 November 2011 - 03:41 PM

I love you.
][CENTER]Posted Image[/CENTER
0

#20 User is offline

  • Group: Members
  • Posts: 126
  • Joined: 30-January 11

Posted 26 November 2011 - 08:45 PM

as much as i have been looking for a mod such as this, the fact it edits A LOT of base class files and has no modloader support is preventing me from downloading it

could you make a modloader version so that it has better compatibility?
0

Share this topic:


  • 6 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

8 User(s) are reading this topic
0 members, 8 guests, 0 anonymous users