Recommended Free Tools
In Minecraft Java Edition 1.21.5 and later, use this command to give yourself a diamond sword with Knockback 255:
/give @s minecraft:diamond_sword[minecraft:enchantments={"minecraft:knockback":255}]
How to get a Knockback 255 sword
- Open chat or the command input for your Java Edition world.
- Enter
/give @s minecraft:diamond_sword[minecraft:enchantments={"minecraft:knockback":255}]and run it. - To give the sword to a different player, replace
@swith that player’s name or an appropriate selector.
To use another sword material, replace diamond_sword with that sword’s item ID.
Which Minecraft versions support this syntax?
This exact command is for Java Edition 1.21.5 and later. Java 1.20.5 replaced the older item NBT command format with structured item components in commands such as /give. Java 1.21.5 then simplified enchantment component notation. The official Java 1.20.5 release notes document the component change; the Java 1.21.5 release notes show the simplified form.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
#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!
Java 1.20.5 through 1.21.4
Those versions use the earlier component form, with enchantment levels inside a levels map:
/give @s minecraft:diamond_sword[minecraft:enchantments={levels:{"minecraft:knockback":255}}]
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!
Java before 1.20.5
The command above will not work with pre-1.20.5 item syntax. The command format changed with the component update, so use instructions written for your exact older Java version rather than pasting the current component command.
Does this command work in Bedrock Edition?
No. The command shown here uses Java Edition item components. Bedrock has a separate /give argument format; consult Microsoft’s Bedrock /give command reference for its syntax. Do not paste the Java command into Bedrock and expect it to work.
Do these 3 things before closing this tab:
1Repair Windows errors before they cause bigger problems2Fix the driver behind crashes, sound loss and screen glitches3Clear out junk files and repair common Windows errorsRank #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.
Why is Knockback set to 255?
Java Edition’s 1.20.5 release notes specify enchantment component levels as integers from 0 to 255. That makes 255 a documented component value, even though it is far above the levels normally obtained through ordinary gameplay. The official Java 1.21 notes describe the enchantment system and Knockback’s effect.
Quick 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!
If the command fails
- Syntax or parsing error: Confirm that the game is Java Edition 1.21.5 or later. For Java 1.20.5–1.21.4, use the earlier
levelsform above. - Unknown or invalid item: Check the sword item ID and spelling, or use
minecraft:diamond_swordexactly. - Permission error: Check command access for that specific world or server. The command syntax does not grant permission to run commands.
- Playing Bedrock: Use Bedrock-specific command guidance; Java item-component syntax is not interchangeable.
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.




