anyone know if there is a better way to get icons for constructions besides rending them? i tried rendering at 128px and it was almost 600mb and over 11k images. this just isnt workable!
icons
-
- English
- james1bow
- Thread is marked as Resolved.
-
-
Yeah, this is indeed a bit tricky... the game renders these icons during runtime, so there is no way to get them through the API right now
But maybe it would help if we add a new "getIcon()" method to the ItemDefinition/ObjectDefinition/ConstructionDefinition classes (which would return a TextureAsset)? If you wanted to get a block icon then (e.g. with texture id 200), the code could look like this, for example:
-
that would be perfect! thank you
Participate now!
Don’t have an account yet? Create a new account now and be part of our community!