Modscraper Modscraper Minecraft
QSMP Code Weapons logo

QSMP Code Weapons

Mod

by dapperblaze

Code Weapons Recreated from the QSMP

Type

Mod

CurseForge Downloads

38,093

CurseForge ID

953006

Last Updated

Apr 13, 2026

Description

 

 

= PLEASE NOTE, THIS MOD IS NOT THE MOD USED BY NOR AFFILIATED IN ANY DIRECT WAY WITH THE QSMP, Quackity OR Quackity Studios. THIS IS A RECREATION OF THE CODE WEAPONS BASED ON THE QSMP =

 

= Please report any bugs you may encounter in comments! =

 

This mod adds Code Swords and CPV2 from the QSMP. These are recreated version which strive to function similarly. However, this mod also adds more unique code swords.

 

All of these swords are unobtainable in survival mode and must be given through /give or obtained through creative.

 

This mod adds the following:

 

CPV2

It functions the same as a shield, except it is unbreakable. It also protects the user from having their items be dropped through one of the swords. Intended more-so for non-code players.

 

Code Sword - (Code Sword)

It is the good old code sword. With 27 attack damage, 1 attack speed, it is a pretty powerful blade. It functions the same as a normal sword. Intended more-so for non-code players.

 

Strange Code Sword - (Purple Code Sword)

A recoloration of the code sword. It has the same stats as the Code Sword. Created mainly to be used as an alternative for the code sword (be it for storytelling, or a preference of color). Intended more-so for non-code players. 

 

From here on, items I will mention have special properties, that means when they are used/held, something will happen in certain situations. 

 

00100001 - ("!" in Binary / Stronger Code Sword)

This code sword is mainly intended for use by Binary Entities and alike. This sword possess 32 attack damage and 1.6 attack speed. It is able to kill pretty much anything incredibly quickly. However, when it is taken out through creative or given through commands, it will enchant itself with knockback 2 and curse of vanishing. When this code sword is given, it will also give the player 150 hearts (300 health), full armor bars, 15 armor toughness and a helmet which gives protection 20 (maximum functional protection level). These stats stay even if the helmet/code sword is thrown away, to see how they are removed, please look at "Code Remover" further down.

 

001111111 - ("?" in Binary / Stronger Purple Code Sword)

This code sword is mainly intended for use by Binary Entities and alike. This sword possess 32 attack damage and 1.6 attack speed. It is able to kill pretty much anything incredibly quickly. However, when it is taken out through creative or given through commands, it will enchant itself with curse of vanishing. When this code sword is given, it will also give the player 150 hearts (300 health), full armor bars, 15 armor toughness and a helmet which gives protection 20 (maximum functional protection level). These stats stay even if the helmet/code sword is thrown away, to see how they are removed, please look at "Code Remover" further down. This sword inflicts Wither 3 for 15 seconds on hit on an entity. While the other Stronger Code Sword allows for an enemy to escape using knockback 2, this sword is more focused on killing an enemy.

 

00101101 - ("-" in Binary / Red Code Sword)

This code sword is mainly intended for use by Binary Entities and alike. This sword possess 16 attack damage and 1 attack speed. This sword is meant to function more as a support weapon for the other code swords. When it is taken out through creative or given through commands, it will enchant itself with curse of vanishing. When this code sword is given, it will also give the player 150 hearts (300 health), full armor bars, 15 armor toughness and a helmet which gives protection 20 (maximum functional protection level). These stats stay even if the helmet/code sword is thrown away, to see how they are removed, please look at "Code Remover" further down. This sword inflicts Blindness for 5 seconds on hit on an entity. This sword also possess an incredibly powerful ability: On hit, it will force an entity to drop their mainhand item. Be it a player or a mob, they will drop their mainhand item. This sword does not do as much damage as the others due to this ability. 

 

Code Remover

When this item is right clicked, any of the items above which have special properties will dissapear from the inventory. This includes the helmet given by the swords. Any changes in stats will also be reset (10 hearts, no natural armor, no natural armor toughness). Do know, it is better to use this in survival since you will be able to see your hearts set back to 10 instantly. (There is a visual glitch where if you do it in creative and switch to survival, it will look like you still have 150 hearts, simply take any amount of damage and it'll set itself back. 

 

Going forward from here, I will describe the "customizer" items. These items allow you to change your stats in some way. (Do note, this utilized the /attribute command, while messing with the /attribute command should not necessarily break the mod in any way, do know the variable that is used by the extra attack damage and armor toughness items will not change to what you set the /attribute command to.) (All of these so far were added in version 1.1.0)

 

Heart Adder

When this item is right clicked, you will gain one heart of maximum health. If you are shifting, you will gain five hearts of maximum health. (Max HP is 500 Hearts)

Heart Remover 

When this item is right clicked, you will lose one heart of maximum health. If you are shifting, you will lose five hearts of maximum health. (Min HP is 8 hearts when a stat altering code weapon is not held, otherwise min HP is 40 hearts.)

Attack Adder 

When this item is right clicked, you will gain one extra attack damage. If you are shifting, you will gain five extra attack damage. (Max Extra Attack Damage is 500)

Attack Remover

When this item is right clicked, you will lose one extra attack damage. If you are shifting, you will lose five extra attack damage. (Min Extra Attack Damage is -100)

Armor Toughness Adder

When this item is right clicked, you will gain one armor toughness. If you are shifting, you will gain five armor toughness. (Max armor toughness is 20)

Armor Toughness Remover

When this item is right clicked, you will gain one armor toughness. If you are shifting, you will gain five armor toughness. (Min armor toughness is 0)

(Armor Toughness is a mechanic which dictates how effectively damage is reduced by the amount of armor you have. If you have 20 armor and no armor toughness, you will block the maximum 80% you can block using the armor if you take 1 damage. However, the more damage you take, the lower the effective percentage becomes without armor toughness. Armor Toughness reduces loss of effectiveness in armor, 20 being the maximum where the 80% (for full armor bars) is constant no matter the damage amount, hence 20 being maximum.)

Flight Toggler

Toggles flight. (Allows you to fly in survival.)

Full Health

Sets you to full health.

 

 

===

 

This is everything that the mod adds so far, if you have any suggestions, ideas, anything whatsoever, let me know in the comments!

 

Ideas so far:
Add "Code Food" which slowly overtime corrupts the player into becoming a code monster. 

Advancements relating to mod.

 

==

 

Do know that for servers this mod is needed both client-side and server-side.

 

==

 

If you have any inquiries outside of the above, please message me or leave a comment.

 

==

Welcome to Chimichanga Island!

Join our Server of 250+ Members:

Our server includes player country flags, voice chat, custom nicknameseggs etc.

The world consists of various dungeons, mobs, egg eventseggspublic events, unique lore, and more!
Everyone is welcomed! Join our community on Discord using this link: https://discord.gg/Y6GF6tKhCa, and follow the instructions to gain access to the server.

Visit our modpack here: QFS Modpack

I hope you enjoy the island
Disfruta la isla
Aproveite a ilha
J'espère que vous appréciez l'île
============================================================

Modpack permissions:
You are allowed to use the QSMP Code Weapons mod in any kind of modpack, as long as you credit back this mod page. Thank you.

============================================================

 

Models and textures created by Cutey61665 https://sketchfab.com/wolfyplays76 and used for this project. (Thank you so much for creating such amazing models <3)
Textures modified by DapperBlaze.

Similar Mods

Included in Modpacks

External Resources