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

Replaced assembly code by M_Marvin (Ported to Kotlin/Multiloader by PriestOfFern) #854

Closed
wants to merge 3 commits into from

Conversation

ThePlasticPotato
Copy link
Contributor

Self Explanatory

Might need some review

Didn't want to remove the old assembly functions as to not break existing addons so I deprecated them for now

Should also be able to handle assembling ships out of ships supposedly, unable to test rn while I redo splitting

@PriestOfFerns
Copy link

Should probably rename everything with contraption in it to ship. It's a left over from marvin's code, which calls VS2 ships contraptions for some reason

Also so you can probably just remove triggerBlockChange() since it's just calling updateBlock()


fun updateBlock(level: Level, fromPos: BlockPos, toPos: BlockPos, toState: BlockState) {

// 75 = flag 1 (block update) & flag 2 (send to clients) + flag 8 (force rerenders)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does it say 75 =, when its 11 and also flag 8 has a + instead of a &

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ewou, this PR is outdated. Tomato added the assembly code while they were adding vs-api to 1.18

@ewoudje ewoudje closed this Aug 17, 2024
@ewoudje
Copy link
Contributor

ewoudje commented Aug 17, 2024

Close it then...

@PriestOfFerns
Copy link

@ewoudje do I look like I have PR perms

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.

3 participants