Dylan K. Taylor
c89df7eb1c
Merge remote-tracking branch 'origin/next-minor' into next-major
2022-12-25 18:22:13 +00:00
Dylan K. Taylor
0d169b4e80
Filesystem: added fileGetContents to reduce ErrorToExceptionHandler boilerplate code
2022-12-25 17:13:51 +00:00
Dylan K. Taylor
2a81a421f3
Merge branch 'next-minor' into next-major
2022-12-24 17:23:30 +00:00
Dylan K. Taylor
0c9b6a6797
DatFilePlayerDataProvider: added documentation
2022-12-23 19:00:45 +00:00
Dylan K. Taylor
639f089c55
..
2022-12-23 18:59:36 +00:00
Dylan K. Taylor
9010b2743c
Move player data storage handling behind an interface
2022-12-23 18:58:49 +00:00
Dylan K. Taylor
f8cc015c51
Merge branch 'next-minor' into next-major
2022-12-23 16:58:59 +00:00
Dylan K. Taylor
b03733442b
Move translation flattening logic from Player to NetworkSession
...
this is network-specific stuff, so it doesn't belong in Player.
2022-12-22 16:51:09 +00:00
Dylan K. Taylor
9c9929ff39
Player: break cycle between sendMessage() and sendTranslation()
2022-12-22 16:37:36 +00:00
Dylan K. Taylor
566a8a261f
Player: deprecate sendTranslation() in favour of sendMessage()
2022-12-22 16:32:54 +00:00
IvanCraft623
a9e5f92958
Show death message on death screen ( #5386 )
2022-12-22 15:36:31 +00:00
Dylan K. Taylor
f38b15cf83
Added tag for fire blocks
2022-12-19 15:22:09 +00:00
Dylan K. Taylor
6e2685cbbb
Merge branch 'next-minor' into next-major
2022-12-18 22:25:32 +00:00
Dylan K. Taylor
bf44edd179
Constify a bunch of NBT keys, pass 1
2022-12-18 22:12:15 +00:00
Dylan K. Taylor
ffa88aff67
Merge branch 'next-minor' into next-major
2022-12-18 21:05:26 +00:00
Javier León
c5d716dc9d
Added keep on death methods for items ( #5395 )
2022-12-15 20:10:20 +00:00
Dylan K. Taylor
4d79aced07
Merge branch 'next-minor' into next-major
2022-12-15 19:50:27 +00:00
Dylan K. Taylor
95d0a3bf41
Merge branch 'stable' into next-minor
2022-12-15 19:38:22 +00:00
! Bryan
1308cda5c2
Implemented hook method Item::onInteractEntity() ( #5432 )
...
this is called when the player right-clicks on an entity to do some action, such as shearing, naming etc.
2022-12-15 19:30:52 +00:00
Dylan K. Taylor
99996b62d6
Align PhpDoc @param tags according to PHP-CS-Fixer
2022-12-06 13:21:20 +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
a205d64732
Merge branch 'next-minor' into next-major
2022-11-12 17:02:56 +00:00
Dylan K. Taylor
a3502a711d
Merge branch 'stable' into next-minor
2022-11-12 17:01:58 +00:00
Dylan K. Taylor
732dac6fc1
Player: revert accidental change from ef100b248b72dbe0238abd202c4d1ac11ff375ee
2022-11-12 14:43:22 +00:00
Dylan K. Taylor
d5e3636908
Timezone: Apparently timezone_id returned by timezone_abbreviations_list() may be null...
2022-11-12 14:40:37 +00:00
Artem Turov
93e661aa4e
Removed useless @inheritDoc ( #5399 )
2022-11-09 13:40:35 +00:00
Dylan K. Taylor
db7cee6f22
Player: check if the item meaningfully changed before discarding it in creative
...
fixes #5220
2022-10-11 22:06:03 +01:00
Dylan K. Taylor
1c6a2b66f7
Merge remote-tracking branch 'origin/next-minor' into next-major
2022-09-29 22:38:26 +01:00
Dylan T
41970feb57
Entity: Fire EntitySpawnEvent/ItemSpawnEvent on the first entity tick, instead of in the constructor ( #5314 )
...
This allows plugins to modify the entity via setters in EntitySpawnEvent without their changes getting overwritten by setter calls directly after the 'new YourEntity' statement.
As well as benefiting plugins, this also clears a path for a BC-breaking change in PM5 (to have the programmer use addEntity() to spawn entities, instead of the constructor doing it, which will improve on a number of data handling aspects).
fixes #4973
This targets next-minor because it has some side effects on plugins that depended on the old behaviour, such as VanillaHopper, so it's not suitable for a patch release.
2022-09-29 22:30:12 +01:00
Dylan K. Taylor
9295afe8b9
Merge branch 'next-minor' into next-major
2022-09-24 18:12:38 +01:00
Dylan K. Taylor
a7dfa0907c
Merge branch 'stable' into next-minor
2022-09-24 18:07:56 +01:00
Dylan K. Taylor
f6a9949942
Remove PlayerCommandPreprocessEvent
...
closes #4284
2022-09-24 15:35:49 +01:00
famima65536
e4fc523251
Introduce Player::sendToastNotification() ( #5102 )
2022-09-23 11:37:08 +01:00
Dylan K. Taylor
7804172846
Player: added API documentation for some functions
2022-09-21 14:46:04 +01:00
Dylan K. Taylor
7d29ac8293
Merge branch 'stable' into next-minor
2022-09-21 14:21:27 +01:00
Dylan K. Taylor
d1c75da14b
Player: lock flight state in spectator mode
...
players should not be able to stop flying in spectator mode
2022-09-20 21:53:51 +01:00
Dylan K. Taylor
1ecb10acba
Merge branch 'next-minor' into next-major
2022-08-21 19:19:07 +01:00
Dylan K. Taylor
ad2d59923c
Merge branch 'stable' into next-minor
2022-08-18 17:06:15 +01:00
Dylan K. Taylor
792c1b62b7
Introduce and use TransactionBuilder for inventory evacuations
2022-08-18 17:04:12 +01:00
NoClip
2f4a9469b6
Player: spectator shouldn't able to pick blocks they don't have ( #5111 )
...
Jury is out on whether they should be able to pick blocks at all, or be considered to have infinite resources, but this solution has been used in a few other places already anyway, so it can be cleaned up another time.
2022-08-15 16:48:37 +01:00
Dylan K. Taylor
c8a8e33fc1
Merge branch 'next-minor' into next-major
2022-07-24 21:24:08 +01:00
Dylan K. Taylor
608c6ed6db
Improved suboptimal code in Player::handleMovement()
2022-07-24 20:51:28 +01:00
Dylan K. Taylor
b3f8b5ff37
Fix CS
2022-07-16 20:01:29 +01:00
Dylan K. Taylor
d0ff6d2e36
Enable various types of interaction to return items to the player, without needing to have a bunch of boilerplate creative mode and held item checks
...
it became glaringly obvious that this was needed because of #4827 and #4868 .
this is further needed with the addition of cauldrons.
2022-07-16 19:50:33 +01:00
Dylan K. Taylor
dea0207e4e
Merge branch 'next-minor' into next-major
2022-07-13 17:06:04 +01:00
Dylan K. Taylor
06655bee78
Updated to 1.19.10
2022-07-13 00:59:49 +01:00
Dylan K. Taylor
68cbe46600
Exterminate legacy item IDs
2022-07-05 15:12:55 +01:00
Dylan K. Taylor
d9544b5d0e
Added soul fire
2022-07-04 22:32:35 +01:00
Dylan K. Taylor
04b855235a
Merge branch 'next-major' into modern-world-support
2022-06-24 01:35:46 +01:00
Dylan K. Taylor
72d8b54188
Merge branch 'next-minor' into next-major
2022-06-24 01:33:15 +01:00