8909aa6a18
Merge branch 'next-minor' into next-major
2023-01-13 17:29:25 +00:00
a9f06fc5f4
Replaced hardcoded record.nowPlaying with KnownTranslationKeys
2023-01-13 17:27:57 +00:00
6dd006e730
Update BlockTypeIds.php
2023-01-13 01:31:24 +00:00
39218017ca
Fixed walls and thin blocks not connecting to each other
...
closes #5498
2023-01-12 22:16:41 +00:00
ecd8f151f1
Merge branch 'next-minor' into next-major
2023-01-12 22:08:25 +00:00
c671d8a80b
ItemFrame: fixed support conditions
2023-01-12 21:57:35 +00:00
ca1f1bf09f
Fixed glowing item frames
...
due to technical limitations, this requires separating them back into two different block types. However, this isn't too egregious since it's just one flag, and actually simplifies some code.
closes #5478
2023-01-12 21:52:52 +00:00
91ac47ecba
Merge branch 'stable' into next-minor
2023-01-12 21:47:37 +00:00
f4a1d69075
Bell: fixed support requirements
...
this somehow got overlooked in the support types refactor.
2023-01-12 21:45:25 +00:00
cbeae906e1
Torch: remove unused variable
2023-01-12 21:34:44 +00:00
b25e8e26f0
BaseBanner: fixed incorrect support requirements
2023-01-12 21:31:50 +00:00
a79be994de
World: fixed block placement when clicking on replaceable blocks
...
in vanilla, it appears to behave as if the player always clicked on the up face if a block was replaced.
In PM, we were still using the original face, which caused bugs when, for example, placing a button next to a wall by clicking on the side of tallgrass. The button would replace the tallgrass, but stick to the wall, instead of placing itself on the ground like vanilla expects.
This may appear unusual to anyone who also happens to implement canBePlacedAt(), since the facing behaviour will be different. However, this behaviour appears to match vanilla, and even slabs (which I feared might break because of this change) work perfectly.
In the future, it may be desirable to pass some other value here, such as null, to indicate that the clicked block is being replaced. However, that's a BC break and therefore outside of the scope of a stable bug fix.
2023-01-12 21:11:48 +00:00
e26c8b9e9f
block: eliminate suspicious usages of $blockClicked in place()
2023-01-12 20:35:26 +00:00
4e9c3e101d
Bell: fixed blocks not being able to be placed when not ringing the bell
2023-01-12 19:42:33 +00:00
d295e1be54
PressurePlate: destroy self when no support is present
2023-01-12 19:36:47 +00:00
2f3fcef97c
Fixed blocks incorrectly using blockClicked for support checks
...
this caused some interesting bugs, such as being able to place floating pressure plates by clicking on the side of a solid block halfway up a wall.
2023-01-12 19:36:23 +00:00
5021096bdd
Fixed walls and thin blocks not connecting to each other
...
closes #5498
2023-01-09 20:46:57 +00:00
c5ca0857ee
TileFactory: removed outdated TODO ( #5503 )
...
[ci skip]
2023-01-08 15:56:14 +00:00
c2918709a3
Merge branch 'next-minor' into next-major
2023-01-06 01:59:04 +00:00
85231215e7
Implemented Sculk ( #5489 )
2023-01-04 20:10:46 +00:00
172ce659b8
Use str_starts_with, str_ends_with and str_contains instead of strpos ( #5485 )
2022-12-31 13:02:23 +00:00
b3473960b4
Implemented chain ( #5454 )
2022-12-22 15:22:04 +00:00
f38b15cf83
Added tag for fire blocks
2022-12-19 15:22:09 +00:00
0efd928db6
Apply a prefix to block type tags
2022-12-19 15:11:06 +00:00
4f86ea9933
Merge branch 'next-major' of github.com:pmmp/PocketMine-MP into next-major
2022-12-18 22:25:44 +00:00
6e2685cbbb
Merge branch 'next-minor' into next-major
2022-12-18 22:25:32 +00:00
b2017c8462
and more
2022-12-18 22:14:31 +00:00
44e288554a
Implement new records ( #5433 )
2022-12-18 21:15:27 +00:00
1785cbb6b5
Implement FallingBlock missing sounds ( #5348 )
2022-12-18 19:33:50 +00:00
4d79aced07
Merge branch 'next-minor' into next-major
2022-12-15 19:50:27 +00:00
84f9136b95
Implement anvil damage on fall ( #5345 )
2022-12-15 19:12:18 +00:00
99996b62d6
Align PhpDoc @param tags according to PHP-CS-Fixer
2022-12-06 13:21:20 +00:00
b6982a84ef
Merge branch 'next-minor' into next-major
2022-11-25 14:52:56 +00:00
5c1e9a35a9
Fix missing sounds when interacting with item frames ( #5383 )
...
closes #5168
2022-11-25 14:28:41 +00:00
3b6ff3c42b
Apply union types in some places (BC breaks)
2022-11-23 14:03:35 +00:00
36ab34df29
Implement BlockDeathEvent ( #5420 )
...
closes #4711
2022-11-23 12:57:26 +00:00
23ae0c7cac
Add Furnace->getType() : FurnaceType method ( #5425 )
...
closes #4761
this targets next-major due to BC-breaking changes to Furnace::__construct()
2022-11-23 12:32:15 +00:00
1bc5e225ab
Candle: Fix support type ( #5422 )
2022-11-21 14:38:18 +00:00
858d3dce8e
Implement Weeping & Twisting vines ( #5396 )
2022-11-15 15:29:42 +00:00
34839da757
Fix missing sound when a projectile strikes an amethyst block ( #5382 )
...
closes #5358
2022-11-15 14:50:05 +00:00
01bad344a0
Merge branch 'next-minor' into next-major
2022-11-04 20:47:26 +00:00
cdbdcb5d67
Merge branch 'stable' into next-minor
2022-11-04 20:44:28 +00:00
2fdc46c165
PHPStan 1.9 features
2022-11-04 20:23:34 +00:00
d1d5020c53
FallableTrait: add default implementation of tickFalling() to reduce Fallable pollution ( #5350 )
...
this is only used by concrete powder currently, so it doesn't make much sense to reimplement it in every implementor of Fallable.
2022-10-18 16:56:21 +01:00
b70f7afbd6
Fix CS according to latest version of php-cs-fixer
2022-10-13 21:07:07 +01:00
8dc0d506f4
Merge branch 'next-minor' into next-major
2022-10-11 22:29:21 +01:00
6ae7cb288e
Merge remote-tracking branch 'origin/stable' into next-minor
2022-10-11 21:59:40 +01:00
1c6a2b66f7
Merge remote-tracking branch 'origin/next-minor' into next-major
2022-09-29 22:38:26 +01:00
0edf2ea6a4
ConcretePowder: fix CS
2022-09-29 21:50:15 +01:00
2be527060f
Sign: Fixed desync of colour and glowing state when using dye on signs
...
fixes #4932
2022-09-28 23:34:08 +01:00