PC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Crashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteiTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more
You cannot give a vanilla Minecraft Bedrock item a level-255 enchantment with a command. Bedrock’s /enchant command checks each enchantment’s normal maximum. For example, Sharpness accepts levels 1–5, Protection 1–4, and Unbreaking 1–3. Entering 255 is outside those supported ranges.
The Java Edition command often shared online does not work in Bedrock either. Java and Bedrock use different command and item-data systems.
Why the usual command does not work
This command is valid only for current Java Edition syntax, not vanilla Bedrock:
/give @p minecraft:netherite_sword[enchantments={sharpness:255}]
Bedrock’s /give command does not support Java’s enchantments={...} item component for creating arbitrary enchantment levels. Bedrock documents /give in this general form:
#1 Best Overall
/give <player> <item> [amount] [data] [components]
Its components can handle certain item properties, such as minecraft:can_destroy, but they do not provide a vanilla way to attach a level-255 Sharpness, Protection, or other standard enchantment.
What happens with /enchant on Bedrock?
The normal Bedrock command is:
/enchant <player> <enchantmentName> [level]
For example, this gives a nearby player the highest normal Sharpness level:
/enchant @p sharpness 5
This command does not bypass enchantment limits. The following is not a valid vanilla solution:
/enchant @p sharpness 255
Depending on the Bedrock version and context, the command may report an invalid level, fail to execute, or refuse to apply the enchantment. It will not produce a genuine level-255 vanilla enchantment.
Rank #2
Highest normal Bedrock enchantment levels
| Enchantment | Maximum level | Example |
|---|---|---|
| Sharpness | 5 | /enchant @p sharpness 5 |
| Protection | 4 | /enchant @p protection 4 |
| Efficiency | 5 | /enchant @p efficiency 5 |
| Fortune | 3 | /enchant @p fortune 3 |
| Looting | 3 | /enchant @p looting 3 |
| Unbreaking | 3 | /enchant @p unbreaking 3 |
The command requires cheats in a single-player world or suitable permissions on a server. To enable cheats in an existing Bedrock world, open the pause menu, select Settings, open the Game section, and enable Activate Cheats. Enabling cheats disables achievements for that world.
Available ways to create a similar effect in Bedrock
1. Use the maximum normal enchantment
If you only need a powerful item and do not specifically need the number 255, use the normal maximum:
/give @p diamond_sword 1/enchant @p sharpness 5/enchant @p looting 3/enchant @p unbreaking 3
Apply the commands while the target player is holding the appropriate item. Bedrock will still enforce whether an enchantment is compatible with the held item.
2. Install a Bedrock add-on
A behavior-pack or add-on can create custom weapons, custom damage behavior, effects, or other mechanics that imitate an overpowered enchantment. This is a modification of the game’s behavior, not a vanilla level-255 enchantment created by /give.
Rank #3
Use an add-on from a source you trust, check that it supports your Bedrock version, and make a backup before applying it to an important world. Add-ons may stop working after a game update.
3. Use an external world or inventory editor
Some external tools can modify Bedrock world or player data. Their support varies by platform, file format, and game version. They may also corrupt a world, remove achievements, or violate the rules of a server or Realm.
This is not a command-based solution, and it is particularly unsuitable for multiplayer unless the server owner explicitly permits it. Always make a copy of the world before editing its files.
Do these 3 things before closing this tab:
1Scan for outdated or missing drivers - takes under a minute2Clear out junk files and repair common Windows errors3Fix the driver behind crashes, sound loss and screen glitchesDo not use old Java commands from tutorials
Several commands still appear in search results but belong to older Java Edition versions or use Java-only syntax.
Rank #4
/give @p minecraft:diamond_sword{Enchantments:[{id:"minecraft:sharpness",lvl:255s}]} 1
The older curly-brace NBT form is not the current format for modern Java item commands and is not a Bedrock command. The newer Java 1.21.5+ format is also not portable to Bedrock:
/give @p minecraft:diamond_sword[enchantments={sharpness:255}]
That command is useful when the instructions specifically say Java Edition 1.21.5 or newer. It does not work as a vanilla Bedrock equivalent.
Why level 255 is not available through normal gameplay
Enchanting tables, villagers, loot, and ordinary anvil use only produce supported enchantment levels. Level 255 is a command or data-manipulation value in Java, not a level obtainable through standard Minecraft gameplay.
Even where a high enchantment value can be stored, the gameplay effect is not guaranteed to increase forever. Individual enchantments can have separate limits or implementation behavior, so a stored value of 255 does not automatically mean 255 times the normal effect.
Best Value
Quick troubleshooting
- Check the edition. The Java command with square-bracket enchantment components is not a Bedrock command.
- Check permissions. Cheats must be enabled in a single-player world, and servers require command permission.
- Check the item in your hand.
/enchantapplies to the selected item and refuses incompatible enchantments. - Use the supported maximum. Replace
255with the enchantment’s Bedrock maximum, such as5for Sharpness or4for Protection. - Do not mix add-on instructions with vanilla commands. An add-on may add custom behavior, but that does not make Java item-component syntax valid in Bedrock.
FAQ
Can I use /enchant @p sharpness 255 in Minecraft Bedrock?
No. Bedrock’s vanilla /enchant command enforces the supported level range. Sharpness is limited to level 5, so level 255 will not be applied.
Does /give @p netherite_sword[enchantments={sharpness:255}] work on Bedrock?
No. That is Java Edition item-component syntax. Bedrock does not provide the same vanilla enchantments component for arbitrary enchantment levels.
What is the highest Sharpness level I can get with a Bedrock command?
Sharpness 5, using /enchant @p sharpness 5 while holding a compatible item.
Can a Bedrock add-on provide level-255 enchantments?
An add-on can create custom items or behavior that imitates an extremely powerful enchantment. That is different from creating a standard vanilla level-255 enchantment through /give or /enchant.
Do cheats need to be enabled?
Yes. Commands require cheats in a single-player Bedrock world, or the appropriate command permissions on a server. Enabling cheats disables achievements in that world.
The Bottom Line
There is no vanilla Bedrock command for a genuine level-255 enchantment. Use /enchant with the normal maximum, such as /enchant @p sharpness 5, or use a compatible add-on or external editor if you need a custom overpowered effect. Commands using Java’s [enchantments={...}] syntax should not be used as Bedrock instructions.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.
The Tool Desk
Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →

