jaredlll08 / ModTweaker

ModTweaker is an addon for CraftTweaker, which provides Integration for an amount of mods.
MIT License
68 stars 63 forks source link

[Request] A way to get aspects #742

Closed Pival81 closed 4 years ago

Pival81 commented 4 years ago

I need to iterate through every entity in tha game and check if it has an aspect, if it does then I skip it, but if it does I want to assign a set of aspects, which should be different based on which mod the entity's from.

But I can't find a way to get an entity's aspect, could you add that, please?

jaredlll08 commented 4 years ago

Aspects aren't registered at the time scripts load, so no way to do this.