Dylan K. Taylor
|
d0ff6d2e36
|
Enable various types of interaction to return items to the player, without needing to have a bunch of boilerplate creative mode and held item checks
it became glaringly obvious that this was needed because of #4827 and #4868.
this is further needed with the addition of cauldrons.
|
2022-07-16 19:50:33 +01:00 |
|
Dylan K. Taylor
|
1ff69136a3
|
Merge branch 'next-major' into modern-world-support
|
2022-06-07 20:01:40 +01:00 |
|
Dylan K. Taylor
|
02568bb049
|
Remove ItemFactory usage from Bucket
|
2022-06-05 21:19:38 +01:00 |
|
Dylan K. Taylor
|
38d6284671
|
Use PHP-CS-Fixer to enforce file header presence
|
2022-06-04 17:34:49 +01:00 |
|
Dylan K. Taylor
|
22fb02c4e6
|
Replace disallowed operators in src/item/
|
2022-01-20 19:16:50 +00:00 |
|
SalmonDE
|
7fd712c1ff
|
Refactor Block & Tile: getPos() to getPosition() (#4395)
this also changes the name of the class property 'pos' to 'position' as well as Block->getPosOffset() to Block->getPositionOffset()
|
2021-08-23 14:01:32 +01:00 |
|
Dylan K. Taylor
|
6cf875ca3a
|
Item: rename onActivate() to onInteractBlock()
|
2020-11-09 19:33:13 +00:00 |
|
Dylan K. Taylor
|
5a94af40e2
|
Convert ItemFactory to singleton
|
2020-04-24 00:18:31 +01:00 |
|
Dylan K. Taylor
|
53ab860db5
|
first shot making Block not extend Position
this makes some stuff a lot less pretty, but this seems to be the bare minimum necessary to do this task. It can be enhanced later.
|
2019-08-05 16:44:09 +01:00 |
|
Dylan K. Taylor
|
5499ac620c
|
Removed pocketmine subdirectory, map PSR-4 style
|
2019-07-30 19:14:57 +01:00 |
|