Skip to content

Latest commit

 

History

History
69 lines (49 loc) · 3.24 KB

README.MD

File metadata and controls

69 lines (49 loc) · 3.24 KB

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.

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
Items
Potions
Enchantments
Blocks ⚠️(only item model)
Armor ⚠️(only item model)
Entities ❌(not supported)
Paintings ⚠️(only item model)

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:

  • Get back animations for bows and crossbows
  • Fix armor item model
  • Code cleanup
  • 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.