Minecraft /attribute command generator
Pick your server's version, who you change and which attribute: shrink or grow, get more hearts, run, jump or fall like on the Moon. The command shows up below, written the way that version understands it, ready to copy.
Size: 0.5 is half as tall, 2 is double. On a player, by default: 1. Allows 0.0625 to 16. Since 1.20.5.
To start with: · · · · ·
/attribute YourName minecraft:scale base set 0.5In the panel's “Console”, without the slash.
How /attribute has changed
It's the command that has changed the most in a short time, which is why half of what gets copied from videos doesn't work:
- 1.21.4 onwards (and 26.x):
/attribute YourName minecraft:scale base set 0.5, andbase resetto go back to the default. - 1.21.2 and 1.21.3: the same, but without
base reset. - 1.21 and 1.21.1: with a prefix,
minecraft:generic.scale; modifiers already use an id (napnodes:fast). - 1.20.5 and 1.20.6: with a prefix, and modifiers with a UUID and a name in quotes.
- 1.16 to 1.20.4: like the previous one, but the ways of adding are called
add,multiply_baseandmultiply(later,add_value,add_multiplied_baseandadd_multiplied_total). And there's noscale, gravity or player jump: they arrived in 1.20.5.
It comes from the command tree of each version of the official server. Everything is worked out in your browser.
base set or modifier
base set changes the base value and that's it: it's what you want almost every time. A modifier is added on top with its own name, and can be removed without touching anything else: useful when several things change the same attribute (an event, a rank, an item) and you want to remove only yours. Up to 1.20.6 modifiers carry a UUID: here it comes from its name, so with the same name the remove command gets the same UUID.
All 40 Minecraft attributes
With their id, the name the game gives them, what each one allows and, for the most used, what a player has by default.
| Air Drag Modifier (26.2+) | air_drag_modifier |
|---|---|
| Armor | armor · 0 to 30 |
| Armor Toughness | armor_toughness · 0 to 20 |
| Attack Damage | attack_damage · 0 to 2048 |
| Attack Knockback | attack_knockback · 0 to 5 |
| Attack Speed | attack_speed · 0 to 1024 |
| Name Tag Score Distance (26.2+) | below_name_distance |
| Block Break Speed (1.20.5+) | block_break_speed · 0 to 1024 |
| Block Interaction Range (1.20.5+) | block_interaction_range · 0 to 64 · player: 4.5 |
| Bounciness (26.2+) | bounciness |
| Burning Time (1.21+) | burning_time · 0 to 1024 |
| Camera Distance (1.21.6+) | camera_distance · 0 to 32 |
| Entity Interaction Range (1.20.5+) | entity_interaction_range · 0 to 64 · player: 3 |
| Explosion Knockback Resistance (1.21+) | explosion_knockback_resistance · 0 to 1 |
| Fall Damage Multiplier (1.20.5+) | fall_damage_multiplier · 0 to 100 |
| Flying Speed | flying_speed · 0 to 1024 |
| Mob Follow Range | follow_range · 0 to 2048 |
| Friction Modifier (26.2+) | friction_modifier |
| Gravity (1.20.5+) | gravity · -1 to 1 · player: 0.08 |
| Jump Strength | jump_strength · 0 to 32 · player: 0.42 |
| Knockback Resistance | knockback_resistance · 0 to 1 |
| Luck | luck · -1024 to 1024 |
| Max Absorption (1.20.2+) | max_absorption · 0 to 2048 |
| Max Health | max_health · 1 to 1024 · player: 20 |
| Mining Efficiency (1.21+) | mining_efficiency · 0 to 1024 |
| Movement Efficiency (1.21+) | movement_efficiency · 0 to 1 |
| Speed | movement_speed · 0 to 1024 · player: 0.1 |
| Name Tag Distance (26.2+) | name_tag_distance |
| Oxygen Bonus (1.21+) | oxygen_bonus · 0 to 1024 |
| Safe Fall Distance (1.20.5+) | safe_fall_distance · -1024 to 1024 · player: 3 |
| Scale (1.20.5+) | scale · 0.0625 to 16 · player: 1 |
| Sneaking Speed (1.21+) | sneaking_speed · 0 to 1 |
| Zombie Reinforcements | spawn_reinforcements · 0 to 1 |
| Step Height (1.20.5+) | step_height · 0 to 10 · player: 0.6 |
| Submerged Mining Speed (1.21+) | submerged_mining_speed · 0 to 20 |
| Sweeping Damage Ratio (1.21+) | sweeping_damage_ratio · 0 to 1 |
| Mob Tempt Range (1.21.2+) | tempt_range · 0 to 2048 |
| Water Movement Efficiency (1.21+) | water_movement_efficiency · 0 to 1 |
| Waypoint Receive Range (1.21.6+) | waypoint_receive_range · 0 to 60000000 |
| Waypoint Transmit Range (1.21.6+) | waypoint_transmit_range · 0 to 60000000 |
The ranges are those of 26.1; attributes that arrived later don't have one yet in the data they come from.
Frequently asked questions
Why does /attribute with generic.scale give an error?
Because since 1.21.2 attributes have no prefix: minecraft:scale, minecraft:max_health, minecraft:movement_speed. generic. (and the player. of block_interaction_range) is from 1.21.1 and older. Pick your version above and the generator writes it the way it understands.
How do I run /attribute on every player?
With “All players”: /attribute works on a single entity and with @a it gives the “Only one entity is allowed” error, so the generator writes it with execute as @a run attribute @s …, which repeats it on each one.
How do I go back to my normal size (or health)?
With “Back to default”: base reset, which exists since 1.21.4. Older versions don't have it, and the generator sets a player's value with base set (scale 1, health 20, speed 0.1…).
Is it lost on death?
What you changed with base set goes back to its value on respawn. Leaving and rejoining or restarting the server keeps it, because it's saved with the player.
Where do I type the command?
In the game chat, with the slash in front, if you're an operator (op). Or in the server console, without the slash; from the console you're nobody, so with “One player” use their name instead of @s.
Does it work for Bedrock?
No: /attribute is a Minecraft Java command (Paper, Fabric, Forge, NeoForge and the official server). Bedrock doesn't have it.
No server yet?
At NapNodes you get a free Minecraft server, no card, on Paper and the latest version, so /attribute uses today's names; you type it in the panel's “Console”. And if you want to play with no queues and the server always on, the plans have RAM reserved for you alone, with the service status public on the status page.
Everything explained in the /attribute guide. More commands: /effect command generator and /summon command generator (to spawn a mob already changed).
Guides that explain it
The /attribute Command in Minecraft: Size, Health, Speed and Jump
How to use /attribute on your Minecraft server: make yourself tiny or giant with scale, get more hearts, run and jump further, and put everything back.
The /summon Command in Minecraft: Spawn Mobs With a Name, Gear and Health
How to use /summon in today's Minecraft: named mobs, no AI, babies, armour or more health, riders, the usual errors and how to use it from the console.
The /effect Command in Minecraft: Give Effects, Make Them Infinite and Clear Them
How to use /effect in Minecraft: infinite night vision, speed or strength at any level, no particles, clearing effects and the list of all 41 effect IDs.
The /execute Command in Minecraft: as, at, if, store and run With Examples for Your Server
How /execute works in Minecraft Java: the difference between as and at, if and unless for conditions, store to save numbers, and examples for your server.
More free tools
Is my Minecraft server online?
Type a Minecraft server address and see whether it responds, how many are playing, its version and its MOTD.
Is Minecraft down?
Checks Mojang's servers right now (accounts, skins, names, chat and launcher) and tells you whether the problem is theirs or your server's.
Is my Valheim server online?
Type a Valheim server's address and port and see whether it responds, how many are playing and its name.
Is my Project Zomboid server online?
Type a Project Zomboid server's address and port and see whether it responds, how many are playing and its name.
Is my port open?
Check from the internet whether your home server's port is open (Minecraft, Valheim, Zomboid) and whether your ISP uses CG-NAT.
Minecraft RAM calculator
How many GB your Minecraft server needs for its plugins or mods, the players online at once and the view distance.
How much RAM do I need? (every game)
Minecraft, Hytale, Project Zomboid, Valheim or a Discord bot: pick the game, players and mods, and see the plan that fits.
server.properties editor
Paste your server.properties, change each option with a plain-English explanation and download it. It flags the ones that no longer work.
Minecraft color codes
Minecraft's colours and styles in “&”, “§”, hex and MiniMessage, and a converter to move your text from one to another.
MOTD generator
The server list message with colours and styles, a live preview and the line ready for server.properties.
Hytale config.json editor and validator
Paste your Hytale server's config.json: it shows the line that breaks it if the server won't start, and edits each option without touching the seed.
Chunky pre-generation calculator
How much disk and time pre-generating your world with Chunky takes for a given radius, with the console commands ready.
Nether portal calculator
Convert Overworld coordinates to the Nether and back to link portals without duplicates. Paste your F3 line.
Minecraft stronghold finder
Throw two eyes of ender, paste what F3+C copies and get the coordinates of the stronghold and its End portal.
World border generator
Radius or side, centre, Nether and End, and a shrinking border for UHC: the /worldborder commands for your version.
Minecraft time calculator
How long a Minecraft day (and 100 days) lasts in real life, what time each tick is and the /time set for every hour, ready to copy.
Project Zomboid mod list
Paste Workshop links and Mod IDs and get WorkshopItems= and Mods= written correctly, with the Build 42 backslash.
Project Zomboid settings editor
Paste your .ini and SandboxVars.lua (or start from scratch), change their 400+ options with a search box, and download them.
Project Zomboid welcome message
Write what your players see when they join, with colours and lines, see it as in chat and copy the ServerWelcomeMessage line.
Project Zomboid admin command generator
Pick the command (additem, addxp, teleport, createhorde, banuser…), fill in the blanks and copy it correctly written for chat or the console.
Project Zomboid day length and power shutoff calculator
How long an in-game day lasts in real time and how many hours of play are left until the power and water go off, at your server's pace.
Minecraft UUID lookup
Type a Minecraft Java username and get its UUID, the offline one and the lines for whitelist.json and ops.json.
Minecraft skin viewer
Type a Minecraft Java username to see their skin, download the PNG and copy /skin set and the /give for their head.
/give command generator
Items with enchantments, a coloured name and lore: the /give command written right for your Minecraft version.
Villager trade generator
A still villager that buys and sells whatever you say, at a fixed price and never running out: the /summon written right for your version.
Armor stand generator
Armor stands with a pose, arms, armour or a player's head, and floating text without plugins: the /summon for your version.
/particle command generator
Coloured dust, hearts or flames at spawn or above every player: the /particle command written right for your version.
Target selector generator
@a, @p, @e or @s with type, distance, name or tag: the selector written right, what it picks in plain English and a warning if it catches too much.
Firework generator
Rockets with shape, colours, trail and twinkle, with a drawing of the burst: the /give or /summon for your server's events.
Why doesn't my command work?
Paste the command you copied from an old video: what changed in Minecraft (keepInventory, generic., /give, /particle) and how to write it today.
/effect command generator
Effects with the level as the game shows it, forever or for minutes, without particles and for everyone: the /effect ready to copy.
/scoreboard command generator
Deaths, kills, time played or diamonds mined, on the right, in TAB or below the name and without the red numbers: the /scoreboard for your version.
Player head generator
The command for a player's head, a custom texture head or a mob head, written right for your Minecraft version.
/summon command generator
Mobs with a coloured name, more health, another size, gear or standing still: the /summon command written right for your version.
Spawner command generator
A spawner with the mob you want (or several), how often and how many spawn and in what light: the /setblock or /give for your version.
Minecraft enchantment order calculator
Your item and your enchanted books: the order to combine them in the anvil for the fewest levels, without hitting “Too Expensive!”.
Gamerules generator
Pick the rules and copy the commands, or paste old ones (keepInventory, doFireTick…) and convert them to the 1.21.11 names.
Server name generator
Name ideas for your server by game and style, with your own word if you like, and what its address would look like.
Minecraft recipe generator
Custom crafting recipes for your Minecraft server without mods: put the ingredients on the table and download the datapack for your version.
Minecraft dialog generator
Rules that pop up on join and a menu with buttons (Discord, spawn, copy the IP) for your Minecraft server: the datapack as a .zip, no plugins.
/tellraw and /title generator
Messages with colours, bold and click actions in chat or across the screen: the /tellraw or /title command ready to copy.
/playsound generator
Pick from almost 2000 Minecraft sounds, choose who hears it and how, and copy the /playsound for your version (and the /stopsound).
Written book generator
A Minecraft book with colours and several pages (rules, welcome, clues) and its /give written for your version.
/bossbar generator
Your own boss bar at the top of the screen, with your text, its colours and as full as you say: the /bossbar commands ready to copy.
Which Java do I need?
Type your Minecraft version or paste the Java error and we'll tell you which Java your server or your game needs.
Why won't my server start?
Paste your Minecraft server's latest.log or crash report and see in plain English what failed and how to fix it.
Gradient text generator
Type some text, pick the colours and get the gradient in “&#”, MiniMessage or “&x” for chat, the MOTD or plugins.
LuckPerms commands generator
Choose your ranks (vip, moderator, admin), their prefix and permissions and get the LuckPerms commands in order, ready for the console.
Server icon maker
Upload an image (or type a few letters) and get the 64×64 server-icon.png Minecraft asks for, ready for Files.
Pixel art generator
Upload an image and get the plan in concrete, wool or terracotta blocks and how many you need, counted in stacks.
Slime chunk finder
Enter the seed and your coordinates and see the slime chunks nearest to you on a map of your Minecraft Java world.
Superflat generator
Pick layers, biome and structures (or one of the game's presets) and get the server.properties lines for a superflat world.
Minecraft circle and sphere generator
Block circles, ovals and spheres, layer by layer and row by row, with the blocks you need and the WorldEdit command.
Minecraft XP calculator
How many experience points from one level to another, what you lose when you die and the /xp command to give levels on your server.
Minecraft region file calculator
From coordinates or an area of your Minecraft world to the r.X.Z.mca file and its folders, to delete or regenerate just that piece.
Ping test
Measure from your connection the ping to the machines our servers run on, and whether you'll lag before setting one up.
SteamID64 finder
Paste a Steam link, a username or a STEAM_0 ID and get every form of the ID and the adminlist.txt line for Valheim.
Valheim server start script
Write the start_headless_server.bat or start_server.sh for your Valheim server and get warned if the password, quotes or port would stop it starting.
Valheim world modifiers
Pick the difficulty, combat, portals or no build cost and copy the -preset, -modifier and -setkey for your Valheim dedicated server.
What does it cost in electricity?
What it costs in electricity to keep the server running on your PC at home, side by side with a plan and the free server.
start.bat generator
The start.bat or start.sh for your Minecraft server with the RAM set right and Aikar's flags, ready to download.
Discord bot permissions calculator
Tick your bot's permissions and get the number and the invite link; or paste a number and see which permissions it grants.
Discord intents calculator
Tick what your bot does or search the event you're not getting: the intents, the discord.js or discord.py code and what to enable in the portal.
Deploy on NapNodes button
For your Discord bot's README on GitHub: whoever presses it gets it running for free, with your repository already filled in the steps.
Minecraft potion recipes
Pick a potion and see its ingredients in order, how long it lasts as drinkable, splash, lingering or tipped arrow, and its /give.
Minecraft beacon calculator
How many blocks and ingots the beacon pyramid needs, how far it reaches, which effects it gives and whether it reaches your base.
Discord timestamp generator
Pick a date, time and time zone and copy the <t:…> so everyone on Discord sees the time in their own zone, or a countdown.
Discord ID to date
Paste the ID of a Discord account, server or message and see when it was created and how long ago; and from a date, the ID for the API.
Discord colored text generator
Write on Discord in red, green or yellow, with backgrounds, bold and underline: the ansi block ready to paste, and the line for your bot.
Discord embed generator
Build an embed with a title, colour, fields and images, see it as Discord shows it and copy the discord.js, discord.py or webhook JSON code.
/fill and /clone generator
Two corners and a block, and out comes the /fill or /clone. Over 32768 blocks, it splits it into commands that fit and do the same.
Server rules generator
Tick the rules for your Minecraft, Zomboid, Valheim, Hytale or Discord server and copy them ready to paste, with punishments.
Leather armor dye calculator
Pick dyes and see your leather armour's colour, or enter a colour and get the dyes and the exact /give command.
Minecraft banner generator
Design a Minecraft banner or shield layer by layer, see it as you go and get the /give command and the loom steps.
Minecraft stack calculator
Turn blocks into stacks, shulker boxes and chests, and back. From a build's dimensions too, solid or hollow.
Minecraft furnace fuel calculator
How much coal, logs, lava or blaze rods it takes to smelt anything, and how long (furnace, blast furnace or smoker).
Minecraft item IDs
Search any block or item by its in-game name and copy its ID or the /give. Every one from the latest version.
pack.mcmeta generator
The pack.mcmeta for your data pack or resource pack with each version's format number (1.14 to 26.3), plus a checker for yours.