Extensions to OptiFine properties - migration guide
OptiGUI 2.1.0-beta.1 removed support for all extensions from OptiFine properties. Here's a guide how to convert them to OptiGUI JSON resources.
container=_cartography_table
container=_chest_boat
before Minecraft 1.21.2
Add a matcher for the Type
NBT of the chest boat entity:
If you have multiple variants
:
{
"container": "chest_boat",
"match": {
"@entity": {
"@Type": {
"any_of": ["<variant1>", "<variant2>"]
}
}
}
}
container=_chest_boat
starting Minecraft 1.21.2
Add variants
before chest_boat
(without the angle brackets):
If you have multiple variants
, put them in a JSON array: