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

Add additional instruction insertion methods to ASMAPI #62

Conversation

Jonathing
Copy link
Member

This PR adds the insertInsn() methods. They are sister methods to insertInsnList() but used for single instructions as opposed to entire lists. This removes the need to call use ASMAPI.insertInsnList(method, insn, ASMAPI.listOf(myInsn), InsertMode.INSERT_AFTER), for example.

Sisters to insertInsnList(), but used for single instructions as opposed
to entire lists
@Jonathing Jonathing changed the title Add insertInsn() methods Add additional instruction insertion methods to ASMAPI Nov 1, 2024
@LexManos LexManos merged commit 9478a16 into MinecraftForge:master Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants