13788 Commits

Author SHA1 Message Date
Armen Deroian
fed2a6d917
Add the event: WorldSoundEvent (#5322) 2022-12-06 13:06:40 +00:00
Dylan K. Taylor
8e600b4a78
ItemBlock: fixed unnecessary double singleton usage 2022-12-06 12:48:28 +00:00
Rush2929
1d4b6dc66e
Only reduce durability when armor reduced damage. (#5444)
https://minecraft.fandom.com/wiki/Durability#Armor_durability
2022-12-05 21:10:36 +00:00
Dylan K. Taylor
18c2e90574
fix CS 2022-12-05 14:47:44 +00:00
Dylan K. Taylor
142ccc7e87
Merge branch 'next-minor' into next-major 2022-12-05 14:14:39 +00:00
Dylan K. Taylor
174c9a48f5
Merge branch 'next-minor' of github.com:pmmp/PocketMine-MP into next-minor 2022-12-05 14:12:45 +00:00
Dylan K. Taylor
0a9b52618d
4.12.2 is next 2022-12-04 23:11:48 +00:00
Dylan K. Taylor
7ae6425d05
Release 4.12.1 2022-12-04 23:11:48 +00:00
Dylan K. Taylor
b5cfab497d
Clean up inventory content syncing, fixes #5441
these remnants should have been cleaned up in 4.11, but I somehow managed to skip over them.
2022-12-04 23:05:30 +00:00
Dylan K. Taylor
ca3b5c38b7
Added internal support for tag recipe ingredients 2022-12-02 14:03:58 +00:00
Javier León
3984d220bb
Implemented the swift sneak enchantment (#5404)
Co-authored-by: Dylan T <dktapps@pmmp.io>

closes #5301
2022-12-01 20:38:41 +00:00
Dylan K. Taylor
eb62dc3294
Added documentation for RegistryTrait, EnumTrait and CloningRegistryTrait 2022-11-30 21:04:17 +00:00
Dylan K. Taylor
28d8526d8d
Merge branch 'next-minor' into next-major 2022-11-30 20:05:30 +00:00
Dylan K. Taylor
0b497654f2
Merge remote-tracking branch 'origin/stable' into next-minor 2022-11-30 19:51:24 +00:00
Dylan K. Taylor
279056fe2f
4.12.1 is next 2022-11-30 16:35:58 +00:00
Dylan K. Taylor
cd233b123b
Release 4.12.0 2022-11-30 16:35:58 +00:00
IvanCraft623
d476a4c1aa
Implement a Living::getDisplayName() (#5384) 2022-11-27 19:48:55 +00:00
SlimyBoy2
95263795a8
Durable: fix misbehaviour of isBroken() since fe982c697bec3265c4222b73fe5ed17c9ef3b1ce (#5436)
this broke tool and armour break sounds.
2022-11-27 00:13:41 +00:00
zSALLAZAR
8f20b9da91
Rename ExplosionPrimeEvent to EntityPreExplodeEvent (#5434) 2022-11-26 19:55:16 +00:00
Dylan K. Taylor
b0c6e8d8e0
StringToItemParser: added lookupAliases() and lookupBlockAliases()
this permits reverse-lookuping all registered aliases that map to the given item (including properties).
this may be useful for plugins to use for generating configs, instead of using IDs or some godawful hack using getName().
2022-11-26 19:32:39 +00:00
Dylan K. Taylor
ec9f9a469f
4.11.1 is next 2022-11-25 20:29:49 +00:00
Dylan K. Taylor
d450264e1c
Release 4.11.0 2022-11-25 20:29:46 +00:00
Dylan K. Taylor
d03caafc2b
Merge branch 'next-minor' into next-major 2022-11-25 15:00:39 +00:00
Dylan K. Taylor
641d35a30f
Updated pocketmine/locale-data to get new translations 2022-11-25 14:59:58 +00:00
Dylan K. Taylor
b6982a84ef
Merge branch 'next-minor' into next-major 2022-11-25 14:52:56 +00:00
Dylan K. Taylor
d79e6354a0
Merge branch 'stable' into next-minor 2022-11-25 14:41:05 +00:00
zSALLAZAR
5c1e9a35a9
Fix missing sounds when interacting with item frames (#5383)
closes #5168
2022-11-25 14:28:41 +00:00
Dylan K. Taylor
aad9f5fb45
Terminal: use fallback escape codes if TERM env var is not set
tput requires a value for TERM, so it will generate errors if the var is
not set, as it appears not to be in PhpStorm on macOS.
2022-11-24 22:52:33 +00:00
Dylan K. Taylor
fdb07cdbcd
Added more missing native types according to 8.0 standards 2022-11-23 14:21:38 +00:00
Dylan K. Taylor
3b6ff3c42b
Apply union types in some places (BC breaks) 2022-11-23 14:03:35 +00:00
zSALLAZAR
e5f5fe80f9
BlockGrowEvent: Remove unnecessary Cancellable implementation (#5359)
this is already implemented by BaseBlockChangeEvent
2022-11-23 13:29:23 +00:00
zSALLAZAR
36ab34df29
Implement BlockDeathEvent (#5420)
closes #4711
2022-11-23 12:57:26 +00:00
zSALLAZAR
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
ipad54
1bc5e225ab
Candle: Fix support type (#5422) 2022-11-21 14:38:18 +00:00
Alexey Burevestnikov
dda8ff18b1
Missing space (#5419) 2022-11-21 10:25:17 +00:00
Dylan K. Taylor
6562335120
CrashDump: fixed failure to generate crash report when error messages contain invalid characters
closes #2986
2022-11-15 22:00:20 +00:00
Dylan K. Taylor
0c463a8721
PlayerCreationEvent: update woefully inadequate documentation
closes #4581
2022-11-15 21:45:08 +00:00
Dylan K. Taylor
a66f966b08
Update API documentation for Inventory methods 2022-11-15 21:00:13 +00:00
Dylan K. Taylor
cca22046ab
Updated pocketmine/locale-data 2022-11-15 20:21:39 +00:00
ipad54
858d3dce8e
Implement Weeping & Twisting vines (#5396) 2022-11-15 15:29:42 +00:00
Dylan K. Taylor
d19f0bf7be
Language: added getAll() 2022-11-15 15:27:14 +00:00
Dylan K. Taylor
ff2391e74a
FormattedCommandAlias: use new string for description 2022-11-15 15:26:55 +00:00
Dylan K. Taylor
39e10da88d
PlayerChatEvent: replace hardcoded translation key with KnownTranslationKeys constant 2022-11-15 15:15:34 +00:00
zSALLAZAR
34839da757
Fix missing sound when a projectile strikes an amethyst block (#5382)
closes #5358
2022-11-15 14:50:05 +00:00
Dylan K. Taylor
b3b8516661
5.0.0-ALPHA6 is next 2022-11-13 14:47:41 +00:00
Dylan K. Taylor
90305a0b92
Release 5.0.0-ALPHA5 2022-11-13 14:47:37 +00:00
Dylan K. Taylor
613ce251c5
Merge branch 'next-minor' into next-major 2022-11-13 14:32:54 +00:00
Dylan K. Taylor
beed6efd4e
4.11.0-BETA3 is next 2022-11-13 14:30:11 +00:00
Dylan K. Taylor
e5bc4deb12
Release 4.11.0-BETA2 2022-11-13 14:29:59 +00:00
Dylan K. Taylor
2fcff13578
World: added getter and setter for simulation radius 2022-11-12 23:32:12 +00:00