tModLoader icon indicating copy to clipboard operation
tModLoader copied to clipboard

changing ModTree.SetTreeFoliageSettings parameters has no effect

Open direwolf420 opened this issue 3 years ago • 0 comments

Version

Latest 1.4-stable

OS

Windows

Platform

Steam

This bug affects

Mod capability as a Modder

Description

in 1.3, the equivalent to the ModTree.SetTreeFoliageSettings hook used to allow you to change the draw parameters freely. In 1.4, this is not possible. It is required for i.e. trees with wider tops than vanillas, so that they still align with the trunk. Example:

xoffset = 44;

I did not test which fields work and which don't, I just now that xoffset 100% doesn't work. Likely the method is misplaced and the parameters aren't used because of it.

@Solxanich

Log File

No response

Steps to reproduce

No response

Expected Behavior

No response

Actual Behavior

No response

Reproduction frequency

No response

Additional Information

No response

direwolf420 avatar Jul 09 '22 10:07 direwolf420