<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:08:07 UTC 2025

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Mojang Studios Jira</title>
    <link>https://bugs.mojang.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en</language>    <build-info>
        <version>9.12.2</version>
        <build-number>9120002</build-number>
        <build-date>10-01-2024</build-date>
    </build-info>


<item>
            <title>[MC-5506] Villagers offer Enchanted Book trades you can&apos;t possibly do</title>
                <link>https://bugs.mojang.com/browse/MC-5506</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;Librarian Villagers will sometimes offer Enchanted Book&apos;s with an emerald cost higher than 64, which is impossible to trade for.&lt;/p&gt;

&lt;p&gt;Example: Bane of Arthropods V for 66 Emeralds. (Uploaded zip, coords 7147, 38, -4835)&lt;/p&gt;</description>
                <environment>All</environment>
        <key id="18127">MC-5506</key>
            <summary>Villagers offer Enchanted Book trades you can&apos;t possibly do</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="5" iconUrl="https://bugs.mojang.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="fmk">Kyle Egli</reporter>
                        <labels>
                    </labels>
                <created>Sat, 29 Dec 2012 03:12:01 +0100</created>
                <updated>Mon, 14 Jul 2014 08:15:59 +0200</updated>
                            <resolved>Fri, 24 Jan 2014 14:36:04 +0100</resolved>
                                    <version>Minecraft 1.4.6</version>
                    <version>Minecraft 1.5.2</version>
                    <version>Minecraft 1.6.2</version>
                    <version>Minecraft 1.6.4</version>
                    <version>Minecraft 1.7.4</version>
                                    <fixVersion>Minecraft 14w02c</fixVersion>
                                                        <votes>14</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="139791" author="cloudecraft2013" created="Wed, 12 Feb 2014 04:48:20 +0100"  >&lt;p&gt;Why not allow villagers to have a trade quota, you can give them a &quot;Pay&quot; button so the number of emeralds will go down with each pay. That way you can pay in multiple stacks if one of the slots must be occupied as well. It will only get the required items using Pay buttons. This idea resolves most of the trading problems.&lt;/p&gt;</comment>
                            <comment id="133840" author="fmk" created="Thu, 23 Jan 2014 11:05:10 +0100"  >&lt;p&gt;Yes, it appears the new trading properly caps the maximum amount of emeralds at 64.&lt;/p&gt;</comment>
                            <comment id="132447" author="galaxy_2alex" created="Fri, 17 Jan 2014 23:08:41 +0100"  >&lt;p&gt;Has this been fixed due to the recent changes to Villager trading?&lt;/p&gt;</comment>
                            <comment id="129364" author="antofthy" created="Tue, 7 Jan 2014 00:32:24 +0100"  >&lt;p&gt;Why not just cap the maximum number of emeralds needed for level V enchanted books to 64.&lt;/p&gt;

&lt;p&gt;That would be a very very simple fix!&lt;/p&gt;</comment>
                            <comment id="89495" author="glitchreaper" created="Thu, 11 Jul 2013 23:01:33 +0200"  >&lt;p&gt;This could be resolved if Block of Emerald counted as 9 Emerald for the purpose of trading and they left your change in the GUI.&lt;/p&gt;</comment>
                            <comment id="67175" author="bljat" created="Sat, 18 May 2013 17:41:14 +0200"  >&lt;p&gt;Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.&lt;/p&gt;</comment>
                            <comment id="31733" author="fmk" created="Mon, 31 Dec 2012 16:40:27 +0100"  >&lt;p&gt;Oh, I had misread, my bad.&lt;/p&gt;</comment>
                            <comment id="31722" author="banana478" created="Mon, 31 Dec 2012 15:13:22 +0100"  >&lt;p&gt;That is what I just said, Kyle.&lt;/p&gt;</comment>
                            <comment id="31711" author="kumasasa" created="Mon, 31 Dec 2012 11:12:41 +0100"  >&lt;p&gt;Confirmed with the attached world&lt;/p&gt;</comment>
                            <comment id="31677" author="fmk" created="Mon, 31 Dec 2012 03:06:19 +0100"  >&lt;p&gt;Well not exactly, since the ranges are based on the enchantment level too:&lt;br/&gt;
Level 1:  5-20&lt;br/&gt;
Level 2:  8-33&lt;br/&gt;
Level 3: 11-46&lt;br/&gt;
Level 4: 14-59&lt;br/&gt;
Level 5: 17-71&lt;/p&gt;</comment>
                            <comment id="31508" author="banana478" created="Sun, 30 Dec 2012 16:00:53 +0100"  >&lt;p&gt;From this, it looks like a level five enchantment could theoretically cost up to 71 emeralds. I guess this is confirmed.&lt;/p&gt;</comment>
                            <comment id="31497" author="fmk" created="Sun, 30 Dec 2012 08:08:16 +0100"  >&lt;p&gt;Yes, the villager / world in question is from a bukkit server with some plugins, but none of which affect the villager trading calculations. As I&apos;d rather not spend another 10+ hours of trying to get lucky, especially since someone has already dug into the code on how the trade costs are calculated. ( &lt;a href=&quot;http://www.minecraftwiki.net/wiki/Talk:Trading#Enchanted_Books&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.minecraftwiki.net/wiki/Talk:Trading#Enchanted_Books&lt;/a&gt; )&lt;/p&gt;

&lt;p&gt;Edit: Though if someone else wants to get another occurrence of this, be my guest.&lt;/p&gt;</comment>
                            <comment id="31391" author="banana478" created="Sat, 29 Dec 2012 16:28:28 +0100"  >&lt;p&gt;How did you get the colored signs? That seems to point to a non-vanilla world.&lt;/p&gt;</comment>
                            <comment id="31361" author="truckmuddr" created="Sat, 29 Dec 2012 05:56:54 +0100"  >&lt;p&gt;Here&apos;s a screenshot of the trading gui.&lt;/p&gt;

&lt;p&gt;adding link cause I couldn&apos;t get the attact screenshot to work.&lt;br/&gt;
&lt;a href=&quot;https://dl.dropbox.com/u/18835236/Games/Minecraft/issues/javaw%202012-12-28%2023-46-51-76.png&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://dl.dropbox.com/u/18835236/Games/Minecraft/issues/javaw%202012-12-28%2023-46-51-76.png&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;off-topic.. that&apos;s a nice way of transporting items,  the water/ice pathway&lt;/p&gt;</comment>
                            <comment id="31360" author="fmk" created="Sat, 29 Dec 2012 04:58:35 +0100"  >&lt;p&gt;Added the file. Note that I deleted all the unrelated chunks to reduce file size, coords of the villager are x: 7147, y: 38, z: -4835&lt;/p&gt;</comment>
                            <comment id="31356" author="banana478" created="Sat, 29 Dec 2012 04:01:46 +0100"  >&lt;p&gt;Can you attach a world with one of these trades?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="41559">MC-22458</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="47200">MC-27294</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="58142">MC-36160</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="58518">MC-36419</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="58741">MC-36625</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="79415">MC-53214</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="87075">MC-59836</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="89249">MC-61930</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="16225" name="66EmTrade.zip" size="5096014" author="fmk" created="Sat, 29 Dec 2012 05:05:53 +0100"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sat, 26 Jan 2013 20:40:00 +0100</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10303"><![CDATA[Confirmed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_11700" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10501" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Game Mode</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10304"><![CDATA[Survival]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0egv3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>