MySeedItemDefinition is prohibited
I maintain a cargo sorting mod for SE1, and I'm trying to add support for the new seed and food items.
Generally how I build lists of "what stuff is" is by the definition type - e.g. `definition is MyComponentDefinition` which lives in the whitelisted namespace Sandbox.Definitions.
The seeds are not in the correct namespace. The MySeedItemDefinition type is in SpaceEngineers.Game.Definitions, which is not whitelisted, and when referenced, produces the following error:
Error: The type or member 'MySeedItemDefinition' is prohibited
The expected behavior is that the type is exposed to the modding framework and I can reference it in my mod code.
MyObjectBuilder_SeedItemDefinition is similarly not exposed correctly, so I can't fall back to `definition.Id.TypeId == typeof(MyObjectBuilder_SeedItemDefinition)` either.
Hello Merii,
Thank you for reaching out to us on the forum.
Could you kindly share the MOD where you are getting this error?
This will help us investigate the issue further.
Kind regards,
Keen Software House: QA Department
Hello Merii,
Thank you for reaching out to us on the forum.
Could you kindly share the MOD where you are getting this error?
This will help us investigate the issue further.
Kind regards,
Keen Software House: QA Department
Hello Merii,
After discussing this internally, we’d like to inform you that this is not an issue but expected behavior.
We no longer provide access to our new definitions, as maintaining public access created issues with code stability and the ModAPI. It’s not necessary to have access to the seed definition to create new seeds. To create new seed items, please use the SBC files, which are specifically prepared for that purpose.
Since this is expected behavior and not a bug or broken feature, we’ll be closing this thread as “Not a Bug.” However, if you experience any other issues, please feel free to open a new thread.
Thank you for your understanding.
Kind regards,
Keen Software House: QA Department
Hello Merii,
After discussing this internally, we’d like to inform you that this is not an issue but expected behavior.
We no longer provide access to our new definitions, as maintaining public access created issues with code stability and the ModAPI. It’s not necessary to have access to the seed definition to create new seeds. To create new seed items, please use the SBC files, which are specifically prepared for that purpose.
Since this is expected behavior and not a bug or broken feature, we’ll be closing this thread as “Not a Bug.” However, if you experience any other issues, please feel free to open a new thread.
Thank you for your understanding.
Kind regards,
Keen Software House: QA Department
Replies have been locked on this page!