Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i wan't to add aspects to items from my mod, is there any(working) tutorial? #44

Open
matyklug18 opened this issue Aug 24, 2018 · 3 comments

Comments

@matyklug18
Copy link

No description provided.

@Azanor
Copy link
Owner

Azanor commented Sep 20, 2018

Do you still need help with this?

@matyklug18
Copy link
Author

Yes

@Azanor
Copy link
Owner

Azanor commented Oct 18, 2018

Subscribe to thaumcraft.api.aspects.AspectRegistryEvent and in the event do the following:
@SubscribeEvent public static void registerAspects(AspectRegistryEvent event) { event.register.registerObjectTag("blockGlass", (new AspectList()).add(Aspect.CRYSTAL, 5)); }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants