Migrating Mods from 9.5 to 9.6
From Eco - English Wiki
SolidGroundComponent[edit | edit source]
Previously you only needed to add
[RequireComponent(typeof(SolidGroundComponent))]
And this would automatically add a solid ground requirement of placable objects, this was refactored/updated and renamed into
[RequireComponent(typeof(SolidAttachedSurfaceRequirementComponent))]
And this now supports more functionalities as it adds a way to limit the placement of any directional block direction regardless as long as its set properly in the Item class by adding the following. (this is mandatory if you add the component as of playtest 9.6 otherwise you will not be able to place the object at all)
public override DirectionAxisFlags RequiresSurfaceOnSides { get;} = 0 | DirectionAxisFlags.Backward;
This supports Right, Left, Forward, Backward, Up, Down as the blocks adjacent to the control placement tile.