Commit Graph

150 Commits

Author SHA1 Message Date
themode
1261974420 Added Player#getExp and Player#getLevel 2020-09-20 00:27:29 +02:00
themode
4c93450520 Added more Instance comments 2020-09-19 19:06:21 +02:00
themode
c43064c3a0 Replaced chunk consumers by ChunkCallback and fixed chunk callbacks being called in the block pool when in a batch 2020-09-19 18:35:00 +02:00
themode
6c4b9e0833 Added Player#isSprinting, Player#isSneaking and some cleanup related to last damage source + LivingEntity#isInvulnerable 2020-09-10 21:23:59 +02:00
themode
672887807a Cleanup chunks sending 2020-08-25 20:55:40 +02:00
jglrxavpok
b7b95e0ebe Fixed respawn button disconnecting the client 2020-08-25 16:07:19 +02:00
themode
ebb1b1607d Do not compute target block stage increase each tick 2020-08-21 16:09:26 +02:00
themode
f2222cfaf2 Allow negative break delay to skip stages 2020-08-21 12:52:29 +02:00
themode
6b778f425a Cleanup 2020-08-20 19:06:55 +02:00
themode
f560f4cb0b Use tick instead of ms to compute break time 2020-08-20 14:01:00 +02:00
themode
5b394e5bf7 Rewrite of the CustomBlock break delay system + support for multi player digging 2020-08-20 02:42:27 +02:00
themode
571bb7a866 Renamed PacketWriter/Reader to BinaryWriter/Reader + optimization to serializing 2020-08-19 20:34:21 +02:00
themode
8b30caa8c8 Micro optimization + cleanup 2020-08-19 01:24:51 +02:00
themode
e5e1d1614b Optimize chunk index to coordinate conversion + made the chunk map in InstanceContainer using long primitive but non-concurrent, requiring synchronization 2020-08-17 16:50:23 +02:00
themode
97a1141583 Replaced player viewableChunks set interaction to the Chunk class (Viewable support) 2020-08-16 19:18:34 +02:00
Felix Cravic
caa89dd2f8 Chunk update 2020-08-16 00:53:42 +02:00
Eoghanmc22
1798b50092 Merge branch 'master' of https://github.com/Minestom/Minestom
 Conflicts:
	src/main/java/net/minestom/server/MinecraftServer.java
	src/main/java/net/minestom/server/instance/MinestomBasicChunkLoader.java
2020-08-15 10:06:01 -04:00
Felix Cravic
ab86400e80 Fix Player#sendPluginMessage 2020-08-15 13:42:27 +02:00
Felix Cravic
939d06cfb5 Added Player#sendPluginMessage 2020-08-15 13:38:57 +02:00
Eoghanmc22
1b7641c0e1 Merge branches '1.16.2' and 'master' of https://github.com/Minestom/Minestom
 Conflicts:
	src/main/java/net/minestom/server/UpdateManager.java
	src/main/java/net/minestom/server/thread/PerGroupChunkProvider.java
	src/main/java/net/minestom/server/thread/PerInstanceThreadProvider.java
2020-08-14 20:52:34 -04:00
Felix Cravic
1d047b5de3 Removed useless synchronization 2020-08-14 15:24:57 +02:00
Eoghanmc22
cc01a48cf1 Minestom now properly adapts when a player changes their render distance, also fixed a bug that pointers to chunks that were unloaded were kept in the viewableChunks list until the player's instance was changed. 2020-08-13 17:54:55 -04:00
Eoghanmc22
d2f6c08c4e Merge branch 'master' of https://github.com/Minestom/Minestom 2020-08-13 17:25:59 -04:00
Eoghanmc22
74c99e8886 Fix glitchy chunk loading when you first login and don't send chunks to a player that are out of the player's render distance. 2020-08-13 17:23:35 -04:00
Eoghanmc22
d66d87ed97 Rate Limiting fixes 2020-08-13 14:51:01 -04:00
Eoghanmc22
542d603d60 1.16.2 support 2020-08-12 21:08:03 -04:00
jglrxavpok
a7139d19b6 Merge branch 'permission-api' 2020-08-10 21:43:15 +02:00
Felix Cravic
dad8503ee5 Optimize EntityEquipmentPacket 2020-08-10 13:55:06 +02:00
R0bbyYT
ba07fa78f0 Fixed 2020-08-09 17:10:58 +02:00
Felix Cravic
45fd0dc22a Comments 2020-08-07 09:14:50 +02:00
Felix Cravic
424256dcb6 Fixed entities not being removed from viewing list after changing instance 2020-08-06 18:39:56 +02:00
Felix Cravic
20e78afb40 Remove BossBar from the Player class, BossBar#addViewer should be used instead 2020-08-06 08:17:59 +02:00
Felix Cravic
4da05b2c3f Use ColoredText when possible 2020-08-05 18:25:11 +02:00
jglrxavpok
1772b94114 Start of Permission API 2020-07-31 22:31:58 +02:00
Felix Cravic
98c3419766 Cleanup 2020-07-27 02:28:03 +02:00
Felix Cravic
f8453b4906 Added ItemMeta + MapDataPacket 2020-07-23 05:36:15 +02:00
Felix Cravic
df6c9e4953 More comments + cleanup 2020-07-22 17:39:48 +02:00
jglrxavpok
30019ebe9a Customizable dimension list in JoinGamePacket + Dimension->DimensionType 2020-07-13 14:12:21 +02:00
Felix Cravic
9fc8012d9d Fix player display name 2020-07-06 19:15:13 +02:00
Felix Cravic
0d0674ee5d Added support for custom server brand name 2020-07-02 15:56:43 +02:00
Eoghanmc22
ffe5240a8d Merge branches 'experimental' and 'master' of https://github.com/Minestom/Minestom 2020-06-30 20:00:28 -04:00
Felix Cravic
f873f495ea Fix inventory + added our own chat parser 2020-07-01 01:17:58 +02:00
Eoghanmc22
68049b3eab Merge branches 'experimental' and 'master' of https://github.com/Minestom/Minestom 2020-06-30 17:15:32 -04:00
jglrxavpok
450603cac8 Don't send tags packet to viewers 2020-06-30 21:06:06 +02:00
jglrxavpok
2303b98024 Send tags to player on connection 2020-06-30 20:38:42 +02:00
Felix Cravic
2696bead72 Cleanup 2020-06-30 12:59:37 +02:00
Felix Cravic
e1b9f74cf4 Optimize message sending 2020-06-30 01:25:23 +02:00
Felix Cravic
18f9341c55 Add missing break statement 2020-06-29 17:32:35 +02:00
Eoghanmc22
f04e8036fc Add missing break and fix various things with the netty improvements made by WhileInside, add the disconnect during login packet currently only used for preventing multiple people with the same username from logging in when Mojang auth is enabled. 2020-06-29 11:25:10 -04:00
Eoghanmc22
37b5484775 Minor optimizations to mojang auth. 2020-06-25 19:40:33 -04:00