tModLoader
tModLoader copied to clipboard
changing ModTree.SetTreeFoliageSettings parameters has no effect
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