Data Packs Quality of Life

Tool Swap [No Longer Supported]

  • Functions
  • Predicates
  • 9,810 views • 2 today
  • 620 downloads • 0 today
  • 10
  • 16
  • 6
Dragon3025
Level 52 : Grandmaster Enderdragon
47
No Longer Supported, I recommend Modrinth's ItemSwapper mod, it's very vanilla-like and works better.

Tool Swap allows you to switch items in your hotbar with your inventory. You can also switch items in your hotbar with your Ender Chest, but only if you have one in your inventory, are standing near an Ender Chest, or if there's an Ender Chest item nearby. You can use the following trigger for different actions:

Ender Chest Required
  • "/trigger swap_tools": Rotate your selected item with the first 3 slots of your Ender Chest.
  • "/trigger swap_hotbar_with_ender_chest": Swap your hotbar with the top row of your Ender Chest.
  • "/trigger rotate_hotbar_with_ender_chest": Rotates your hotbar and Ender Chest rows downward, with the hotbar row becoming the top row.
  • "/trigger swap_selected_with_ender_chest": Swap your selected item with the matching slot in the top row of your Ender Chest.

Inventory Only
  • "/trigger swap_hotbar_with_inventory": Swap your hotbar with the top row of the inventory.
  • "/trigger rotate_hotbar_with_inventory": Rotates your hotbar and inventory rows downward, with the hotbar becoming the top row.
  • "/trigger swap_selected_with_inventory": Swap your selected item with the matching slot in the top row of your inventory.

Tip: You can open the chat then press the up arrow to bring up the last used command.
CompatibilityMinecraft 1.19
Tags

3 Update Logs

Update #3 : by Dragon3025 02/01/2022 4:49:25 pmFebruary 1, 2022 @ 9:49 pm UTC

Performance improvements.
LOAD MORE LOGS

  Have something to say?

Kate1902019
10/19/2021 10:12 pm
Level 39 : Artisan Princess
Does it works with swords?
2
Dragon3025
10/21/2021 12:06 am
Level 52 : Grandmaster Enderdragon
It works with any item or even an empty slot.
2
Kate1902019
10/21/2021 4:08 am
Level 39 : Artisan Princess
Ok.
1
abadonbalban
10/19/2021 7:26 pm
Level 15 : Journeyman Fisherman
muy buen datapack amigo!!!
una pregunta crees que se podría hacer un datapack que lograra la mecánica de intercambio que trae Terraria?
en Terraria con tabulador puedes ir cambiando tu hotbar con la primera fila de tu inventario, luego con la segunda y así sucesivamente, en forma circular saludos.
perdón si no entiendes Español, pero yo tampoco hablo Ingles :/
1
Dragon3025
10/19/2021 7:40 pm
Level 52 : Grandmaster Enderdragon
Con suerte, el Traductor de Google me puede ayudar a escribir esto.

El paquete tiene un comando para rotar su barra de acceso rápido con el inventario: "/trigger rotate_hotbar_with_inventory". También puedes hacer lo mismo con un Ender Chest.
2
abadonbalban
10/20/2021 7:46 pm
Level 15 : Journeyman Fisherman
muchas gracias amigo y lo siento por escribir en español, pero al igual que tu confío en que el traductor de Google haga su trabajo XD
1

Welcome