The Super Boots Addon!
- ObiloxYT
- Apr 25
- 2 min read
Updated: Apr 27

/*----------------------------------------------------------------------------------------------------------------------*/
We all know- Diamond Boots are the best boots in the game.
..... but.... they dont do much except protection...
So, i present to you, the SUPER BOOTS!


The mod conflicts with Super Pickaxes,Rainbow Capes and Sit Addon

World Code
tick = () => {
let playerIds = api.getPlayerIds();
playerIds.forEach(myId => {
let boots = api.getItemSlot(myId, 50);
if (boots?.name === "Red Wood Boots" && boots?.attributes?.customDisplayName === "Super Boots") {
api.applyEffect(myId, "Speed", 1000, { inbuiltLevel: 3 });
api.applyEffect(myId, "Jump Boost", 1000, { inbuiltLevel: 1 });
}
});
};
function onPlayerDamagingOtherPlayer(attackerId, damagedId, damage, item, bodyPart, adbid) {
let bootsWoreByDamaged = api.getItemSlot(damagedId, 50);
if (bootsWoreByDamaged?.name === "Red Wood Boots" && bootsWoreByDamaged?.attributes?.customDisplayName === "Super Boots") {
let oldHealth = api.getHealth(damagedId);
api.setHealth(damagedId, oldHealth + (damage / 2));
}
}
Code Block
api.giveItem(myId, "Red Wood Boots", 1, {customDisplayName: "Super Boots"})

You get SPEED and JUMP BOOST when you wear this special kind of boots.
You get 50% Less Damage if a player hits you.
It doesnt break with Red Wood Boots.

Dont change the customDisplayName! To change it, Modify these lines: II
WORLD CODE:
bootsWoreByDamaged?.attributes?.customDisplayName === "Super Boots"boots?.attributes?.customDisplayName === "Super Boots" CODE BLOCK:
api.giveItem(myId, "Red Wood Boots", 1, {customDisplayName: "Super Boots"})Replace "Super Boots" with whatever name you want.
Dont change the item name! To change it, Modify these lines. II
WORLD CODE:
boots?.name === "Red Wood Boots" && bootsWoreByDamaged?.name === "Red Wood Boots" && CODE BLOCK:
api.giveItem(myId, "Red Wood Boots", 1, {customDisplayName: "Super Boots"})Change "Red Wood Boots" to whatever boot you want.
items except boots wont work because they cant be put in a boot armor slot.
3. To change the damage reduced by boots, modify this line: II
api.setHealth(damagedId, oldHealth - (damage / 2));change '/ 2' to any equation you want.
To change the effects from wearing the boots, modify these lines: II
api.applyEffect(myId, "Speed", 1000, { inbuiltLevel: 3 });api.applyEffect(myId, "Jump Boost", 1000, { inbuiltLevel: 3 });modify "Speed" and "Jump Boost" to any effect you want.
here's a list of all the effects:
"Damage" | "Damage Reduction" | "Speed" | "VoidJump" | "Fist" | "Frozen" | "Hydrated" | "Invisible" | "Jump Boost" | "Poisoned" | "Slowness" | "Weakness" | "Health Regen" | "Haste" | "Heat Resistance" | "Gliding" | "Boating" | "Obsidian Boating" | "Bunny Hop" | "FallDamage" | "Feather Falling"modify the inbuiltLevel numbers to the level of effect you want.
Thanks for using my second addon!
Comments