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

Fix block interactions with Better Placement tweak #476

Merged
merged 1 commit into from
May 23, 2024

Conversation

jchung01
Copy link
Contributor

@jchung01 jchung01 commented May 23, 2024

Should fix #473 by accounting for interactable blocks, although the way it determines if it's interactable may not be perfect. Replaces the mod-specific isDrawer() check for a universal isInteractableAt().

Copy link

what-the-diff bot commented May 23, 2024

PR Summary

  • Addition of new configuration in mixins.tweaks.blocks.betterplacement.json
    A new setting enabling the ability for better block placement is added and is togglable through this configuration.

  • Introduction of IInteractable.java interface
    A new interface has been introduced which provides a standard format on how interactable components should behave.

  • Creation of UTInteractableBlockMixin.java
    This is the implementation of the newly introduced IInteractable interface for blocks that can be interacted with in the application.

  • Inclusion of mixins.tweaks.blocks.betterplacement.mixin.UTInteractableBlockMixin in client configuration
    The new mixin, responsible for implementing the better block placement feature, is now included in the client configuration, which means it will be active for client-side operations.

@ACGaming ACGaming merged commit 5eb330f into ACGaming:main May 23, 2024
1 check passed
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.

[Enhancement] Better Placement incompat with many mods
2 participants