17948 Commits

Author SHA1 Message Date
pmmp-restrictedactions-bot[bot]
89f88a9333 Merge 'stable' into 'minor-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/12092463227
2024-11-30 01:35:06 +00:00
pmmp-restrictedactions-bot[bot]
9cab72ed59 5.21.3 is next
Commit created by: https://github.com/pmmp/RestrictedActions/actions/runs/12090411351
2024-11-29 20:43:17 +00:00
Dylan T.
2bd9f4108b
5.21.2 (#6545) 5.21.2 2024-11-29 20:42:14 +00:00
dependabot[bot]
cd2a1fdc1d
Bump build/php from 8a396c6 to 5016e0a (#6541) 2024-11-29 11:03:27 +00:00
pmmp-restrictedactions-bot[bot]
002383be89 Merge 'minor-next' into 'major-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/12077579940
2024-11-29 01:37:53 +00:00
pmmp-restrictedactions-bot[bot]
a396233e57 Merge 'stable' into 'minor-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/12077579940
2024-11-29 01:37:52 +00:00
dependabot[bot]
d666f17ec6
Bump build/php from a51259d to 8a396c6 (#6540) 2024-11-28 15:46:30 +00:00
pmmp-restrictedactions-bot[bot]
00bdb6be73 Merge 'minor-next' into 'major-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/12060967026
2024-11-28 01:37:50 +00:00
pmmp-restrictedactions-bot[bot]
a84326cb2d Merge 'stable' into 'minor-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/12060967026
2024-11-28 01:37:49 +00:00
Dylan K. Taylor
0543bf301e
draft-release: updated php_download_url 2024-11-27 19:19:51 +00:00
Dylan K. Taylor
c3c917bb05
Merge branch 'minor-next' into major-next 2024-11-27 17:56:45 +00:00
Dylan K. Taylor
603ab081bc
Merge branch 'stable' into minor-next 2024-11-27 17:56:34 +00:00
Dylan K. Taylor
daacc8eddb
Updated setup-php-action to 3.2.0 2024-11-27 17:56:00 +00:00
pmmp-restrictedactions-bot[bot]
a078f653f4 Merge 'minor-next' into 'major-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/12042121495
2024-11-27 01:39:13 +00:00
Dylan T.
5a35c25ad4
Merge branch 'major-next' into inventory-rework 2024-11-26 11:45:52 +00:00
Akmal Fairuz
269effcecf
Introduce Utils::getRandomFloat() (#6532)
Drop-in replacement for lcg_value() for PHP 8.4
2024-11-26 11:33:29 +00:00
pmmp-restrictedactions-bot[bot]
ed33983792 Merge 'minor-next' into 'major-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/12022106146
2024-11-26 01:36:42 +00:00
pmmp-restrictedactions-bot[bot]
ae750b60d0 Merge 'stable' into 'minor-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/12022106146
2024-11-26 01:36:41 +00:00
Dylan K. Taylor
905a10e980
Deprecate InventoryAction->onAddToTransaction()
this never made any sense
2024-11-25 21:39:35 +00:00
Dylan K. Taylor
52fe2cb97f
PermissionManager: deprecate permission subscription system
this is no longer used by the core, and as far as I can tell no plugin uses it either.
it was used in the past for chat broadcast channels, but not anymore.
2024-11-25 21:29:26 +00:00
Dylan T.
8cdc7d7ee1
auto-approve: drop pull_request_review trigger
this doesn't work for PRs from forks, since fork PRs don't have access to repo secrets.

we'll need some more advanced mechanism to avoid redundant reviews, but that's a job for another time.
2024-11-25 20:43:59 +00:00
Dylan K. Taylor
3099129272
Merge branch 'major-next' into inventory-rework 2024-11-25 14:38:56 +00:00
Dylan K. Taylor
15eaf67a0c
Merge branch 'minor-next' into major-next 2024-11-25 14:36:25 +00:00
Dylan K. Taylor
12ae8dc03b
Merge branch 'stable' into minor-next 2024-11-25 14:32:30 +00:00
Dylan K. Taylor
a9787f0d99
Fix PHPStan error 2024-11-25 14:32:17 +00:00
Dylan K. Taylor
5325ecee37
Deal with a whole lot of PHPStan suppressed key casting errors
closes #6534
2024-11-25 14:30:58 +00:00
Dylan K. Taylor
d69d8d6217
EnchantingTableInventoryWindow: cleanup weakref mess
this really needs a shorter name
2024-11-25 11:28:54 +00:00
Dylan K. Taylor
edf4e9d333
... 2024-11-25 10:56:26 +00:00
Dylan K. Taylor
4dcc14e0a1
Integrate block container animations and SFX into Block classes by way of AnimatedContainer interface
this allows getting rid of several container window classes.

we should probably look into adding more info to the BlockInventoryWindow to make the type easier to identify, though.
now that holder is tracked by an ephemeral window, we can put whatever we like in there.
2024-11-25 10:55:35 +00:00
Dylan T.
f4d50a1aa1
Merge branch 'major-next' into inventory-rework 2024-11-24 23:57:03 +00:00
Dylan T.
d72941c36c
Update IceBomb.php 2024-11-24 23:56:44 +00:00
Dylan K. Taylor
6aa4e4c21f
CS 2024-11-24 23:51:41 +00:00
Dylan K. Taylor
5c221247fe
Merge branch 'major-next' into inventory-rework 2024-11-24 23:51:16 +00:00
Dylan K. Taylor
e51903d7ea
Merge branch 'minor-next' into major-next 2024-11-24 23:51:07 +00:00
Dylan K. Taylor
30ee0aa63d
Merge branch 'stable' into minor-next 2024-11-24 23:50:56 +00:00
Dylan K. Taylor
aef4fa7174
Remove unused variable 2024-11-24 23:50:30 +00:00
Dylan K. Taylor
53aa380ca3
Candle: fix extinguish logic
closes #5983
2024-11-24 23:49:32 +00:00
Dylan K. Taylor
7f58122ac6
Avoid unnecessary repeated calls 2024-11-24 23:43:51 +00:00
Dylan K. Taylor
1738355357
Remove potentially problematic ephemeral window creation
this is *probably* fine, but best avoided.
2024-11-24 23:43:32 +00:00
Dylan K. Taylor
fe1a8d98e7
namespace tidy 2024-11-24 23:29:13 +00:00
Dylan K. Taylor
1d2b52732e
Chest block now has responsibility for configuring double chest inventories
it already needs to locate the correct pair anyway to know the left/right for DoubleChestInventoryWindow, so we might as well use this logic for initializing the DoubleChestInventory itself too. The old logic in tile/Chest didn't work correctly.
2024-11-24 22:47:35 +00:00
Dylan K. Taylor
9c5df90e9b
Burn more junk 2024-11-24 22:11:38 +00:00
Dylan K. Taylor
dcbf1c706a
this bites me every single time 2024-11-24 21:45:45 +00:00
Dylan K. Taylor
45a4282e8b
First look: Split up Inventory & InventoryWindow
this unblocks a variety of changes, such as positionless tiles, enhanced APIs on Blocks for inventories, and also eliminates a bunch of cyclic references within the core code.

linked to #5033
2024-11-24 21:40:47 +00:00
Dylan K. Taylor
473bbe64e0
BaseInventory no longer uses viewers to send updates to players
we want viewers to be as close to decorative as possible, so that they provide useful information to plugins, but don't get in the way of other changes.
2024-11-24 21:22:44 +00:00
Dylan K. Taylor
f98cebbd62
Separate hotbar from player inventory
this allows this functionality to be used with any type of inventory, and also makes it a little nicer to use in many cases.
2024-11-24 17:58:58 +00:00
zSALLAZAR
a5f607138c
Implement Ice Bomb (#5452)
Co-authored-by: Dylan K. Taylor <dktapps@pmmp.io>
2024-11-24 15:01:26 +00:00
ShockedPlot7560
8338ebaffd
Add generic types for TaskHandler (#6030) 2024-11-24 14:14:34 +00:00
pmmp-restrictedactions-bot[bot]
3e9a96b43a Merge 'minor-next' into 'major-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/11990667732
2024-11-23 21:49:02 +00:00
pmmp-restrictedactions-bot[bot]
082119cfd2 Merge 'stable' into 'minor-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/11990667732
2024-11-23 21:49:01 +00:00