Refactor PistionStructureResolver API for better Compatiblity (#1775)

* Implement better handling for custom block interactions within the `PistionStructureResolver`

- Switch to a opt in system for piston interaction methods by moving to a dedicated interface and removing mixin that injects such into every block
- Default to vanilla code for slime blocks and honey blocks behavior.
- Keep `BlockBehaviourInterface` and `BlockBehaviour_customStickyMixin` for compatibility reasons
This commit is contained in:
Blodhgarm authored and GitHub committed 2023-08-01 13:29:49 +02:00
1 parent 1a73edbf76
commit f564a9c491
9 files changed
+57 -114

No files matched your search

+2 -4
View File
@@ -178,13 +178,11 @@
"SculkSensorBlockEntityVibrationConfig_sculkSensorRangeMixin",
"CollectingNeighborUpdaterAccessor",
"BlockBehaviour_customStickyMixin",
"BlockBehaviourBlockStateBase_mixin",
"ChainBlock_customStickyMixin",
"ChestBlock_customStickyMixin",
"HoneyBlock_customStickyMixin",
"PistonStructureResolver_customStickyMixin",
"SlimeBlock_customStickyMixin"
"PistonStructureResolver_customStickyMixin"
],
"client": [
"ClientLevel_tickSpeedMixin",