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

Expose ISourceTile as a capability #1085

Open
wants to merge 7 commits into
base: 1.20
Choose a base branch
from
Open

Conversation

62832
Copy link
Contributor

@62832 62832 commented Aug 25, 2023

This PR reworks the current system to make use of a new SOURCE_TILE capability in order to allow block entities that don't directly extend AbstractSourceMachine to fully interact with the Source API.

The primary motivation for this PR comes from the Ars Énergistique AE2 add-on, which makes use of capabilities for things such as the Source P2P Tunnel in order for the tunnel to be recognised as something that can store and transfer source.

Relays have also now been made to store the direction of set blocks to assist with directional capability lookup.

(joint effort with @dkmk100)

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.

None yet

1 participant