677566bd24
Abstract getPosition() in traits
...
we don't technically need to do this, but I suppose it's nicer for people who don't use a static analyser.
2025-08-31 01:39:26 +01:00
a9c2e95860
oops
2025-08-31 01:32:33 +01:00
088bfed820
tidy
2025-08-31 01:29:32 +01:00
d7f86d3172
Tidy debug messages
2025-08-31 00:26:43 +01:00
6a4240fa02
Fix test
2025-08-31 00:22:59 +01:00
af02f6b448
Fix build
2025-08-31 00:20:26 +01:00
657c07b1a3
Remove dependencies on hotbar and offhand inventory to get equipment
...
It's always grated at me that the call chain to get the held item is so long
2025-08-31 00:06:56 +01:00
3c6b0993cc
Finally deal with APIs on container and menu blocks
...
Two main interfaces are introduced:
- Container (chest, furnace, etc)
- MenuAccessor (includes Containers but also anvils, crafting tables etc. which are not containers)
Containers have inventories, locks, and everything from MenuAccessor
MenuAccessors have obstruction checks, and openToUnchecked() for plugins to use
I opted not to include precondition checks in openTo() because it's possible
to replicate those using the provided APIs if desired.
2025-08-30 23:38:07 +01:00
496ab808a8
First step towards standardised opening logic for containers and menu blocks
...
we'll want to introduce interfaces for these, but getting the code deduplicated is enough to start with.
2025-08-30 21:35:42 +01:00
174dfd1ecd
Merge branch 'major-next' into inventory-rework
2025-08-30 20:10:47 +01:00
9a9506b793
Upgrade CallbackValidator
...
closes #6343
2025-08-30 19:23:38 +01:00
06b48d97e9
Fix merge error
2025-08-30 19:01:14 +01:00
851ac29f71
CS
2025-08-30 18:56:56 +01:00
de7dcf114f
Merge branch 'minor-next' of github.com:pmmp/PocketMine-MP into major-next
2025-08-30 18:51:15 +01:00
dca9d3a010
Merge 'stable' into 'minor-next'
...
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/17346805858
2025-08-30 17:49:04 +00:00
f673159471
5.33.1 is next
...
Commit created by: https://github.com/pmmp/RestrictedActions/actions/runs/17346780638
2025-08-30 17:46:07 +00:00
831c5a0464
Merge pull request #6783 from pmmp/r5.33.0
...
Release 5.33.0
5.33.0
2025-08-30 18:45:11 +01:00
5c363965f0
Fix build date
...
we really need a better way to deal with this
2025-08-30 18:43:18 +01:00
95679b5a29
Update BedrockData and some transient deps
2025-08-30 18:36:42 +01:00
4e82482a80
Use generic enumSet() for blocks with facing flags
2025-08-30 18:11:24 +01:00
e87e6cf19f
Merge 'minor-next' into 'major-next'
...
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/17336647491
2025-08-30 00:02:48 +00:00
9310c46ea1
Merge 'stable' into 'minor-next'
...
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/17336647491
2025-08-30 00:02:47 +00:00
8dc4371385
Enums for rail shapes, sort of
...
this makes the API more sane, although the internals will need to be rewritten at some point in the future.
2025-08-29 23:33:52 +01:00
7449ad5637
tidy
2025-08-29 23:12:58 +01:00
6aaf6b336a
Make an enum for horizontal facing blocks
...
awkward that the interface is also called HorizontalFacing, so I had to improvise for the naming
2025-08-29 23:11:17 +01:00
6f6b23d4e4
Integrate dev-major-next version of pocketmine/math
...
this is a reduced version compared to the original, due to the difficulty of getting rid of Facing values internally.
2025-08-29 21:47:20 +01:00
97027db70a
Merge branch 'minor-next' into major-next
2025-08-29 20:56:59 +01:00
f1b1e1977e
Harden validation for server auth block breaking
2025-08-29 20:37:29 +01:00
23d612f1af
Suggested additions
2025-08-29 18:49:08 +01:00
8f7e16a9ad
Prepare 5.33.0 release
2025-08-29 14:11:50 +01:00
beaedc3627
Tidy up in block properties aisle
2025-08-29 13:07:09 +01:00
48ba334218
CS again :<
2025-08-29 12:33:50 +01:00
0be15a7403
Rename MultiFacing -> MultiAnyFacing
...
to match the trait name
2025-08-29 12:33:04 +01:00
2404d63b1f
Ageable: added getMaxAge()
...
we'll probably need this...
2025-08-29 12:24:24 +01:00
aae88c5c26
Merge 'minor-next' into 'major-next'
...
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/17310812886
2025-08-29 00:02:52 +00:00
dd9030f1f5
tools/generate-bedrock-data-from-packets: generate less noise for items
...
if we have only a name (the majority case), we can just return the name directly instead of an object.
this massively reduces the amount of noise in the files as seen in pmmp/BedrockData@f814036229
2025-08-28 21:15:09 +01:00
24795eef0e
Merge 'minor-next' into 'major-next'
...
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/17223908234
2025-08-26 00:03:10 +00:00
de234d1f38
Improved placement logic
2025-08-26 00:10:50 +01:00
db54c481aa
Fixed hanging signs placement criteria ( #6775 )
2025-08-25 23:27:17 +01:00
ac2c07c3fe
Added a space after hanging sign wood type ( #6776 )
2025-08-25 17:00:41 +01:00
ec56d65bcc
Fix BC break in BaseBanner
2025-08-25 02:17:45 +01:00
c548923116
...
2025-08-25 02:16:38 +01:00
4a2c7dc684
Apparently hanging signs are self supporting
2025-08-25 02:15:24 +01:00
f04c458e54
Merge branch 'stable' into minor-next
2025-08-25 01:49:19 +01:00
5c0a109f18
Sign: Strip trailing newlines from text blobs
...
fixes sign editor always putting the cursor on the last line when right-clicking to edit
2025-08-25 01:48:29 +01:00
1ebd7d3960
Remove unused deprecated stuff
2025-08-24 23:29:55 +01:00
36211a96c1
Strip deprecated leftovers from #6769
2025-08-24 23:24:38 +01:00
e8eda19ae5
Merge remote-tracking branch 'origin/minor-next' into major-next
2025-08-24 23:18:21 +01:00
31f6f5d252
CS again
2025-08-24 20:13:15 +01:00
0e498720bd
Regenerate phpstan-bugs baseline
2025-08-24 20:10:34 +01:00