More Hotbar Slots Minecraft Mod that are very simple More Hotbar Slots Minecraft Mod and easy to keep up with. Not forgetting to mention that their games are predominantly based off the movie culture and industry, meaning players can connect to their gaming choices much more significantly. Twitter: Minecraft 1.8: 'Quick Hotbar Mod' Can we get 100 Likes?!?!? Hopefully you guys like this interesting mod!
Restrictions | |
---|---|
First introduced | Java Edition 1.8 (14w26a) |
Replaces items in the inventories of blocks (chest, furnaces, etc.) or entities (players or mobs) with the given item(s).
replaceitem block <pos> <slot> <item> [<count>]
replaceitem entity <targets> <slot> <item> [<count>]
replaceitem block <position: x y z> slot.container <slotId: int> <itemName: Item> [amount: int] [data: int] [components: json]
replaceitem entity <target: target> <slotType: EntityEquipmentSlot> <slotId: int> <itemName: Item> [amount: int] [data: int] [components: json]
replaceitem block <position: x y z> slot.container <slotId: int> <oldItemHandling: ReplaceMode> <itemName: Item> [amount: int] [data: int] [components: json]
replaceitem entity <target: target> <slotType: EntityEquipmentSlot> <slotId: int> <oldItemHandling: ReplaceMode> <itemName: Item> [amount: int] [data: int] [components: json]
JE: <pos>
: block_pos
BE: position: x y z
: CommandPosition
JE: <targets>
: entity
BE: target: target
: CommandSelector<Actor>
JE: <slot>
: item_slot
BE: slotType: EntityEquipmentSlot
: EquipmentSlot, slot.container
and <slotId: int>
: int
slotId: int
must be a 32-bit integer number. And it must be between -2147483648 and 2147483647 (inclusive).container.<slot_number>
(BE: slot.container <slotId: int>
/data
.Slot | Slot Numbers | Restrictions |
---|---|---|
armor.chest (BE: slot.armor.chest <slotId: int> ) | any number[Bedrock Edition only] | armor stands, mobs, and players only (though not all mobs will show or make use of the items) |
armor.feet (BE: slot.armor.feet <slotId: int> ) | any number[Bedrock Edition only] | |
armor.head (BE: slot.armor.head <slotId: int> ) | any number[Bedrock Edition only] | |
armor.legs (BE: slot.armor.legs <slotId: int> ) | any number[Bedrock Edition only] | |
weapon.mainhand (BE: slot.weapon.mainhand <slotId: int> ) | any number[Bedrock Edition only] | |
weapon.offhand (BE: slot.weapon.offhand <slotId: int> ) | any number[Bedrock Edition only] | |
container.<slot_number> (BE: slot.container <slotId: int> ) | 0–53 | players, item frames[Java Edition only] (slot 0), and minecarts only |
enderchest.<slot_number> (BE: slot.enderchest <slotId: int> ) | 0–26 | players only |
hotbar.<slot_number> (BE: slot.hotbar <slotId: int> ) | 0–8 | |
inventory.<slot_number> (BE: slot.inventory <slotId: int> ) | 0–26 | |
horse.saddle (BE: slot.saddle <slotId: int> ) | any number[Bedrock Edition only] | horses, donkeys, and mules only; <item> or itemName: Item must be a saddle |
horse.chest [Java Edition only] | donkeys, and mules only; <item> must be a chest | |
horse.armor (BE: slot.armor <slotId: int> ) | any number[Bedrock Edition only] | horses and llamas only; <item> or itemName: Item must be a type of horse armor (if a horse) or a carpet (if a llama) |
horse.<slot_number> (BE: slot.chest <slotId: int> ) | 0–14 | donkeys and mules with chests only |
villager.<slot_number> (BE: slot.inventory <slotId: int> ) | 0–7 | villagers only |
JE: <item>
: item_stack
BE: itemName: Item
: CommandItem
JE: <count>
: integer
BE: amount: int
: int
BE: data: int
: int
BE: components: json
: Json::Value
minecraft:can_place_on
, minecraft:can_destroy
, minecraft:item_lock
, and minecraft:keep_on_death
functions (see Commands/give#Examples)BE: oldItemHandling: ReplaceMode
destroy
- Directly replaces items ignoring the original items in the specified slot.keep
- Does not replace items if an item occupies that slot.Command | Trigger | Java Edition | Bedrock Edition |
---|---|---|---|
any | the arguments are not specified correctly | Unparseable | Failed |
<count> exceeds the stack limit of the specified item | Failed | Successful | |
/replaceitem block ... | if the specified block is not a container | Failed | |
if the specified block does not have the specified slot | |||
/replaceitem entity ... | if <targets> or target: target fails to resolve to one or more entities (named players must be online) | ||
if none of the targets have the specified slot (for example, zombies don't have horse.armor ) | |||
if specified item cannot be place into the specified slot of any targeted entity(for example, place a stone into armor.chest of a player) | |||
/replaceitem ... keep | if an item occupies the specified slot in keep mode | N/A | |
any | On success | Replaces the items in the specified slot with the specified items (previous items in that slot are lost). |
Command | Edition | Situation | Success Count | /execute store success ... | /execute store result ... |
---|---|---|---|---|---|
any | Java Edition | On fail | 0 | 0 | 0 |
/replaceitem block ... | On success | 1 | 1 | 1 | |
/replaceitem entity ... | On success | 1 | 1 | the number of entities whose items are successfully replaced | |
any | Bedrock Edition | On fail | 0 | N/A | N/A |
/replaceitem block ... | On success | 1 | N/A | N/A | |
/replaceitem entity ... | On success | the number of entities whose items are successfully replaced | N/A | N/A |
replaceitem block ~ ~2 ~ container.26 minecraft:spruce_sapling 4
[Java Edition only]replaceitem block ~ ~2 ~ slot.container 26 sapling 4 1
[Bedrock Edition only]replaceitem entity @p hotbar.8 minecraft:spruce_sapling 4
[Java Edition only]replaceitem entity @p slot.hotbar 8 sapling 4 1
[Bedrock Edition only]Java Edition | |||||
---|---|---|---|---|---|
1.8 | 14w26a | Added /replaceitem . | |||
1.14 | 18w43a | /replaceitem can now be used on item frames. | |||
Upcoming Java Edition | |||||
1.17 | 20w46a | Removed /replaceitem . Replaced with /item replace . | |||
Pocket Edition | |||||
1.0.5 | alpha 1.0.5.0 | Added /replaceitem . | |||
1.1.0 | alpha 1.1.0.0 | CanPlaceOn and CanDestroy functions are now supported for /replaceitem . | |||
Bedrock Edition | |||||
1.16.0 | beta 1.16.0.55 | Added new overload for /replaceitem with an option for destroy or keep. |
/data
— can also replace items in a container, or a mob's inventory/give
— give items to players without specifying specific inventory slots or overwriting other items/blockdata
(outdated) — can also replace items in a container/entitydata
(outdated) — can also replace items in a mob's inventory, or modify the drop chances of armor and weapons