37 Commits

Author SHA1 Message Date
Dylan K. Taylor
f28bdb5aa2 [ci skip] update changelog to reflect permission changes 2020-12-01 17:24:38 +00:00
Dylan K. Taylor
9867424117 [ci skip] reflect today's changes to Server in changelog 2020-11-28 19:35:12 +00:00
Dylan K. Taylor
011d1713c0 [ci skip] changelog updates 2020-11-28 18:33:08 +00:00
Dylan K. Taylor
8cf589eedd Strip some junk out of IPlayer
these methods have better pathways through Server directly.
Also, setBanned() does not allow customising the reason for banning or the duration, nor does isBanned() account for IP bans because the code is so old ... better to force dependence on a central code path to avoid these inconsistencies.
I want to do the same thing for OP, but that's a separate problem due to its effects on the permission system.
2020-11-28 15:36:46 +00:00
Dylan K. Taylor
c454441646 [ci skip] updated changelog 2020-11-27 18:54:09 +00:00
Dylan K. Taylor
7469f28f24 Server: rename getPlayer() to getPlayerByPrefix()
closes #3910

the existing naming was misleading, and many plugin devs assumed that it returns an exact match. However, this is not guaranteed, and it's possible for two different players to match the same prefix.

- There is no defined behaviour for what happens when multiple players can equally match a prefix (e.g. 'fr' could match 'fred' or 'frog' equally, because the name lengths are the same)
- A prefix might match a different player at a different time (e.g. 'fr' could match 'freddie' before 'fred' joins, after which it will match 'fred' instead)

With these flaws in mind, it's better to break compatibility on this to make the intent more clear, and to make plugin developers reassess their usages of this method. In most non-command use cases, they should likely be using getPlayerExact() instead.
2020-11-14 15:49:41 +00:00
Dylan K. Taylor
04b038ff4b [ci skip] more detail to PM4 changelog 2020-11-12 21:34:12 +00:00
Dylan K. Taylor
1d02829d6f [ci skip] more detail for World API changes on PM4 2020-11-09 14:01:27 +00:00
Dylan K. Taylor
bd78d0bff8 Player: added getItemCooldownExpiry() 2020-11-03 14:11:28 +00:00
Stephen B
ddc0f137e7
changelog: VanillaEffects -> VanillaEnchantments (#3884) [ci skip] 2020-10-27 21:51:55 +00:00
Dylan K. Taylor
587a4c0095 non-exhaustive updates to changelog [ci skip] 2020-10-27 19:35:03 +00:00
Dylan K. Taylor
2ff25dfbd2 Color: make mix() first parameter mandatory, closes #3204 2019-12-04 18:39:14 +00:00
Dylan T
b1de973d96
changelog: world save performance is improved
[ci skip]
2019-10-03 10:51:33 +01:00
Dylan K. Taylor
ea374f5c37 [ci skip] update changelog 2019-08-20 15:52:50 +01:00
Dylan K. Taylor
3274db3ddc DustParticle constructor now uses Color object 2019-08-19 18:57:26 +01:00
Dylan K. Taylor
1262b06797 [ci skip] update changelog 2019-08-19 17:22:22 +01:00
Dylan K. Taylor
4898a35613 cleanup block dual bounding box clusterfuck
"bounding box" serves no tangible purpose, only collision boxes do right now.
2019-08-15 17:23:55 +01:00
Dylan K. Taylor
73b2669712 remove World->isFullBlock(), add Block->isFullCube(), clean up some BB mess 2019-08-15 16:22:54 +01:00
Dylan K. Taylor
358fea9645 Move Location to Entity namespace 2019-08-05 17:20:48 +01:00
Dylan K. Taylor
927e05d038 [ci skip] update changelog 2019-08-05 17:15:10 +01:00
Dylan K. Taylor
2e806d8a6c [ci skip] changelog update 2019-08-02 16:26:04 +01:00
Dylan K. Taylor
58e9728710 Removing useless armour descendent classes, move armour slot to ArmorTypeInfo 2019-08-02 16:17:04 +01:00
Dylan K. Taylor
eaf5226f08 [ci skip] update changelog 2019-08-01 17:53:42 +01:00
Dylan K. Taylor
a4c7744188 [ci skip] changelog updates 2019-07-19 13:53:44 +01:00
Dylan K. Taylor
fec8c75fd8 [ci skip] changelog: document more misc API changes 2019-07-17 15:55:28 +01:00
Dylan K. Taylor
74572fde08 [ci skip] changelog: add some information about NBT handling changes 2019-07-17 15:52:52 +01:00
Dylan K. Taylor
ad4ed1c95c [ci skip] expand changelog on item changes 2019-07-17 14:46:43 +01:00
Dylan K. Taylor
5274a0fe3c Extract an ExperienceManager unit from Human 2019-07-06 19:31:39 +01:00
Dylan K. Taylor
da0358529a Extract a HungerManager unit from Human 2019-07-06 18:50:34 +01:00
Dylan K. Taylor
119cb083bf [ci skip] update changelog 2019-07-06 15:22:27 +01:00
Dylan K. Taylor
45b0cbc796 Human: remove getRawUniqueId() premature optimization
this is never used in a hot path and presents a potential for inconsistency.
2019-07-05 17:17:48 +01:00
Dylan K. Taylor
f356bf0893 Extracted an EffectManager unit from Living 2019-07-05 16:15:58 +01:00
Dylan K. Taylor
a125980ada utils: Color is now immutable
as is always the case with mutability, allowing this creates lots of complications that aren't worth the hassle.
2019-07-04 18:00:48 +01:00
Dylan K. Taylor
4c5d8c12dd [ci skip] more updates to changelog 2019-07-03 18:32:20 +01:00
Dylan K. Taylor
206b397ee1 Living: drop useless knockBack() parameters, closes #2634 2019-07-02 19:52:51 +01:00
Dylan K. Taylor
b0a85155d7 [ci skip] add inventory changes to changelog 2019-07-02 14:06:11 +01:00
Dylan K. Taylor
601ba4264d [ci skip] added incomplete changelog for 4.0 2019-07-01 17:42:18 +01:00