What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
In Minecraft Java Edition 1.21.5 or later, use this command in a world where you’re allowed to run commands:
/give @s minecraft:netherite_sword[enchantments={sharpness:255}] 1
This creates a netherite sword with Sharpness 255. You can replace minecraft:netherite_sword with another sword item ID, such as minecraft:diamond_sword.
How to use the command
- Open a Java Edition world or server where you have permission to use commands.
- Enter
/give @s minecraft:netherite_sword[enchantments={sharpness:255}] 1in chat or the command interface. - Check your inventory for the sword. The
@sselector gives the item to the player executing the command.
The command uses square brackets for item components and an inline enchantment map. Mojang’s Java Edition 1.21.5 notes show that the enchantments component was simplified by inlining its levels field; the earlier form was enchantments={levels:{sharpness:2}}. The current command syntax is documented in Mojang’s Java Edition 1.21.5 release notes and Snapshot 24w09a notes.
What “Sharpness 255” means
Sharpness 255 is an over-levelled sword created with a command, not an item obtained through ordinary enchanting. Mojang’s Java Edition 1.20.5 technical notes specify that enchantment levels are integers from 0 through 255, making 255 the documented upper bound for this component format: Java Edition 1.20.5 release notes.
#1 Best Overall
- Bring the world of Minecraft to life with role-play battle toy accessories, like this Diamond Sword!
- The life size battle piece fits a child's hand when fighting skeletons or fending off zombies!
- The design stays true to the unique, pixelated world of Minecraft!
- Fans can capture the thrill of playing out Minecraft scenarios in real life with the iconic sword!
- Makes a great gift for video-game players and fans ages 6 years old and up!
Edition and version differences
Java Edition 1.21.5 and later
Use the command above, which uses the simplified component syntax introduced in Java Edition 1.21.5.
Java Edition 1.20.5 through 1.21.4
Java 1.20.5 introduced component-based item formatting and documents the 0–255 enchantment level range. However, the enchantments component syntax changed in 1.21.5, so don’t assume the current inline form works unchanged in earlier versions.
Rank #2
- The product is a 4-piece set made of EVA material, safe for gamers of all ages.
- Perfect for imaginative play, enhance your role-play experience with our toy weapon set including sword, axe, pickaxe and shovel.
- Realistic toy weapons are suitable for a variety of role play accessories to complete your costume,also great for room decoration and theme parties.
- These toys are perfect gifts for kids on Halloween,Christmas, birthdays or any occasion,providing endless fun and entertainment.It will make their costumes stand out from the crowd.
- If you are a game fan like me,you will love receiving these toys as gifts. If you have any questions,please contact us.Customer service will handle it for you within 24 hours.We are very happy to help you!
Older Java command examples
Older guides may use item NBT syntax such as {Enchantments:[...]}. That legacy format is different from the current square-bracket component format; don’t combine the two. The Minecraft Wiki’s Useful commands tutorial includes historical custom-enchantment examples.
Bedrock Edition
This is a Java Edition command, not a Bedrock Edition instruction. The Bedrock /give command has a different argument structure, and the sources cited here do not establish that it can create Sharpness 255. Check documentation for your specific Bedrock release or add-on environment before trying an alternative.
Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchPC 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 & 11Quick Recap
Best Value
- 【Size】:About 17.7 Inch(45 cm).A life-size double-sided foam sword,It's an ideal tool for gamers of all ages.Hold it, as if entering the game world, so you and a friend can create your own play scenes.
- 【Safe And Durable】:Made from non-toxic and environmentally friendly materials,full of durable, heavy EVA foam, Give you better skin touch feeling and no sticks are used inside.
- 【Suitable for Various Occasions】:This pixel sword is perfect for use as a prop in school plays, or for internet themed parties, birthday parties, Halloween and costume parties.
- 【Great Sword Toys】:These foam swords are very suitable for children to use and play, and are completely safe for children.Also ideal as rewards, prizes, and giveaways.
Rank #4
- Bring the world of Minecraft to life with the kid-sized Minecraft Transforming Diamond Sword and Pickaxe!
- The dynamic 2-in-1 tool transforms from pickaxe to sword with one swift motion -- just push or pull to switch!
- The large-scale toy feels great in kids' hands when mining blocks or fending off zombies -- the perfect accessory for any video gamer!
- Fans will love the excitement of playing out Minecraft scenarios in the real world -- mine for ore, fight mobs, then go back to mining!
- Makes a cool gift or costume accessory for video game players and fans ages 6 years and older who love exploration, creativity and survival -- the Minecraft way!
Rank #3
- OFFICIALLY LICENSED MINECRAFT COSTUME PROP – Gear up for adventure with this Minecraft Diamond sword, the perfect accessory for any young warrior or fan of the game
- GAMEPLAY MINECRAFT SWORD DESIGN – This Minecraft sword toy features the iconic pixelated look straight from the game, making it a must have for costumes and imaginative play
- ONE TOY SWORD MEASURES: 20.25" L X 10" W – This Minecraft costume sword is lightweight, easy to wield, and great for completing any Minecraft outfit
- DURABLE & SAFE FOR KIDS – Made from sturdy material, this Minecraft toy sword is designed for safe roleplaying, Halloween dress-up
- PERFECT FOR HALLOWEEN & GAMING EVENTS – Whether for cosplay, trick-or-treating, or collecting Minecraft swords for kids, this enchanted sword is the ultimate costume accessory - spot cleaning recommended.
If the command does not work
- “Unknown or incomplete command”: Confirm that the game is Java Edition 1.21.5 or later and that the command matches the version’s component syntax.
- You cannot run commands: Your world or server must permit you to use commands. The required permission depends on its settings.
- You are using a different sword: Change only the item ID—for example, use
minecraft:diamond_swordin place ofminecraft:netherite_sword. - You are on Bedrock Edition: Do not use this Java command as a Bedrock solution; its syntax and support are not established here.
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.




