mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-16 07:24:32 +01:00
20cd8da377
Registering block movement checks works by using one of the six static register methods on an instance of an implementation of one of the six corresponding interfaces. Each one takes some arguments and returns a CheckResult, which defines whether to return from the global check or fall through to the next registered check or fallback check. - Rename BlockMovementTraits to BlockMovementChecks - Rename some check methods to be consistent - Pass World instead of IBlockReader to isBlockAttachedTowards - Make the bottom half of doors attach up and down - Remove door check from Contrapion#moveBlock as it is unnecessary |
||
---|---|---|
.. | ||
generated/resources | ||
main |