FalseTweaks icon indicating copy to clipboard operation
FalseTweaks copied to clipboard

Feature Request: Add additional boolean parameter to renderRail()

Open matt-159 opened this issue 3 years ago • 0 comments

the current signature for renderRail() is:

public static void renderRail(IBlockAccess blockAccess, BlockRailBase rail, int x, int y, int z, int meta, IIcon iicon, boolean mirrored)

it would be helpful if there was another parameter to this function: boolean reversed so that the signature would then be:

public static void renderRail(IBlockAccess blockAccess, BlockRailBase rail, int x, int y, int z, int meta, IIcon iicon, boolean mirrored, boolean reversed)

This would be helpful for rendering tracks that have a mirrored state, such as Switch Tracks

matt-159 avatar Mar 09 '23 13:03 matt-159