4d79aced07
Merge branch 'next-minor' into next-major
2022-12-15 19:50:27 +00:00
99996b62d6
Align PhpDoc @param tags according to PHP-CS-Fixer
2022-12-06 13:21:20 +00:00
a205d64732
Merge branch 'next-minor' into next-major
2022-11-12 17:02:56 +00:00
d03bbb0426
Implemented darkness effect ( #5402 )
2022-11-10 12:57:14 +00:00
9295afe8b9
Merge branch 'next-minor' into next-major
2022-09-24 18:12:38 +01:00
a7dfa0907c
Merge branch 'stable' into next-minor
2022-09-24 18:07:56 +01:00
3c55db531d
HealthBoostEffect: Ensure that current health is within limits after reducing max health on removal( #5303 )
2022-09-24 13:45:12 +01:00
b39eaaf91f
Merge branch 'next-minor' into next-major
2022-09-21 15:07:11 +01:00
9f97654f6f
Update InstantDamage and Regeneration values ( #5279 )
2022-09-15 20:26:37 +01:00
f80ffd8de0
Merge branch 'next-minor' into next-major
2022-09-15 13:59:21 +01:00
3d03bb1301
Fix CS
2022-09-15 12:01:26 +01:00
88eafdd614
Improve type info for RegistryTrait::getAll() and its users
2022-09-02 19:57:22 +01:00
1ecb10acba
Merge branch 'next-minor' into next-major
2022-08-21 19:19:07 +01:00
dce8bd6d21
CS: Standardize new with braces
2022-08-15 17:16:23 +01:00
d4f4fda442
Merge branch 'next-minor' into next-major
2022-07-14 19:54:50 +01:00
705df7d508
EffectManager: remove redundant check ( #5153 )
2022-07-14 17:56:18 +01:00
3dd4c42fd3
Merge branch 'next-minor' into next-major
2022-07-14 16:06:35 +01:00
75d7adfb2d
WitherEffect: fixed incorrect damage interval
2022-07-14 16:05:35 +01:00
aa9f8781ff
Merge branch 'next-minor' into next-major
2022-06-07 19:56:26 +01:00
38d6284671
Use PHP-CS-Fixer to enforce file header presence
2022-06-04 17:34:49 +01:00
7b8eeb42f6
Use typed properties in src/entity package
...
[bc break]
2022-06-01 21:19:02 +01:00
ec6769a6fc
Modernize private property declarations in src/entity
2022-05-17 20:42:17 +01:00
89cc449808
Update exhaustion values for 1.18.30 ( #5034 )
2022-05-17 18:28:19 +01:00
8f525ab399
Replace disallowed operators in src/entity/
2022-01-20 19:14:28 +00:00
6d249026cc
Merge branch 'legacy/pm3' into stable
2022-01-07 20:15:15 +00:00
c3ec9c0948
Effect default duration is once again NOT hardcoded, like PM3
...
I have no fucking idea why I hardcoded this to begin with. Not one of my better ideas ...
2021-11-09 01:52:47 +00:00
19a3efe893
.......
2021-11-08 18:57:14 +00:00
a1ecdc27e5
Removed Vanilla*::fromString()
...
these were misbegotten and should never have existed.
If someone really needs these for some reason, they can use getAll()[name].
2021-11-08 18:52:14 +00:00
f93b5be789
Added new dynamic StringToEffectParser
2021-11-08 18:49:28 +00:00
7d5b9295cb
PoisonEffect should accept Translatable|string, like its parent
...
this doesn't really break anything, but someone will likely whine about consistency if it's not fixed now.
2021-09-03 21:33:55 +01:00
0404298c74
Effect: get rid of runtimeIDs
2021-09-03 21:25:06 +01:00
665f2473e1
Effect: stop using hardcoded translation keys for names
2021-09-03 20:39:02 +01:00
8e58beef7f
Effect: use promoted properties
2021-09-03 20:32:13 +01:00
270ee5c085
Simplify registry method generation
2021-08-22 23:02:36 +01:00
90161f24e3
Added script to update registry/enum docblocks
2021-03-22 16:00:09 +00:00
c61f66d973
Removed ext-ds dependency
2021-02-11 15:40:37 +00:00
3f254bd49c
Separated effects' MCPE ID registration from VanillaEffects
2020-10-24 18:52:20 +01:00
7b02cc3efd
Implemented #3836 : Replace setCancelled() in events with cancel() and uncancel()
...
The motivation for this is to prevent passing a dynamic argument to cancellation, which in almost all cases is a bug in user code. This same mistake also appears in a few places in the PM core (as seen in this commit), but in those cases the mistakes were mostly harmless since they were taking place before the event was actually called.
closes #3836
2020-09-26 14:31:56 +01:00
1aa92bd6a8
Living: Do not rely on attribute map for moveSpeed attribute access
2020-05-21 20:13:24 +01:00
f93bc0739c
Force types of RegistryTrait usages to shut PHPStan up
...
we need generic traits to solve this problem properly.
2020-05-21 19:12:48 +01:00
86db3af896
remove utils\Color, use new pocketmine/color class
...
we're so close to separating protocol from core !!!
2020-05-14 20:38:08 +01:00
3dafee6aa6
NetworkSession: explicitly unregister effect manager hooks on dispose,
...
close #3455
2020-05-14 10:59:10 +01:00
ca909ebc1d
Merge branch 'next-minor'
2020-03-10 13:05:37 +00:00
aac7da6c96
eliminate remaining empty() usages
2020-02-07 21:51:50 +00:00
5c4487c980
added some callable prototypes for phpstan
2020-01-29 19:56:16 +00:00
055b13a6cf
strip extra blank lines (php-cs-fixer)
2020-01-22 15:14:10 +00:00
67bcc1c0fb
phpdoc armageddon for master, pass 1
2020-01-22 11:55:03 +00:00
79aa4959b8
Merge commit 'a9081979071ec8ad56d14474cfbc48b5c60fb440'
2020-01-04 11:28:21 +00:00
89458660cf
VanillaEffects: return null instead of throwing on invalid effect ID
...
we don't expect plugin devs to be using this any more, and it doesn't make sense to throw on data deserialize. This throw was unchecked and a potential server crash might have occurred in Living on data load.
2019-12-12 13:54:05 +00:00
39d5903c3e
Remove INT32_MIN and INT32_MAX global constants
2019-08-25 16:09:51 +01:00