TheMode
|
b1ef97b5af
|
Use toList in stream chains
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-10-22 02:23:14 +02:00 |
|
TheMode
|
b308ce5baa
|
Update to Java 17 (#462)
|
2021-10-22 01:55:55 +02:00 |
|
Konstantin Shandurenko
|
ba76e746a2
|
Entity#lookAt and updating view in melee/ranged/combined attack goals when within attackable range (#494)
|
2021-10-17 21:07:59 +02:00 |
|
TheMode
|
0bd519c894
|
Use fastutil for viewable packets
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-10-15 06:17:48 +02:00 |
|
Moulberry
|
26341005b1
|
Passenger Fixes (#476)
Don't teleport player when entering/exiting vehicle + better height offset logic
|
2021-10-01 16:35:42 +02:00 |
|
TheMode
|
d5d4a97694
|
EntityTeleportPacket must also be prepared
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-22 19:12:48 +02:00 |
|
TheMode
|
93a62ba133
|
Optimize entity teleport, prevent movement packets from being sent with teleport ones
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-22 01:13:05 +02:00 |
|
TheMode
|
e43d001076
|
Passenger entities should not send velocity packets
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-21 10:37:36 +02:00 |
|
TheMode
|
22ead81ebe
|
Take the vehicle eye height into consideration
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-21 09:10:51 +02:00 |
|
TheMode
|
d8abdef1da
|
Synchronize entity position when removing vehicle
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-20 22:43:54 +02:00 |
|
TheMode
|
2e017c3f0e
|
Put equality check in the final method
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-20 22:32:16 +02:00 |
|
TheMode
|
a6fda18af6
|
Ensure that passengers are visible
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-20 22:28:09 +02:00 |
|
TheMode
|
4e58d61345
|
Prevent deadlock when adding/removing viewers very fast
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-20 18:42:31 +02:00 |
|
TheMode
|
06d8586f7f
|
Improve the thread provider api
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-12 22:55:37 +02:00 |
|
TheMode
|
b5062ab4d6
|
Gravity tick counter should be part of the velocity tick method
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-11 05:54:26 +02:00 |
|
TheMode
|
3977b6f967
|
Code style
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-11 05:31:35 +02:00 |
|
TheMode
|
96bfc4c6fa
|
Add getters for chunk coordinates in Point
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-04 15:29:20 +02:00 |
|
TheMode
|
4b2bda15f5
|
Merge branch 'master' into viewable-broadcast
# Conflicts:
# src/main/java/net/minestom/server/network/player/PlayerSocketConnection.java
|
2021-09-02 18:50:55 +02:00 |
|
TheMode
|
9739403ff4
|
Properly update the client position when switching vehicle
|
2021-08-28 11:37:42 +02:00 |
|
TheMode
|
2ae0c0bbcd
|
Batch movement packets
|
2021-08-25 09:01:13 +02:00 |
|
TheMode
|
5ddd97cee2
|
Move optimized event calling inside ListenerHandle
|
2021-08-24 15:35:09 +02:00 |
|
TheMode
|
2450e741e6
|
Catch Throwable instead of Exception
|
2021-08-23 03:46:10 +02:00 |
|
Шандуренко Константин Владимирович
|
66e8ac2dc3
|
Code review
|
2021-08-22 17:47:52 +03:00 |
|
Шандуренко Константин Владимирович
|
f2f592209a
|
Entity#getLineOfSightEntity and BoundingBox#intersect(Point, Point)
|
2021-08-22 16:56:34 +03:00 |
|
TheMode
|
129a39fc3d
|
Proper place for global event ListenerHandles
|
2021-08-22 13:56:12 +02:00 |
|
TheMode
|
898252dad0
|
Fast exit if the player didn't move
|
2021-08-22 08:13:28 +02:00 |
|
TheMode
|
18b0e21f21
|
Start using ListenerHandle
|
2021-08-22 07:47:06 +02:00 |
|
TheMode
|
8acb2e292c
|
Move potion effect tick into its own method
|
2021-08-22 07:34:11 +02:00 |
|
TheMode
|
ef58d770b4
|
Move block collision code into its own method
|
2021-08-22 07:31:47 +02:00 |
|
Bloepiloepi
|
e902591baa
|
Merge branch 'master' into velocity-changes
|
2021-08-22 01:56:45 +02:00 |
|
Bloepiloepi
|
4f4a274259
|
Calculate player velocity from previous position
|
2021-08-20 16:18:20 +02:00 |
|
Bloepiloepi
|
66fab0672c
|
Revert "Fix knockback strength"
This reverts commit f955b1f2
|
2021-08-20 14:56:27 +02:00 |
|
Bloepiloepi
|
1b8cc19a54
|
Fix air drag when not onground
|
2021-08-18 20:44:45 +02:00 |
|
Bloepiloepi
|
f955b1f2ae
|
Fix knockback strength
|
2021-08-18 20:37:16 +02:00 |
|
TheMode
|
69e8792ce0
|
Special case when an entity is teleported in the same chunk
|
2021-08-17 21:58:15 +02:00 |
|
TheMode
|
af50bbb440
|
Player#UNSAFE_init now set the instance
|
2021-08-15 00:52:07 +02:00 |
|
TheMode
|
d785f50447
|
Items gravity is predicted client-side
|
2021-08-13 08:01:48 +02:00 |
|
TheMode
|
5a1eb83f49
|
Check with the position field instead of the parameter
|
2021-08-13 06:04:44 +02:00 |
|
TheMode
|
e5903c23a3
|
Reduce position packets when velocity is applied
|
2021-08-13 05:59:52 +02:00 |
|
TheMode
|
fd08cabb6a
|
Change default tab implementation to show all online players
|
2021-08-11 14:18:04 +02:00 |
|
TheMode
|
3924d2c0a2
|
Do not send additional velocity packets to players
|
2021-08-11 13:23:45 +02:00 |
|
TheMode
|
0c52c9eb30
|
Merge branch 'master' into new-block-api
# Conflicts:
# src/main/java/net/minestom/server/entity/Entity.java
# src/main/java/net/minestom/server/entity/Player.java
|
2021-08-09 00:52:36 +02:00 |
|
TheMode
|
1591df16aa
|
Rename netty to socket wherever possible
|
2021-08-08 19:11:47 +02:00 |
|
TheMode
|
7ba8189a28
|
Fix ghost players
|
2021-08-05 15:10:15 +02:00 |
|
TheMode
|
b178a6adac
|
Create velocityTick method
|
2021-07-30 18:10:35 +02:00 |
|
TheMode
|
3dd35c1605
|
Use a single registry-impl class per type
|
2021-07-30 15:08:06 +02:00 |
|
TheMode
|
d7a6891153
|
Remove vehicle in Entity#remove
|
2021-07-30 14:01:54 +02:00 |
|
TheMode
|
184140e341
|
Remove passengers in Entity#remove
|
2021-07-30 12:38:15 +02:00 |
|
TheMode
|
bf53313c3e
|
Use 0.91 drag when not on ground
|
2021-07-28 09:20:28 +02:00 |
|
TheMode
|
274a40ea27
|
Make EntityType an interface
|
2021-07-27 11:56:20 +02:00 |
|