CurseForge · Minecraft mod
Variant Swap
Quickly cycle through block and item variants by holding a key and scrolling your mouse wheel (works with mods too!)
Quick answer
Which Variant Swap release matches 1.20?
Variant Swap [1.20-4] Variant Swap v0.1.7 targets 1.20.2, 1.20.3, 1.20.1 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.
Where it goes
Is Variant Swap required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does Variant Swap [1.20-4] Variant Swap v0.1.7 need?
[1.20-4] Variant Swap v0.1.7 on 1.20. Every mod below is checked against that same setup.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Variant Swap without breaking your instance.
Built for Variant Swap [1.20-4] Variant Swap v0.1.7 on 1.20. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use [1.20-4] Variant Swap v0.1.7. It targets 1.20.2, 1.20.3, 1.20.1 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside [1.20-4] Variant Swap v0.1.7. It opens that exact file at the source.
About this project
What does Variant Swap add?
Variant Swap is a mod that lets you change the variant of the item you're holding by using a customizable key (Z by default) and scrolling. When you scroll, you'll also see at the top of the screen a quick preview of what's before and after the selected item (for a few seconds).
In Creative mode, you can switch through every available variant of the item, while in Survival mode it only shows items you have in your inventory. It works with both vanilla and modded items!

Customization
The mod's generated mappings and configuration file are located in your Minecraft (or server) folder under /config/Variant Swap/.
Available settings in config.json:
- OP level (4 by default) - for the
/variant-swapcommand - Delay (50ms by default) - this is to throttle the scrolling
On servers it is recommended to change the OP level as desired. The /variant-swap command can be used to reset the delay (cooldown) to its default value or to change it to another value (still in ms).
For Developers
If your mod adds items or blocks and you want to organize them into specific custom categories, add a variant_swap tag to each item/block. This tag will determine the group in which the item is categorized.
For example, imagine you have a mod that adds various furniture items, and you want to categorize them by wood type instead of grouping all chairs together. You could tag all oak items with variant_swap:oak (so oak or whatever you wanna call the category), all spruce items with variant_swap:spruce, and so on.
Project description from CurseForge.
Pick your setup
Variant Swap by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.21.5-rc1
1 loader build1.21.5-pre3
1 loader build1.21.5
1 loader build1.21.4
1 loader build1.21.3
1 loader build1.21.2
1 loader build1.21.1
1 loader build1.21
1 loader build1.20.4
1 loader build1.20.3
1 loader build1.20.2
1 loader buildShowing the newest 12 of 14 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Variant Swap versions and loaders
[1.20-4] Variant Swap v0.1.7
variant-swap-1.20-v0.1.7.jar
10 May 2025
Looking for an older file? The official CurseForge project page is in Resources.