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
|
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
|
38d6284671
|
Use PHP-CS-Fixer to enforce file header presence
|
2022-06-04 17:34:49 +01:00 |
|
Dylan K. Taylor
|
95ad3f16e1
|
Modernize private property declarations in src/item
|
2022-05-17 20:59:24 +01: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
|
9228f006d4
|
Merge remote-tracking branch 'origin/stable'
# Conflicts:
# composer.json
# composer.lock
# resources/vanilla
# src/CrashDump.php
# src/PocketMine.php
# src/pocketmine/Server.php
# src/pocketmine/item/Bucket.php
# src/pocketmine/item/Item.php
# src/pocketmine/level/format/Chunk.php
# src/pocketmine/level/format/io/leveldb/LevelDB.php
# src/pocketmine/level/format/io/region/McRegion.php
# src/pocketmine/network/mcpe/protocol/BatchPacket.php
# src/pocketmine/tile/Furnace.php
# src/pocketmine/utils/UUID.php
# src/utils/ServerKiller.php
|
2020-12-20 20:54:13 +00:00 |
|
Dylan K. Taylor
|
6cf875ca3a
|
Item: rename onActivate() to onInteractBlock()
|
2020-11-09 19:33:13 +00:00 |
|
Dylan K. Taylor
|
4fc134bd04
|
Separate item ID/meta to ItemIdentifier structure
|
2020-06-29 12:16:34 +01:00 |
|
Dylan K. Taylor
|
67bcc1c0fb
|
phpdoc armageddon for master, pass 1
|
2020-01-22 11:55:03 +00:00 |
|
Frago9876543210
|
37763685aa
|
LiquidBucket: add getLiquid() (#3123)
|
2019-10-04 09:34:14 +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 |
|