Commit Graph

1537 Commits

Author SHA1 Message Date
Felix Cravic
049e3b8495 Position in Player#setInstance can be null 2020-11-25 12:21:29 +01:00
Felix Cravic
ab73b0fa3e Player#setInstance can now take an optional Position parameter 2020-11-25 12:12:58 +01:00
Felix Cravic
edf22fcb66 Prevent getting the cpu monitoring message if the benchmark manager is not enabled 2020-11-25 11:39:36 +01:00
Felix Cravic
df4dd762d9 Minestom is not really an alternative to Bukkit 2020-11-25 10:58:09 +01:00
Felix Cravic
24d4e9b7e4 Added BatchOption 2020-11-25 09:47:04 +01:00
Felix Cravic
7bbb095156 Fixed Player#setInstance not refreshing chunks when already in an instance 2020-11-24 22:56:12 +01:00
Felix Cravic
38bcb755c2 Fixed PotionEffect ids 2020-11-23 10:08:23 +01:00
Felix Cravic
daa72719a0 Specify that ASK_SERVER is required for dynamic write callback 2020-11-22 23:04:06 +01:00
Felix Cravic
0705ab34ed Allow custom suggestion type with ArgumentDynamicWord 2020-11-22 22:58:14 +01:00
Felix Cravic
e09397a0e2 Use of a lock object to synchronize instance entities collections 2020-11-22 22:18:47 +01:00
Eoghanmc22
d056fceb8a slightly improve performance and fix memory leak 2020-11-22 12:44:08 -05:00
themode
a8c1c73282 Use of a synchronized wrapper for InstanceContainer chunks map 2020-11-22 17:40:57 +01:00
Eoghanmc22
414245a1a6 Merge branch 'master' of https://github.com/Minestom/Minestom 2020-11-22 10:33:38 -05:00
themode
5966cdaa47 Reduced the number of garbage objects 2020-11-22 16:32:15 +01:00
Eoghanmc22
a934df2af2 Merge branch 'master' of https://github.com/Minestom/Minestom 2020-11-22 08:59:52 -05:00
themode
0a5349226e Replaced CopyOnWriteArraySet to IntOpenHashSet for block entities 2020-11-22 14:58:01 +01:00
themode
fcb59ff7e7 Removed unnecessary biomes clone 2020-11-22 14:52:37 +01:00
themode
2d7b4360c2 Fixed non-0 respawn point 2020-11-22 14:11:18 +01:00
themode
acc013be6a Fixed glitched chunks when teleporting a player + divided teleportation count by 2 during first join 2020-11-22 13:56:36 +01:00
themode
5d8b59c012 Fixed MinecraftServer#setChunkViewDistance making players show more chunks than what their option is 2020-11-22 13:23:53 +01:00
themode
aa2f8489b2 Fixed max string length 2020-11-22 11:16:21 +01:00
themode
8330abbc4b Fixed mojang authentication 2020-11-21 23:33:06 +01:00
Eoghanmc22
1af58b1d96 fix Main 2020-11-21 17:08:56 -05:00
Eoghanmc22
04fc38a14f Merge branch 'master' of https://github.com/Minestom/Minestom 2020-11-21 14:59:17 -05:00
themode
48b637cbc8 Fixed player spawn when a respawn point is not specified 2020-11-21 20:56:32 +01:00
Eoghanmc22
f2f0625666 Merge branch 'master' of https://github.com/Minestom/Minestom
 Conflicts:
	src/test/java/demo/PlayerInit.java
2020-11-21 13:23:16 -05:00
Eoghanmc22
926c02b7f5 Small optimizations to netty. 2020-11-21 13:09:03 -05:00
themode
ab98c11de3 ItemStack#isSimilar should return true if both items have the same identifier 2020-11-21 11:42:47 +01:00
themode
3087b120f9 Basic support for linux io_uring 2020-11-21 10:42:07 +01:00
themode
3193c0894e Typo fix 2020-11-21 10:27:39 +01:00
themode
27414f65ab Made packet caching optional (enabled by default) 2020-11-21 10:26:25 +01:00
themode
0e6bb6cc3d Replaced Arrays.copyOf to native #clone 2020-11-21 09:35:50 +01:00
themode
6ecf53c863 Increased player synchronization group from 50 to 75 2020-11-21 08:14:25 +01:00
themode
500fc2e903 Fixed chunk being asked two times 2020-11-21 08:06:04 +01:00
themode
234ac6daf4 Fixed build error 2020-11-21 06:43:12 +01:00
themode
404ddb5bf9 Added a new item data ownership system, replacing the old nbt consumer and NbtDataImpl 2020-11-21 06:37:44 +01:00
themode
58f035fc4a Added lastUpdate param comment in TemporaryCache 2020-11-21 05:53:30 +01:00
Eoghanmc22
4e11b16ee1 improve performance by 5-10% 2020-11-20 21:58:00 -05:00
Eoghanmc22
cb013f8291 player init 2020-11-20 15:19:20 -05:00
Eoghanmc22
62663ccb64 Merge branch 'master' of https://github.com/Minestom/Minestom 2020-11-20 13:38:41 -05:00
themode
2ae602df87 Rollback teleportation to respawn point 2020-11-20 19:23:50 +01:00
Eoghanmc22
1da7f5da78 Merge branch 'master' of https://github.com/Minestom/Minestom
 Conflicts:
	src/test/java/demo/PlayerInit.java
2020-11-20 12:28:52 -05:00
themode
8d0a24fd55 PlayerInit packet optimization 2020-11-20 18:23:46 +01:00
Eoghanmc22
c1c84217c2 Merge branch 'master' of https://github.com/Minestom/Minestom 2020-11-20 12:16:55 -05:00
Eoghanmc22
ee2e141673 implement pooled buffers 2020-11-20 12:16:45 -05:00
themode
206991ad0a Fixed TemporaryCache#retrieve not taking the last update time 2020-11-20 18:15:37 +01:00
Eoghanmc22
035844787e Merge branch 'master' of https://github.com/Minestom/Minestom 2020-11-20 11:39:15 -05:00
themode
7a1a43279a Fixed empty chunk when connecting during its generation 2020-11-20 17:13:00 +01:00
themode
da4216a51f Fixed chunk synchronization during generation and packet sending 2020-11-20 16:37:59 +01:00
Eoghanmc22
9a64a0a409 Merge branch 'master' of https://github.com/Minestom/Minestom
 Conflicts:
	src/main/java/net/minestom/server/entity/Player.java
	src/main/java/net/minestom/server/network/player/NettyPlayerConnection.java
	src/main/java/net/minestom/server/utils/PacketUtils.java
2020-11-20 08:56:58 -05:00