stonecutter: support 1.21.1

This commit is contained in:
Martin Prokoph
2025-11-19 20:50:38 +01:00
parent 8ed02fef87
commit 6e270b1a4d
7 changed files with 127 additions and 49 deletions

View File

@@ -250,4 +250,16 @@ stonecutter {
direction = eval(current.version, ">=1.21.8")
replace("context.renderComponentTooltip(", "context.setComponentTooltipForNextFrame(")
}
replacements.string {
direction = eval(current.version, ">=1.21.5")
replace("getTextureImage", "loadContents")
}
replacements.string {
direction = eval(current.version, ">=1.21.5")
replace("TextureImage", "TextureContents")
}
replacements.string {
direction = eval(current.version, ">=1.21.5")
replace("SimpleTexture", "ReloadableTexture")
}
}