Add ComputerCraft integration - #42
Merged
Merged
Conversation
Member
|
Thank you for the contribution. It looks quite good at first glance. It will take me a bit to review and integrate this. I am currently busy with a lot of porting. I'll get back to this when I have time again. |
Member
|
Thank you for the base changes. I adapted your changes to an observer pattern, renamed a few things, and used the cached data. This also helped me find a bug in the block entity logic. The integration will be part of the new update. I already wrote a wiki page for it. Thanks for your contribution; much appreciated! |
Merged
Saereth
added a commit
to Saereth/energymeter
that referenced
this pull request
Jul 30, 2026
Ports AlmostReliable#42 onto 26.1.2. Co-authored-by: TrickShotMLG <43967908+TrickShotMLG02@users.noreply.github.com> Co-authored-by: Relentless <16513358+rlnt@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed Changes
This PR restores full ComputerCraft/CC:Tweaked support from previous versions, adapted for the updated Energy Meter implementation.
It registers the Energy Meter as a ComputerCraft peripheral and exposes the following Lua functions:
Additional Context