mojira.dev
MC-217709

Grindstone doesn't give any EXP when writing a following command.

The Bug

When I write a command below, and disenchant the resulting item, the grindstone doesn't drop any EXP. They aren't even stuck in there; I tried to type command to kill them, it said: No entity was found.

Note

When I write the command with the max level on every enchantment, it works...

Command

/give @p bundle{CustomModelData:1,display:{Name:'[{"text":"Exp Bundle","italic":false,"color":"light_purple"}]',Lore:['[{"text":"!","italic":false,"obfuscated":true,"color":"aqua"},{"text":"1.17","obfuscated":false,"color":"#66ffcc"},{"text":" Only!","obfuscated":false},{"text":"!"}]']},Enchantments:[{id:aqua_affinity,lvl:1},{id:bane_of_arthropods,lvl:1},{id:blast_protection,lvl:2147483647},{id:channeling,lvl:1},{id:depth_strider,lvl:2147483647},{id:efficiency,lvl:2147483647},{id:feather_falling,lvl:2147483647},{id:fire_aspect,lvl:2147483647},{id:fire_protection,lvl:2147483647},{id:flame,lvl:1},{id:fortune,lvl:2147483647},{id:frost_walker,lvl:2147483647},{id:impaling,lvl:2147483647},{id:infinity,lvl:1},{id:knockback,lvl:1},{id:looting,lvl:1},{id:loyalty,lvl:2147483647},{id:luck_of_the_sea,lvl:2147483647},{id:lure,lvl:2147483647},{id:mending,lvl:1},{id:multishot,lvl:1},{id:piercing,lvl:2147483647},{id:power,lvl:2147483647},{id:projectile_protection,lvl:2147483647},{id:protection,lvl:2147483647},{id:punch,lvl:2147483647},{id:quick_charge,lvl:2147483647},{id:respiration,lvl:2147483647},{id:riptide,lvl:2147483647},{id:sharpness,lvl:1},{id:silk_touch,lvl:1},{id:smite,lvl:1},{id:soul_speed,lvl:2147483647},{id:sweeping,lvl:1},{id:thorns,lvl:2147483647},{id:unbreaking,lvl:2147483647}],HideFlags:4}

How to reproduce

  1. Write the command above into a command block (It could be any item, not just bundle).

  2. Activate it.

  3. Disenchant the item in the grindstone.

  4. ❌ No EXP found. Even if you remove the grindstone or type
    {{/kill @e[type=experience_orb] }}.

Linked issues

Attachments

Comments 2

Duplicate of MC-10755, high levels of effects and enchantments are not supported unfortunately.

[Mod] Asteraoth

Got experience when running the command without being above default values (MC-10755):

/give @p bundle{CustomModelData:1,display:{Name:'[{"text":"Exp Bundle","italic":false,"color":"light_purple"}]',Lore:['[{"text":"!","italic":false,"obfuscated":true,"color":"aqua"},{"text":"1.17","obfuscated":false,"color":"#66ffcc"},{"text":" Only!","obfuscated":false},{"text":"!"}]']},Enchantments:[{id:aqua_affinity,lvl:1},{id:bane_of_arthropods,lvl:1},{id:blast_protection,lvl:1},{id:channeling,lvl:1},{id:depth_strider,lvl:1},{id:efficiency,lvl:1},{id:feather_falling,lvl:1},{id:fire_aspect,lvl:1},{id:fire_protection,lvl:1},{id:flame,lvl:1},{id:fortune,lvl:1},{id:frost_walker,lvl:1},{id:impaling,lvl:1},{id:infinity,lvl:1},{id:knockback,lvl:1},{id:looting,lvl:1},{id:loyalty,lvl:1},{id:luck_of_the_sea,lvl:1},{id:lure,lvl:1},{id:mending,lvl:1},{id:multishot,lvl:1},{id:piercing,lvl:1},{id:power,lvl:1},{id:projectile_protection,lvl:1},{id:protection,lvl:1},{id:punch,lvl:1},{id:quick_charge,lvl:1},{id:respiration,lvl:1},{id:riptide,lvl:1},{id:sharpness,lvl:1},{id:silk_touch,lvl:1},{id:smite,lvl:1},{id:soul_speed,lvl:1},{id:sweeping,lvl:1},{id:thorns,lvl:1},{id:unbreaking,lvl:1}],HideFlags:4}

Timo Anishchuk

(Unassigned)

Unconfirmed

(Unassigned)

1.16.5, 21w08b

Retrieved