Download Variant Swap — Minecraft Mods — MetaMods
Variant Swap

Variant Swap

Active

Downloads

0

Last update

7 months ago

Versions

1.20 — 1.21.5
Client and server
Fabric
Decor
Game mechanics
Control
Utils

Variant Swap Mod

With the Variant Swap mod, you gain the ability to instantly switch between different variants of blocks and items in your hand. All you need to do is hold down a special customizable key (default is Z) and scroll the mouse wheel. At the same time, a pop-up hint will appear at the top of the screen for a few seconds, showing adjacent variants of the selected object.

Mod demonstration

Features in different modes

In creative mode, you have access to absolutely all existing variants of each item. In survival mode, the system will only show modifications that are already present in your inventory. It's important to note that the functionality works perfectly with both basic Minecraft objects and items from any other mods!

Settings and configuration

All configuration files and automatically generated maps are saved by the mod in the /config/Variant Swap/ folder within the Minecraft (or server) directory.

Main parameters in the config.json file:

  • OP level (default 4) — for using the /variant-swap command
  • Delay (default 50 ms) — scroll speed limitation

On servers, it's recommended to configure the OP level according to your needs. The /variant-swap command allows you to reset the delay to the standard value or set a different one (in milliseconds).

For mod developers

If your mod adds new blocks or items and you want to organize them into special categories, simply add a variant_swap tag to each object. This tag will determine the group to which the item belongs.

For example, if you have a mod with various furniture and want to sort it by wood types rather than furniture type, you can mark all oak items with the tag variant_swap:oak (or any other category name), spruce items with variant_swap:spruce, and so on.

Project members
Dooji

Dooji

Developer

Created: 14 Mar 2025

ID: 84054