Skip to content
DimucaTheDevPublic

About

Small utility that ports OptiFine/CIT resource packs to vanilla

Topics

Resources

Stars

21 stars

Watchers

3 watching

Forks

Repository files navigation

VaniFine

Tested on Resource Pack Version

What's This?

This is a small but helpful tool that allows you to convert CIT/OptiFine resource packs to a vanilla compatible ones.

Warning

This version on the master branch is not supported. Current development is active on the rewrite-2 branch.

Please note that when opening a new issue ticket, as it will probably not be fixed until branch merge.

Important

This program relies on active internet connection, and accesses these web-sites:

  1. github.com for getting items' fallback model data
  2. vf.cmdev.pw/map for getting Release version--->Resource pack version map (see DimucaTheDev/VaniFine-Api repository)

Inability to access these two resources may(and will) break this apps functionality.

Why it works?

Since snapshot 25w03a, a feature has been added that allows Minecraft client to select a specific model of an item among others, depending on its component value. For example, using a minecraft:custom_name component allows us to specify an item name in order to use this model

What exactly is [sup]ported?

This is a table of what is can be ported and what is not:

Feature Is Supported
Basic Items ✅
Potions ✅
Enchantments ✅
Bows/Crossbows ✅
Item Damage* ✅
Blocks ⚠️(only item model)
Armor Planned**
Entities ❌(not supported)
Paintings ⚠️(only item model)
  • Either damage or component can be used at once. You can't mix both now.
    • For armor models, you will probably need to install generated datapack in world folder, + obtaining these armor items will require operator permissions (to execute /give command)

What about Regular Expressions?

expressions like iregex:(Text A | Text B) will be replaced with Text A, and case-insensitivity is not supported.

How to use

  1. Download the latest release from the releases page
  2. Install .NET 9.0 Runtime from the official website
  3. Start VaniFine.exe
  4. Select resource pack
  5. *magic happens*

As a result a new folder will be created in .minecraft/resourcepacks with the converted resource pack. And as a bonus, a names.txt file will be created in that folder, with all available item names/enchantments.

Gallery

Poster on a wall. КСЕПСП

Poster. Renamed painting in item frame.

Bundles! Bundled

Bundles!

Telescope. КСЕПСП

Renamed spyglass in item frame

Renaming an apple to lemon.

Converting a pack.

Enchanted books. Enchanted+

Enchanted books in creative inventory

TODO:

  • Add armor support
  • Parse this: nbt.StoredEnchantments.0.id=pattern:*

Licensing & Redistribution

This project is licensed under the MIT License. You can use this project in your own projects, but you must credit me as the original author.

About

Small utility that ports OptiFine/CIT resource packs to vanilla

Topics

Resources

Stars

21 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages