Mineuniverse
Action bar

Action bar

The action bar is a space just above the player's hotbar where text can be displayed. Some gameplay elements, such as beds, use this to give contextual…

5 min read Updated 9 views
Gameplay UI
Advertisement Remove ads with Premium →
Contents (6)
  1. Behavior
  2. Gameplay uses
  3. Commands
  4. History
  5. Issues
  6. See also
This article needs to be updated.
Please update this article to reflect recent updates or newly available information. The talk page may contain suggestions.
Reason: Message about trying to build at the minimum Y value, and the spectator teleport failing. Possibly others are missing.
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 hotbar where text can be displayed. Some gameplay elements, such as beds, use this to give contextual hints to the player. Text can also be displayed here using the /title 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 seconds​ 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.

In Bedrock Edition, the opacity of the black background on the action bar can be adjusted in the accessibility settings.

Gameplay uses

In Bedrock Edition, certain messages are shown in the chat instead of the action bar.

Displayed text Cause
Now Playing: %s When a music disc starts playing nearby.
Press %1$s to Dismount When the player starts riding a vehicle or animal.
This bed is occupied‌[JE only] When another entity is already in a bed.
You can sleep only at night or during thunderstorms‌[JE only] When a player tries to sleep during the day and without a thunderstorm.
You may not rest now; the bed is too far away‌[JE only] When a player tries to sleep in a bed that is too far away.
This bed is obstructed‌[JE only] When a player tries to sleep in a bed that has suffocating blocks directly above.
You may not rest now; there are monsters nearby‌[JE only] 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‌[JE only] When a player starts sleeping but not enough players are sleeping to skip the night. Announced to all players.
Sleeping through this night‌[JE only] When enough players are sleeping to skip the night. Announced to all players.
No amount of rest can pass this night‌[JE only] When a player starts sleeping but the players_sleeping_percentage game rule is set above 100.
%s is locked!‌[JE only] When a player attempts to open a chest that is locked.
Unable to open. Loot not generated yet.‌[JE only] When a player in Spectator tries to open a chest with loot that hasn't been opened yet.
Item hotbar saved (restore with %1$s+%2$s)‌[JE only] After saving a creative hotbar.
Height limit for building is 319‌[JE only] Attempting to build past Y=319.
Social Interactions are only available in Multiplayer worlds‌[JE only] Attempting to open the social interactions screen in a Singleplayer world.
Chat disabled in client options.‌[JE only] Attempting to open the chat when it is disabled in the options.
Chat disabled by launcher option. Cannot send message.‌[JE only] Attempting to open the chat when it is disabled from the launcher.
Chat not allowed by account settings. Press '%s' again for more information.‌[JE only] Attempting to open the chat when it is disabled from the account.
Chat not allowed by account settings. Cannot send or view messages.‌[JE only] After pressing the chat keybind to get more information.
TNT explosions are disabled‌[JE only] When attempting to ignite a block of TNT or a sulfur cube with TNT, while the tnt_explodes game rule is set to false.

Commands

Main article: Commands/title

A custom text message can be displayed on the action bar using the /title command:

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

History

Java Edition
1.6.113w16a Added text: "Press [key] to dismount", which is displayed when you are in a minecart or boat or riding a saddled pig, horse, donkey or mule.
1.1116w32a The warning "You can only sleep at night" is now displayed on the action bar instead of in chat.
The warning "You may not rest now, there are monsters nearby" is now displayed on the action bar instead of in chat.
The warning "Height limit for building is 256 blocks" is now displayed on the action bar instead of in chat.
The warning "This bed is occupied" is now displayed on the action bar instead of in chat.
The warning "Unable to open. Loot not generated yet" is now displayed on the action bar instead of in chat.
16w32b Added the ability for /title to display text in the action bar position.
16w33a Added the warning "You may not rest now, the bed is too far away" when the player is close enough to click on the bed but too far to sleep in it.
1.1217w06a Added saved hotbars which, when saved, display the text: "Item toolbar saved (restore with Shift+[key])" on the action bar.
17w16a Saving hotbars now displays "Item toolbar saved (restore with X+[key])" on the action bar. X does not change according to what "Load Toolbar Activator" is bound to.
1.13pre2 The "You can only sleep at night" message when using a bed during the day has been changed to "You can sleep only at night and during thunderstorms."
1.16.4Pre-release 1 With the addition of social interactions, a message was added when you try to open social interations in singleplayer: "Social Interactions are only available in Multiplayer worlds"
1.1720w51a After adding the playersSleepingPercentage gamerule, added message when trying to sleep when the gamerule is set to 100 or higher: "No amount of rest can pass this night"
1.21.525w10a With the addition of the tntExplodes gamerule, added message when trying to ignite TNT blocks: "TNT explosions are disabled"

Issues

Issues relating to "Action bar" are maintained on the bug tracker. Issues should be reported and viewed there.

See also

Advertisement Remove ads with Premium →

More in UI

View all 21 →
BossbarA bossbar is a bar at the top of the screen that can track health of a boss mob or the total health of raid mobs. The bossbar disappears when the ender…ChatChatThe chat is a built-in messaging system used to communicate with other players in multiplayer, or to execute commands. In Bedrock Edition, the chat is a…Creative inventoryThe Creative inventory is an interface in Creative mode that contains unlimited amounts of all blocks and items in the game, some of which are not…DamageDamageDamage is the reduction of an entity's health.DeathDeathDeath is a game mechanic related to health, which occurs when the health of an entity reaches 0HP.Debug screenDebug screenThe debug screen, debug overlay or F3 screen functions as a menu for accessing debugging information, but it also provides useful in-game information like…DialogDialogs are simple modal windows that can display information and receive player input.Geared mobsGeared mobsSome mobs can spawn holding weapons and other items and/or wearing armor, both of which may be enchanted. In addition, some of them may also spawn with…
Advertisement Remove ads with Premium →

Related mods

Action Bar Health Plugin · 10.8K downloads Action Bar by Karl Karlmann Action Bar by Karl Karlmann Mod · 1.5K downloads My Action Bar My Action Bar Data Pack · 52 downloads
Explore the Minecraft Wiki
Blocks, items, mobs, biomes and game mechanics — all in one place.
Wiki home