Commit Graph
4 Commits
Author SHA1 Message Date
glowredman fa8be308de Fully port ASM to Mixins (#11)
* Update buildscript

* Enable genericInjection

* Re-enable remapping for certain mixins

* Update buildscript

* Small fixes

- Add generic types
- Add diamond operators
- Fix typo in "NormalMap"
- Remove redundant assignments
- Access static field via class instead of instance
- Use List as type instead of ArrayList
- Add serialVersionUID

* Rename MixinEntityRender -> MixinRender

* Rewrite EntityRenderer ASM as Mixins

* Replace `@Accessor` mixins in favor of ATs

* Move compat to mixins

* Logger cleanup

* Rewrite ItemRenderer ASM as Mixins

* Unify names

* Rewrite RendererLivingEntity ASM as Mixins

* Use Log4J Logger

* Delete ACTRenderManager

* Rewrite ACTRenderSpider as Mixins

* Rewrite AbstractTexture ASM as Mixins

* Port TextureAtlasSprite ASM as Mixins

* Rewrite ThreadDownloadImageData ASM as Mixins

* Rewrite DynamicTexture ASM as Mixins

* Rewrite LayeredTexture ASM as Mixins

* Rewrite TextureManager ASM as Mixins

* Rewrite ITextureObject ASM as mixins

* Rewrite ITextureObject ASM as Mixins

* Clean up compileStubs

* Delete unused stuff

* Finishing touches
2023-08-23 16:39:00 -07:00
Raven Szewczyk c7d721aa5c Update gradle and dependencies 2023-08-23 16:39:00 -07:00
992d5e08b9 Start using mixins (#8)
* SMCLog -> ALog

* Start using Mixins!
* Shader startup ACTMinecraft -> MixinMinecraft

* spotlessApply (#9)

Co-authored-by: GitHub GTNH Actions <>

* Update buildscript, add mixingasm and nei

* Remove unneeded transformer exclusions

* Fix broken stack frames

* Fix mcp namer for rfg

* Inject the asm transformer manually in the correct order to avoid mixin-induced issues

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Raven Szewczyk <git@eigenraven.me>
2023-02-23 18:24:05 +00:00
b5f36332ad Make it build (#1)
* Adapt to examplemod1.7.10 structure

* Fix broken static imports

* apply spotless

* Update mcmod.info

* Start work on ATs

* More ATs

* Compile stubs

* Recursive compilation stubs to fix missing items in stubs

* Stub out the tesselator

* Switch to IFMLLoadingPlugin

* Move the namer classes out of todo

* Yeet ATs

* Change transformers paths

* spotless, remove MANIFEST.MF as it is no longer needed

* Use MCF namer

* Revert "spotless, remove MANIFEST.MF as it is no longer needed"

This reverts commit 9be1abfe70.

* Revert "Switch to IFMLLoadingPlugin"

This reverts commit 089a01e148.

* At least make it work for now

* Dirty implementation of include preprocessing

* spotlessApply (#6)

Co-authored-by: GitHub GTNH Actions <>

Co-authored-by: Vladislav Laetansky <vlaetansky@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-23 15:34:08 +01:00