Commit Graph

612 Commits

Author SHA1 Message Date
jglrxavpok
223af361d8 Code modifiers and test extension 2020-08-21 01:32:59 +02:00
jglrxavpok
164719090a (WIP) Support for runtime code modification 2020-08-20 02:06:58 +02:00
themode
b8c30d9b58 Cleanup 2020-08-19 20:47:53 +02:00
themode
c85e866e3c Fixed BinaryWriter#writeNBT 2020-08-19 20:35:22 +02:00
themode
571bb7a866 Renamed PacketWriter/Reader to BinaryWriter/Reader + optimization to serializing 2020-08-19 20:34:21 +02:00
themode
65db4a48b4 Cleanup 2020-08-19 16:19:18 +02:00
themode
bed09d397a Merge remote-tracking branch 'origin/master' 2020-08-19 01:51:34 +02:00
themode
c1f520143b Use chunk size constant instead of magic values 2020-08-19 01:51:22 +02:00
Eoghanmc22
51f8520a1f
Merge pull request #39 from Minestom/extensions
Add support for Extensions.
2020-08-18 19:26:03 -04:00
themode
8b30caa8c8 Micro optimization + cleanup 2020-08-19 01:24:51 +02:00
Articdive
846b668c1b
Rename plugins to Extensions and add basic support. 2020-08-18 14:18:12 +02:00
themode
c5172a7275 WIP ItemStack#getCustomDisplay 2020-08-18 02:16:30 +02:00
themode
84b74eb45f Cache pathfinder block data 2020-08-17 21:07:37 +02:00
themode
ebaa2ad1a5 Update pathfinder when a block is removed 2020-08-17 20:52:35 +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
737cf24ace Stop hardcoding version name 2020-08-16 10:57:27 +02:00
Felix Cravic
caa89dd2f8 Chunk update 2020-08-16 00:53:42 +02:00
Eoghanmc22
a7484f8644 Fix npes 2020-08-15 18:01:10 -04:00
Eoghanmc22
1094fd4931 Fix npe 2020-08-15 10:08:54 -04:00
Eoghanmc22
4843440391 Merge branch '1.16.2' of https://github.com/Minestom/Minestom 2020-08-15 10:06:13 -04: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
84d1f1bdaa Merge remote-tracking branch 'origin/1.16.2' into 1.16.2 2020-08-15 16:05:01 +02:00
Felix Cravic
6e7b4ebb9f Changed version in server list 2020-08-15 16:04:50 +02:00
Eoghanmc22
448a26a7d8 add support for static chunks 2020-08-15 10:01:47 -04:00
Eoghanmc22
284613a1a8 fix merge 2020-08-15 10:00:50 -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
Felix Cravic
92f914ef2d Cleanup 2020-08-15 13:32:36 +02:00
Felix Cravic
b716d8a47a Comments + cleanup 2020-08-15 04:05:15 +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
0d4689a367 Optimize thread providers 2020-08-15 01:18:49 +02:00
Felix Cravic
1d047b5de3 Removed useless synchronization 2020-08-14 15:24:57 +02:00
Felix Cravic
0dd454985f Added list initial capacity 2020-08-14 15:15:16 +02:00
Eoghanmc22
d12618af0f Fix concurrent modify exception. 2020-08-13 18:50:57 -04: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
94279e2dbf Merge branch 'master' of https://github.com/Minestom/Minestom 2020-08-13 14:51:40 -04:00
Eoghanmc22
d66d87ed97 Rate Limiting fixes 2020-08-13 14:51:01 -04:00
Felix Cravic
2b529e05d0 Fixed error with unloaded chunks 2020-08-13 20:43:45 +02:00
Felix Cravic
3c64def9f9 Updated Hydrazine 2020-08-13 20:24:40 +02:00
Eoghanmc22
8ecb90f359 Rate Limiting 2020-08-13 13:52:59 -04:00
Felix Cravic
ef28720496 Call InventoryPreClickEvent even without any inventory condition 2020-08-13 19:14:07 +02:00
Felix Cravic
23e82e0ae2 Added ItemStack#onInventoryClick 2020-08-13 19:12:16 +02:00
Felix Cravic
f3414224fe Added ItemStack callbacks for interactions 2020-08-13 19:00:19 +02:00
Eoghanmc22
542d603d60 1.16.2 support 2020-08-12 21:08:03 -04:00
Eoghanmc22
f431674174 Merge branch 'master' of https://github.com/Minestom/Minestom 2020-08-12 13:10:22 -04:00
Eoghanmc22
6259f624f3 starting of 1.16.2 support 2020-08-12 13:08:04 -04:00
Felix Cravic
55b36624cc Fix local held synchronization 2020-08-12 18:41:14 +02:00