Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Action bar

From SAS Gaming Wiki
Revision as of 11:21, 30 October 2026 by SyncBot (talk | contribs) (Sync: updated from Minecraft)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
File:Action bar bed too far.png
The message "You may not rest now; the bed is too far away" is shown on the action bar.

The action bar is a space just above the player's Minecraft:hotbar where text can be displayed. Some gameplay elements use this to give contextual hints to the player. Text can also be displayed here using the Template:Cmd command.

Behavior

The action bar is displayed above where item names are shown when an item is selected in your hotbar, so an item name and action bar text can be shown on the screen at the same time.

When text is displayed here, it instantly appears and remains on the screen for approximately 1.5 secondsTemplate:Info needed before fading out. If another action bar message is sent, it instantly replaces the previous text without any transition/animation and remains there for the usual 1.5 seconds it normally would if it was not replacing anything.

Template:IN, the opacity of the black background on the action bar can be adjusted in the accessibility settings.

Gameplay uses

Java Edition

Displayed text Cause
Now Playing: %s When a Minecraft:music disc starts playing nearby.
Press %1$s to Dismount When the player starts riding a vehicle or animal.
This bed is occupied When another entity is already in a bed.
You can sleep only at night or during thunderstorms When a player tries to sleep during the day and without a thunderstorm.
You may not rest now; the bed is too far away When a player tries to sleep in a bed that is too far away.
This bed is obstructed When a player tries to sleep in a bed that has suffocating blocks directly above.
You may not rest now; there are monsters nearby When a player tries to sleep in a bed while there are hostile mobs within a 17×11×17 box centered around the bed.
%s/%s players sleeping When a player starts sleeping but not enough players are sleeping to skip the night. Announced to all players.
Sleeping through this night When enough players are sleeping to skip the night. Announced to all players.
No amount of rest can pass this night When a player starts sleeping but the Template:Gmr game rule is set above 100.
%s is locked! When a player attempts to open a Minecraft:chest that is locked.
Unable to open. Loot not generated yet. When a player in Minecraft:Spectator tries to open a chest with loot that hasn't been opened yet.
Item hotbar saved (restore with %1$s+%2$s) After saving a creative hotbar.
The height limit for building is 319 Attempting to build past Y=319.
The minimum height for building is -64 Attempting to build below Y=-64.
Social Interactions are only available in Multiplayer worlds Attempting to open the Minecraft:social interactions screen in a Minecraft:Singleplayer world.
TNT explosions are disabled When attempting to ignite a block of Minecraft:TNT or a Minecraft:sulfur cube with TNT, while the Template:Gmr game rule is set to false.

Bedrock Edition

Control hints for mounting entities are the only messages shown on the action bar in vanilla gameplay. Most warnings that are shown on the action bar in Java Edition are shown in the Minecraft:chat. Playing and pausing music discs are not shown on the action bar but as item text messages in between the action bar and held item tooltip.

Commands

File:Styled action bar message.png
A custom action bar message with formatting codes and Minecraft:emojis applied

A custom text message can be displayed on the action bar using the Template:Cmd command:

  • Template:JE: title <targets> actionbar <title>
  • Template:BE: title <player: target> actionbar <titleText: message>

History

Template:Missing info Template:HistoryTable

Issues

Template:Issue list

Navigation

Template:Navbox gameplay

Minecraft:ja:アクションバー Minecraft:pt:Barra de ação Minecraft:zh:动作栏