Dylan K. Taylor
8b23231537
Fixup PHPDoc for blocks
2025-01-06 22:44:16 +00:00
ipad54
0b0c425805
Extract glow lichen multi face logic into traits ( #6396 )
...
This will be useful for future block additions
2024-11-15 15:47:26 +00:00
Dylan K. Taylor
ae564e445d
Start migrating EnumTrait enums to PHP 8.1 native enums
2023-09-07 17:20:52 +01:00
Dylan K. Taylor
82f87cc2da
Reduce repeated block-change-event related code
...
the new helper code reveals even more repetition, but this is at least consistent now.
2023-08-02 13:40:12 +01:00
Dylan K. Taylor
5899f2fc1d
Block: introduce new methods to reduce support type boilerplate checks
...
this switches from a 'can be supported by' concept to a 'can stay at this position' paradigm, which requires way less boilerplate code.
there may be further improvements we can make from here, such as adding traits, but this is a good first step.
2023-07-21 15:02:25 +01:00
IvanCraft623
6d7f44d8fe
Implement glow lichen ( #5401 )
2023-06-04 16:04:08 +01:00