Iris Shaders

Iris Shaders

36M Downloads

block.properties parsing causing compilation errors

xirreal opened this issue ยท 0 comments

commented

What happened?

Trying to use some optifine packs (such as Epoch, MollyVX and VXFluff) will cause compilation to fail due to some unsupported features of the parser.
Examples:
Backslashes "\" that lead onto lines without block ids, but with directives or comments

block.1 = stone \
block.2 = grass_block

block.3 = iron_block \
# This is a comment, Iris will try to parse minecraft:#

Expected behavior is for Optifine to not try parsing the next line as if it's block ids, but define a new property or ignore the comment.

Inline comments

block.1 = stone # This is a comment, Iris will try to parse minecraft:#

Possibly also empty directives.

Screenshots

No response

Log output

No response

Minecraft Version

Minecraft 1.19.2

Iris Version

iris-mc1.19.2-1.5.0

Operating System

Windows 11

What is your GPU?

Nvidia Geforce GTX 1080

Additional context

No response