TheMode
|
d46db09080
|
Make PlayerSkin record
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-10-27 23:05:53 +02:00 |
|
Moulberry
|
723bee2ea5
|
Move sync time reset (#504)
|
2021-10-27 16:02:33 +02:00 |
|
TheMode
|
b1ef97b5af
|
Use toList in stream chains
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-10-22 02:23:14 +02:00 |
|
TheMode
|
7891cc5bbe
|
Use more instanceof pattern matching
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-10-22 02:19:38 +02:00 |
|
TheMode
|
5030664ff9
|
Use more enhanced switches
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-10-22 02:14:12 +02:00 |
|
TheMode
|
b308ce5baa
|
Update to Java 17 (#462)
|
2021-10-22 01:55:55 +02:00 |
|
Alex K
|
0b7b7283e6
|
Fix adding viewers to FakePlayer (#497)
|
2021-10-19 20:04:54 +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
|
13a8a22546
|
Add preventive kick instead of hard to debug timeouts
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-10-15 15:54:11 +02:00 |
|
TheMode
|
0bd519c894
|
Use fastutil for viewable packets
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-10-15 06:17:48 +02:00 |
|
TheMode
|
bd4aa90753
|
Framed packet cleanup (#489)
|
2021-10-13 06:33:44 +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
|
be9b11f238
|
Simplify path finding code, do not expose internal parts
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-24 19:31:54 +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
|
2c4ea3c3c4
|
Serialize/Compress tag packet only once
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-20 19:34:43 +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 |
|
Moulberry
|
c5362bffba
|
Remove debugging
|
2021-09-14 17:50:56 +08:00 |
|
Moulberry
|
ee435f43f2
|
Set proper pose once flying finishes
|
2021-09-14 17:50:19 +08:00 |
|
Moulberry
|
1933914bbc
|
Set proper pose once flying finishes
|
2021-09-14 17:43:02 +08:00 |
|
Moulberry
|
73ea79bed2
|
Fix flying clip bug
|
2021-09-14 17:37:57 +08:00 |
|
Moulberry
|
5bf4758a3a
|
Remove extra chunk unloads
|
2021-09-13 15:08:57 +08:00 |
|
Moulberry
|
9531bd5cb3
|
Merge upstream
|
2021-09-13 15:07:11 +08:00 |
|
Moulberry
|
0360fd3f79
|
Fix 2 entity loading issues
|
2021-09-13 15:05:16 +08: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
|
0c5b37ed18
|
Optimize unnecessary chunk coordinate conversion
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-11 01:04:11 +02:00 |
|
TheMode
|
3ddf729a46
|
Code style, remove deprecated ChatMode
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-10 05:50:08 +02:00 |
|
TheMode
|
e6db47ec6e
|
Add fancy Player#sendPacket shortcut
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-10 05:41:54 +02:00 |
|
TheMode
|
ffbc8e5f27
|
Fix Player#getLocale
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-08 00:54:00 +02:00 |
|
TheMode
|
3e386a1491
|
Send unload packet
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-07 21:26:24 +02:00 |
|
TheMode
|
02d927cc4d
|
Rename internal registry constant holder interfaces
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-06 13:32:52 +02:00 |
|
TheMode
|
8cbd6460f4
|
Cleanup...
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-05 03:40:30 +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 |
|
EpicPlayerA10
|
8b7fb7a7c5
|
Add missing husk
|
2021-08-28 21:10:56 +02:00 |
|
TheMode
|
9739403ff4
|
Properly update the client position when switching vehicle
|
2021-08-28 11:37:42 +02:00 |
|
TheMode
|
34ba838ab5
|
Improve movement cancelling
|
2021-08-28 11:28:14 +02:00 |
|
TheMode
|
b60b785dcd
|
Fix unhandled exception
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-08-26 17:59:51 +02:00 |
|
Matt Worzala
|
3ce51ff470
|
switch permission level back to an int internally
|
2021-08-26 11:12:03 -04:00 |
|
kiipy
|
6eac7282af
|
Made Player#setPermissionLevel persistent after death.
|
2021-08-26 11:12:03 -04: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
|
2cf4e89694
|
Implement shift-click equip
|
2021-08-24 07:23:44 +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 |
|
TheMode
|
9ec257ed3d
|
Merge pull request #416 from Bloepiloepi/knockback-fix
Air drag fix
|
2021-08-21 09:34:32 +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 |
|
TheMode
|
403e9fc8f1
|
Slightly optimize RandomStrollGoal
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-08-20 07:17:53 +02:00 |
|
emortal
|
2e548e6582
|
Remove unrelated changes, make PickupExperienceEvent implement PlayerEvent
|
2021-08-19 05:22:57 +01:00 |
|
emortal
|
a0696bc20b
|
Add getPlayer() to PickupExperienceEvent
|
2021-08-19 05:05:00 +01:00 |
|
TheMode
|
8c6778983b
|
Make FollowTargetGoal query for targets when necessary
|
2021-08-18 22:11:15 +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
|
dbf5ff6cd4
|
Add PlayerConnection#flush without guarantee
|
2021-08-17 23:23:41 +02:00 |
|
TheMode
|
a43f6f6b62
|
Potentially fix ghost chunks when switching instance
|
2021-08-17 23:01:28 +02:00 |
|
TheMode
|
69e8792ce0
|
Special case when an entity is teleported in the same chunk
|
2021-08-17 21:58:15 +02:00 |
|
TheMode
|
e72c87f670
|
Reduce allocation in Navigator movement
|
2021-08-16 02:53:07 +02:00 |
|
TheMode
|
af50bbb440
|
Player#UNSAFE_init now set the instance
|
2021-08-15 00:52:07 +02:00 |
|
TheMode
|
3ff5a7f414
|
Implement toString for registry objects
|
2021-08-13 21:15:43 +02:00 |
|
TheMode
|
1bdc50f4a0
|
Trust client's inventory prediction when possible
|
2021-08-13 20:41:59 +02:00 |
|
TheMode
|
17f9eb45ca
|
Make #getNearbyBlocks static
|
2021-08-13 19:53:37 +02:00 |
|
TheMode
|
3f01d63913
|
Inline delta computation
|
2021-08-13 10:26:46 +02:00 |
|
TheMode
|
3917d3cb1d
|
Merge branch 'master' into new-block-api
|
2021-08-13 09:47:09 +02:00 |
|
TheMode
|
ce985bc41d
|
Merge pull request #410 from MrGazdag/patch-11
Add Player#refreshCommands()
|
2021-08-13 09:28:55 +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 |
|
MrGazdag
|
c71ea517a2
|
add refreshCommands()
|
2021-08-12 03:53:49 +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 |
|
Bloepiloepi
|
447f921cf1
|
Send only changed attributes
|
2021-08-09 16:37:46 +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
|
1181724b7a
|
Merge pull request #389 from Minestom/nio
Switch to NIO
|
2021-08-09 00:46:56 +02:00 |
|
TheMode
|
1591df16aa
|
Rename netty to socket wherever possible
|
2021-08-08 19:11:47 +02:00 |
|
TheMode
|
a2e2461d22
|
Revert BinaryReader changes
|
2021-08-06 17:30:39 +02:00 |
|
TheMode
|
f135edba0d
|
Replace BinaryReader to BinaryBuffer
|
2021-08-06 16:30:52 +02:00 |
|
TheMode
|
7ba8189a28
|
Fix ghost players
|
2021-08-05 15:10:15 +02:00 |
|
BuildTools
|
27d2219fb8
|
Fix dimension
|
2021-08-04 22:58:33 +08:00 |
|
TheMode
|
b178a6adac
|
Create velocityTick method
|
2021-07-30 18:10:35 +02:00 |
|
TheMode
|
f865a7b9dd
|
Reduce registry boilerplate
|
2021-07-30 15:29:05 +02:00 |
|
TheMode
|
c9f234cb1d
|
Use #getSafe
|
2021-07-30 15:09:18 +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 |
|
BuildTools
|
0e8109f259
|
Fix position desynchronization
|
2021-07-30 17:09:00 +08:00 |
|
TheMode
|
1baf4a5068
|
Remove unused method
|
2021-07-30 11:01:43 +02:00 |
|
TheMode
|
16e4b61eb7
|
Fix unused imports
|
2021-07-29 00:02:43 +02:00 |
|
TheMode
|
5fe72d4e2b
|
Double lock fix
|
2021-07-29 00:00:08 +02:00 |
|
TheMode
|
16fbc5ea2c
|
Simplify Player#setInstance
|
2021-07-28 17:28:36 +02:00 |
|
TheMode
|
6a86e92999
|
Unload all chunks when changing instance
|
2021-07-28 16:36:21 +02:00 |
|
TheMode
|
13b7039721
|
Replace most enums
|
2021-07-28 14:29:28 +02:00 |
|
TheMode
|
8dff4227eb
|
Rename registry resource enum
|
2021-07-28 13:02:12 +02:00 |
|
TheMode
|
bf53313c3e
|
Use 0.91 drag when not on ground
|
2021-07-28 09:20:28 +02:00 |
|
MrGazdag
|
5b1e06de04
|
use static fields in Player
|
2021-07-27 12:08:13 +02:00 |
|
TheMode
|
274a40ea27
|
Make EntityType an interface
|
2021-07-27 11:56:20 +02:00 |
|
TheMode
|
d685a7b136
|
Make Material an interface
|
2021-07-27 09:40:57 +02:00 |
|
TheMode
|
b22d030a6f
|
Ask for the flag directly in PlayerAbilitiesPacket
|
2021-07-27 07:44:06 +02:00 |
|
TheMode
|
de76ac5aad
|
Add UpdateViewPositionPacket constructor
|
2021-07-27 07:00:04 +02:00 |
|
TheMode
|
5285665939
|
Remove longly deprecated chat package
|
2021-07-27 06:55:08 +02:00 |
|
TheMode
|
aaa71f4e9a
|
Fix EntityProjectile
|
2021-07-26 11:53:30 +02:00 |
|
TheMode
|
87e4d84e4a
|
Fix falling block meta
|
2021-07-26 10:34:18 +02:00 |
|
TheMode
|
25d645a5cb
|
Remove legacy position objects
|
2021-07-25 06:30:49 +02:00 |
|
TheMode
|
ad964a0a39
|
Remove deprecated UpdateOption.java
|
2021-07-25 06:25:32 +02:00 |
|
TheMode
|
6ce5e8d310
|
Inline newposition when physics is disabled
|
2021-07-24 13:06:28 +02:00 |
|
TheMode
|
19e3bee23c
|
Lambda cleanup
|
2021-07-24 04:31:35 +02:00 |
|
TheMode
|
8734478126
|
More packet constructors
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-07-23 08:15:25 +02:00 |
|
TheMode
|
9db4ac06cc
|
Even more inline packets
|
2021-07-22 13:01:00 +02:00 |
|
TheMode
|
081266775c
|
More inline packets
|
2021-07-22 12:50:38 +02:00 |
|
TheMode
|
ff9ca60a58
|
Add some inline packet constructors
|
2021-07-22 09:54:34 +02:00 |
|
TheMode
|
a0bb437c4c
|
Reduce chunk entities Set allocation
|
2021-07-21 22:21:43 +02:00 |
|
TheMode
|
fceafb0b1e
|
Load a single chunk on instance spawn
|
2021-07-21 09:45:13 +02:00 |
|
TheMode
|
bebdcf59d5
|
Do not allocate arrays when refreshing a player chunks, optimize array lookup
|
2021-07-21 08:42:49 +02:00 |
|
TheMode
|
a074117ea5
|
Simplify optionalLoadAll
|
2021-07-20 19:10:53 +02:00 |
|
TheMode
|
12e430db69
|
Inline position packets
|
2021-07-20 03:06:27 +02:00 |
|
TheMode
|
1c7cd269ab
|
Remove DataContainer from more classes
|
2021-07-15 21:58:29 +02:00 |
|
TheMode
|
28b034103e
|
Remove deprecated interfaces impl
|
2021-07-15 05:23:33 +02:00 |
|
TheMode
|
ea231bf52e
|
Add 1.17.1 support
|
2021-07-14 16:26:32 +02:00 |
|
TheMode
|
e76d7486b3
|
Fix build
|
2021-07-14 03:12:20 +02:00 |
|
TheMode
|
520c85fcdb
|
Fix passenger position refresh
|
2021-07-13 18:21:32 +02:00 |
|
TheMode
|
86376d431e
|
Remove unused method
|
2021-07-13 18:12:46 +02:00 |
|
TheMode
|
a7b0b2685b
|
Only synchronize position if entity has been affected by its velocity
|
2021-07-13 17:51:29 +02:00 |
|
TheMode
|
86472003f8
|
Reuse fields
|
2021-07-13 15:16:18 +02:00 |
|
TheMode
|
b3f78b4706
|
Fix chunk refresh being broken in unloaded chunk
|
2021-07-11 21:57:04 +02:00 |
|
TheMode
|
8597d93e22
|
Optimize block collision check
|
2021-07-11 20:44:37 +02:00 |
|
TheMode
|
9e8d0c9ce0
|
Micro collision optimization + style
|
2021-07-11 20:20:01 +02:00 |
|
TheMode
|
b35ab0b667
|
Fix second setInstance method
|
2021-07-11 13:45:28 +02:00 |
|
TheMode
|
6cdf8a9ab9
|
Add constant for null future
|
2021-07-11 03:35:17 +02:00 |
|
TheMode
|
1ead7c923a
|
Change setInstance
|
2021-07-11 02:59:24 +02:00 |
|
TheMode
|
b9679bc1ac
|
Initial future commit
|
2021-07-11 02:54:02 +02:00 |
|
TheMode
|
d8b92d23ba
|
Improve collision
|
2021-07-09 20:43:12 +02:00 |
|
TheMode
|
0ff69503c5
|
Add Point#isZero
|
2021-07-09 12:42:36 +02:00 |
|
TheMode
|
e1e1ec775e
|
Remove confusing comment
|
2021-07-09 00:21:41 +02:00 |
|
TheMode
|
29b4fefb1a
|
Remove Vector usage
|
2021-07-08 18:59:40 +02:00 |
|
TheMode
|
45d7420397
|
Remove most Position/BlockPosition usage
|
2021-07-08 18:56:40 +02:00 |
|
TheMode
|
90ce845cdb
|
Allow Point in setInstance
|
2021-07-08 18:26:26 +02:00 |
|
TheMode
|
fff78cdf94
|
Move coordinate package
|
2021-07-08 13:48:28 +02:00 |
|
TheMode
|
ca2a2eb233
|
Rename with to apply
|
2021-07-08 13:22:04 +02:00 |
|
TheMode
|
30464d903d
|
Fix position packet being sent twice
|
2021-07-07 19:38:43 +02:00 |
|
TheMode
|
faae59ff44
|
Remove some teleport call
|
2021-07-07 19:34:46 +02:00 |
|
TheMode
|
c9b2356a0b
|
Fix entity chunk tracking
|
2021-07-07 19:20:58 +02:00 |
|
Németh Noel
|
ce8e14ede1
|
Use proper method for refreshing position
|
2021-07-07 18:36:24 +02:00 |
|
Németh Noel
|
5ae26c44e1
|
Initial npe fix
|
2021-07-07 17:56:17 +02:00 |
|
TheMode
|
84eb0a8934
|
Fix build
|
2021-07-07 14:59:53 +02:00 |
|
TheMode
|
eb0f7379ea
|
Fix intersect
|
2021-07-07 01:45:20 +02:00 |
|
TheMode
|
8a5147c994
|
More fixes
|
2021-07-07 01:32:30 +02:00 |
|
Németh Noel
|
6f6b15fa96
|
Update part of Entity.java
|
2021-07-07 01:06:32 +02:00 |
|
Németh Noel
|
8849b6eec8
|
Fix teleport packet not being sent
|
2021-07-06 23:44:30 +02:00 |
|
Németh Noel
|
f29ed48da9
|
update getter names
|
2021-07-06 23:03:01 +02:00 |
|
Németh Noel
|
65a97e5b00
|
Initial collision update
|
2021-07-06 22:26:11 +02:00 |
|
TheMode
|
28dca16b29
|
Initial position api implementation
|
2021-07-06 20:44:24 +02:00 |
|
TheMode
|
799dbf4a61
|
Point interface improvement
|
2021-07-05 11:38:33 +02:00 |
|
TheMode
|
796b6820ce
|
Start implementing the new coordinate API
|
2021-07-05 09:10:03 +02:00 |
|
TheMode
|
0d031d4c15
|
Merge branch 'master' into new-block-api
# Conflicts:
# src/main/java/net/minestom/server/instance/DynamicChunk.java
# src/main/java/net/minestom/server/instance/Instance.java
# src/main/java/net/minestom/server/instance/InstanceContainer.java
# src/main/java/net/minestom/server/instance/SharedInstance.java
# src/main/java/net/minestom/server/instance/block/CustomBlock.java
# src/test/java/demo/Main.java
# src/test/java/demo/blocks/CustomBlockSample.java
# src/test/java/demo/blocks/UpdatableBlockDemo.java
|
2021-07-05 08:21:47 +02:00 |
|
TheMode
|
fe1bfaee93
|
Merge pull request #346 from Kebab11noel/fix/issue-258
Deprecate `UpdateOption`
|
2021-07-04 13:37:15 +02:00 |
|
TheMode
|
677ec61f74
|
Merge pull request #338 from Moulberry/master
Changes to Hologram API
|
2021-07-04 08:12:07 +02:00 |
|
BuildTools
|
323fcbe114
|
Remove MarkerHologram class, add parameter to Hologram constructor
|
2021-07-04 14:04:55 +08:00 |
|
Németh Noel
|
cd65085df2
|
Use Duration
|
2021-07-03 15:29:28 +02:00 |
|
Németh Noel
|
b012ffbff3
|
Use Duration
|
2021-07-03 15:27:23 +02:00 |
|
Németh Noel
|
67860d5afb
|
Use Duration
|
2021-07-03 15:25:41 +02:00 |
|
Németh Noel
|
663e53c875
|
Add alternative to LivingEntity#setFireDamagePeriod that takes Duration
|
2021-07-03 14:52:51 +02:00 |
|
Németh Noel
|
3f1c433c94
|
Removed unnecessary deprecations
|
2021-07-03 14:41:57 +02:00 |
|
Németh Noel
|
3e0486cfd3
|
Added #setFireForDuration(Duration)
|
2021-07-02 19:58:59 +02:00 |
|
Németh Noel
|
157eb6357a
|
Deprecated net.minestom.server.entity.ItemEntity.setPickupDelay(long, java.time.temporal.TemporalUnit)
|
2021-07-01 15:08:31 +02:00 |
|
Németh Noel
|
bcc1132ed7
|
Deprecated net.minestom.server.entity.Entity.scheduleRemove(long, java.time.temporal.TemporalUnit)
|
2021-07-01 15:03:16 +02:00 |
|
TheMode
|
5969ec1709
|
Merge branch 'master' into new-block-api
# Conflicts:
# src/main/java/net/minestom/server/item/ItemMetaBuilder.java
|
2021-07-01 02:22:20 +02:00 |
|
Németh Noel
|
fdf7153986
|
Flip ?: null check
|
2021-06-30 22:28:54 +02:00 |
|
Németh Noel
|
059565b397
|
Flip ?: null checks
|
2021-06-30 22:25:24 +02:00 |
|
Németh Noel
|
a5a370783d
|
Removed redundant check
|
2021-06-30 22:00:05 +02:00 |
|
Németh Noel
|
d735ba5fff
|
Fix missing Deprecated annotation
|
2021-06-30 13:25:24 +02:00 |
|
Németh Noel
|
f9c9b4c1eb
|
Fix old usage of TimeUnit
|
2021-06-30 13:20:02 +02:00 |
|
Németh Noel
|
c9dd06ba20
|
Simplified millis calculation
|
2021-06-30 13:10:22 +02:00 |
|
Németh Noel
|
01dfe2f48d
|
Replaced ChronoUnit with TimeUnit for consistency
|
2021-06-30 13:05:52 +02:00 |
|
Németh Noel
|
c037ea9d84
|
Replaced Tick and ChronoUnit with TimeUnit for consistency
|
2021-06-30 13:04:59 +02:00 |
|
Németh Noel
|
6a4de332a6
|
Updated RangedAttackGoal.java
|
2021-06-30 01:35:33 +02:00 |
|
Németh Noel
|
68b94674d0
|
Updated MeleeAttackGoal.java
|
2021-06-30 01:34:27 +02:00 |
|
Németh Noel
|
b8b8a40a99
|
Updated CombinedAttackGoal.java
|
2021-06-30 01:33:13 +02:00 |
|
Németh Noel
|
7e82c02536
|
Updated Player.java
|
2021-06-30 01:31:09 +02:00 |
|
Németh Noel
|
56017b90e2
|
Updated ItemEntity.java
|
2021-06-30 01:29:02 +02:00 |
|
Németh Noel
|
d522730cd7
|
Updated FollowTargetGoal.java
|
2021-06-30 01:15:54 +02:00 |
|
Németh Noel
|
67dc8bf996
|
Updated Entity.java
|
2021-06-30 00:59:26 +02:00 |
|
Németh Noel
|
0c849c005b
|
Optimized imports of LivingEntity.java
|
2021-06-30 00:52:16 +02:00 |
|
Németh Noel
|
384c556caf
|
Updated LivingEntity.java
|
2021-06-30 00:51:22 +02:00 |
|
Németh Noel
|
f6425d9fb2
|
Reduce the visibility of Entity#initializeDefaultGravity
|
2021-06-28 21:58:59 +02:00 |
|
Németh Noel
|
796d296f0d
|
Removed terminal velocity
|
2021-06-28 19:24:53 +02:00 |
|
Németh Noel
|
13779aabde
|
Fix knockback
|
2021-06-28 19:23:36 +02:00 |
|
Németh Noel
|
1ea526aa89
|
Fix gravity acceleration
|
2021-06-27 23:29:28 +02:00 |
|
Németh Noel
|
6c60c4d0fc
|
Implement knockback
|
2021-06-27 23:05:54 +02:00 |
|
Németh Noel
|
17aa606037
|
Added javadoc to gravity related fields
|
2021-06-27 22:48:58 +02:00 |
|
Németh Noel
|
811531da70
|
Remove unit conversion
|
2021-06-27 22:45:05 +02:00 |
|
Németh Noel
|
adf0e06888
|
Changed gravity calculation
|
2021-06-27 22:44:04 +02:00 |
|
Németh Noel
|
e66fc2d200
|
Removed usages of Entity#setGravity
|
2021-06-27 22:32:56 +02:00 |
|
Németh Noel
|
b900d0e73d
|
Introduced Entity#initializeDefaultGravity method
|
2021-06-27 22:29:25 +02:00 |
|
TheMode
|
4f4afbbe6d
|
Merge branch 'master' into new-block-api
# Conflicts:
# src/main/java/net/minestom/server/instance/Chunk.java
# src/main/java/net/minestom/server/instance/Instance.java
|
2021-06-26 20:09:47 +02:00 |
|
BuildTools
|
eb4d29628e
|
Create MarkerHologram.java, modify Hologram.java to support subclasses overriding metadata easily
|
2021-06-26 19:39:53 +08:00 |
|
TheMode
|
76bec54254
|
Add more TagHandler implementations
|
2021-06-26 00:31:04 +02:00 |
|
TheMode
|
74073f13b5
|
Use classes instead of interfaces for BlockHandler type
|
2021-06-25 19:00:50 +02:00 |
|
TheMode
|
5d8c9cbd23
|
Fix chunk border freeze by not sending UnloadChunkPacket
|
2021-06-24 23:40:09 +02:00 |
|
TheMode
|
78898bfa9b
|
Simplify pathfinding block
|
2021-06-23 22:24:40 +02:00 |
|
TheMode
|
2b817e5590
|
Merge branch 'master' into new-block-api
# Conflicts:
# src/main/java/net/minestom/server/tag/Tag.java
|
2021-06-22 03:09:02 +02:00 |
|
TheMode
|
b5c7106f9b
|
Use the tag api inside Entity, deprecate DataContainer
|
2021-06-22 02:56:00 +02:00 |
|
TheMode
|
d27b1ff1a4
|
Merge branch 'master' into new-block-api
# Conflicts:
# src/main/java/net/minestom/server/instance/InstanceContainer.java
# src/main/java/net/minestom/server/listener/BlockPlacementListener.java
# src/main/java/net/minestom/server/listener/PlayerDiggingListener.java
|
2021-06-21 15:27:55 +02:00 |
|
TheMode
|
1f2dc0cd9f
|
Add some inline packet initialization
|
2021-06-21 15:01:50 +02:00 |
|
TheMode
|
c2270f8922
|
Merge branch 'master' into new-block-api
|
2021-06-20 23:52:08 +02:00 |
|
TheMode
|
0be2addbd8
|
Remove most unnecessary uses of google common
|
2021-06-20 22:03:14 +02:00 |
|
TheMode
|
4db3b9317d
|
Replace google Beta annotation to jetbrains ApiStatus.Experimental
|
2021-06-20 21:48:07 +02:00 |
|
TheMode
|
106125319a
|
Remove get prefixes for protocol objects to be more record-friendly
|
2021-06-19 21:01:54 +02:00 |
|
TheMode
|
6e0598c16a
|
Remove custom break delay code
|
2021-06-17 15:50:28 +02:00 |
|
TheMode
|
ddae239e30
|
Rename onTouch
|
2021-06-17 15:11:19 +02:00 |
|
TheMode
|
894b1a68a7
|
Make BlockHandler more flexible and future-proof for incoming amber language features
|
2021-06-17 14:34:55 +02:00 |
|
TheMode
|
de22a76e9f
|
Merge branch 'master' into new-block-api
# Conflicts:
# build.gradle
|
2021-06-17 13:58:01 +02:00 |
|
TheMode
|
d1babd25dc
|
Fix ItemEntity physics
|
2021-06-16 15:50:54 +02:00 |
|
TheMode
|
f41733e338
|
Merge pull request #326 from Project-Cepi/remove-deprecated-entity-classes
Refactor and remove classes from entity package.
|
2021-06-16 15:46:22 +02:00 |
|
LeoDog896
|
9e23085c34
|
Refactor and remove classes
|
2021-06-16 09:17:13 -04:00 |
|
TheMode
|
84f22a6ed4
|
Replace float to double
|
2021-06-16 12:26:27 +02:00 |
|
Kieran Wallbanks
|
5abf71e323
|
Remove legacy boss bars
|
2021-06-15 14:26:24 +01:00 |
|
Kieran Wallbanks
|
dd82635c6f
|
Don't lazily initialise pointers
|
2021-06-15 14:06:56 +01:00 |
|
Kieran Wallbanks
|
58e108bd37
|
Fix deprecated API usages
|
2021-06-15 13:19:49 +01:00 |
|
Kieran Wallbanks
|
0ba27939d9
|
Implement new sound changes
|
2021-06-15 13:19:48 +01:00 |
|
Kieran Wallbanks
|
b1f72faa67
|
Implement pointer feature
|
2021-06-15 13:19:36 +01:00 |
|
TheMode
|
27f30fa394
|
Remove a few magic metadata indexes
|
2021-06-14 21:49:16 +02:00 |
|
TheMode
|
63004cf4ba
|
Merge branch 'master' into new-block-api
# Conflicts:
# src/main/java/net/minestom/server/event/player/PlayerBlockBreakEvent.java
# src/main/java/net/minestom/server/event/player/PlayerBlockInteractEvent.java
# src/main/java/net/minestom/server/event/player/PlayerBlockPlaceEvent.java
# src/main/java/net/minestom/server/event/player/PlayerStartDiggingEvent.java
# src/main/java/net/minestom/server/instance/Instance.java
# src/main/java/net/minestom/server/instance/InstanceContainer.java
# src/main/java/net/minestom/server/listener/BlockPlacementListener.java
# src/main/java/net/minestom/server/listener/PlayerDiggingListener.java
# src/test/java/demo/PlayerInit.java
|
2021-06-14 15:22:54 +02:00 |
|
TheMode
|
911c983957
|
Merge branch 'master' into event-api
# Conflicts:
# src/main/java/net/minestom/server/entity/Player.java
# src/main/java/net/minestom/server/event/player/UpdateTagListEvent.java
# src/main/java/net/minestom/server/instance/Chunk.java
|
2021-06-14 00:11:41 +02:00 |
|
TheMode
|
342554cb36
|
Remove BlockHandler#drag
|
2021-06-12 15:06:52 +02:00 |
|
TheMode
|
ab51b50072
|
Use per-block handler
|
2021-06-12 13:57:59 +02:00 |
|
TheMode
|
94e92741c8
|
Reuse chunk code
|
2021-06-12 13:37:37 +02:00 |
|
TheMode
|
f95b6121fe
|
Cleanup
|
2021-06-11 21:57:51 +02:00 |
|
Articdive
|
f3f854feaa
|
Fix TagsPacket
|
2021-06-11 21:55:30 +02:00 |
|
TheMode
|
08684d075a
|
Temporarily remove tags packet
|
2021-06-11 18:53:35 +02:00 |
|
Articdive
|
1a67ab806a
|
Update BlockGenerator and add the 1.17 blocks.
|
2021-06-11 17:47:26 +02:00 |
|
TheMode
|
457ef9df17
|
Merge branch 'master' into new-block-api
# Conflicts:
# src/autogenerated/java/net/minestom/server/instance/block/Block.java
# src/main/java/net/minestom/server/MinecraftServer.java
# src/main/java/net/minestom/server/entity/Player.java
# src/main/java/net/minestom/server/entity/pathfinding/PFBlockDescription.java
# src/main/java/net/minestom/server/entity/pathfinding/PFBlockObject.java
# src/main/java/net/minestom/server/instance/Chunk.java
# src/main/java/net/minestom/server/instance/palette/PaletteStorage.java
# src/main/java/net/minestom/server/network/packet/server/play/ChunkDataPacket.java
# src/main/java/net/minestom/server/network/packet/server/play/TagsPacket.java
|
2021-06-11 16:31:01 +02:00 |
|
TheMode
|
37f8306fb4
|
Use dedicated component write method
|
2021-06-11 16:23:07 +02:00 |
|
TheMode
|
0200788b22
|
Add dedicated method to ignore string/component size
|
2021-06-11 16:19:17 +02:00 |
|
TheMode
|
265ae83b4d
|
Fix tags packet
|
2021-06-11 16:00:14 +02:00 |
|
TheMode
|
88052576b3
|
Support for forced resource packs
|
2021-06-11 12:32:24 +02:00 |
|
TheMode
|
f31639c45c
|
Fix rebase
|
2021-06-10 16:12:42 +02:00 |
|