Commit Graph

45 Commits

Author SHA1 Message Date
TheMode
7f4e4a9b80 Steal var-int/long code from async-profiler 2021-08-10 18:45:02 +02:00
TheMode
fbf6479135 Fix item meta writing
Signed-off-by: TheMode <themode@outlook.fr>
2021-08-03 19:44:10 +02:00
TheMode
1c3bb5b0ff First NIO attempt
Signed-off-by: TheMode <themode@outlook.fr>
2021-08-03 12:57:13 +02:00
TheMode
3b14fe12a3 Proper naming for Section/Palette 2021-06-12 10:39:44 +02:00
Anders
67494255b5
Count non air blocks in a section. 2021-05-18 15:09:03 +02:00
TheMode
4ab35fbbc0 Remove magic value for pre-filled var ints 2021-05-11 03:10:18 +02:00
TheMode
5d7a49c009 Steal velocity VarInt optimization 2021-05-09 07:36:09 +02:00
jglrxavpok
f9dcbafddf More readable server packets 2021-03-30 19:39:05 +02:00
themode
85d01e5009 Micro optimize packet header varint 2021-03-28 19:34:38 +02:00
themode
cef7e3d591 Optimize packet writing & reduce allocation 2021-03-26 15:58:46 +01:00
themode
71d0d06f90 Improve block placement performance, more abstraction for future features 2021-03-19 05:51:42 +01:00
Felix Cravic
5e85c0117a Cleanup 2020-12-12 06:13:50 +01:00
themode
0abedd7453 Optimization to prevent permanent map lookup 2020-11-14 09:02:29 +01:00
themode
55cddf6b78 Added palette 2020-11-11 17:13:36 +01:00
themode
e65ab88a3b WIP palette 2020-11-01 22:53:36 +01:00
themode
3cb880cf80 General cleanup 2020-10-22 12:55:53 +02:00
themode
683415e75e Fixed item attributes not showing in-game 2020-10-04 03:04:51 +02:00
themode
7ea06cc70b PacketUtils improvement with initial capacity packet + optimize the ChunkDataPacket 2020-08-21 13:16:44 +02:00
themode
571bb7a866 Renamed PacketWriter/Reader to BinaryWriter/Reader + optimization to serializing 2020-08-19 20:34:21 +02:00
Articdive
d5b8ead337
Make utility classes final and not constructable. 2020-08-07 08:10:10 +02:00
jglrxavpok
b277d7cb1a Moved NBTUtils from VanillaReimpl to core 2020-07-06 23:43:56 +02:00
jglrxavpok
84b06307c4 Item damage is an Integer 2020-07-06 23:34:22 +02:00
jglrxavpok
4f4d48df92 Remove old NBT code, use Hephaistos 2020-07-06 23:20:20 +02:00
Felix Cravic
433703c0af Added support for item CustomModelData 2020-07-06 12:39:48 +02:00
Eoghanmc22
1f56bc10fc Merge branch 'master' of https://github.com/WhileInside/Minestom
 Conflicts:
	src/main/java/net/minestom/server/network/netty/NettyServer.java
	src/main/java/net/minestom/server/network/packet/client/login/LoginStartPacket.java
	src/main/java/net/minestom/server/network/player/FakePlayerConnection.java
	src/main/java/net/minestom/server/network/player/NettyPlayerConnection.java
	src/main/java/net/minestom/server/network/player/PlayerConnection.java
2020-06-28 18:06:36 -04:00
artem
53410c737a getVarIntSize optimization, Compression, LegacyPing 2020-06-29 01:07:48 +05:00
Eoghanmc22
b80da2f097 basic 1.16.1 support 2020-06-25 15:05:58 -04:00
Felix Cravic
f892213e8c Added a new Chat API 2020-06-22 23:25:00 +02:00
Felix Cravic
cb743bc7d5 NbtWriter cleanup 2020-06-01 18:57:16 +02:00
Felix Cravic
639629ccf6 Added a small nbt utils package 2020-05-30 00:01:38 +02:00
Felix Cravic
b0ccb91c31 More entity + added boundingboxes 2020-05-29 18:56:42 +02:00
Felix Cravic
b00627f778 Forgot to write StoredEnchantments 2020-05-29 01:05:08 +02:00
Felix Cravic
14408e9d15 Fixed HideFlags 2020-05-29 00:30:19 +02:00
Felix Cravic
d416efad5b Fixed enchantments (StoredEnchantments+Enchantments support) 2020-05-28 23:54:26 +02:00
Felix Cravic
619c680f1b Added item attributes 2020-05-28 23:43:12 +02:00
Felix Cravic
9bf193988f Added ItemStack potion nbt 2020-05-27 12:33:12 +02:00
Felix Cravic
4ed213249e Added WorldBorder 2020-05-26 19:22:47 +02:00
Felix Cravic
d05a2feff3 WIP ItemFlag 2020-05-22 21:46:50 +02:00
Felix Cravic
888c570235 Added enchantments reader/writer + item dropping in creative mode 2020-05-22 18:51:03 +02:00
Draycia
6d45dc674d Fix item names and lore 2020-05-03 23:07:25 -07:00
Draycia
5437fa90cc Remove old Chat methods
Note: I'm 100% certain things will break because of theee changes. I'll fix things as I find them broken. 10/10 strategy.
2020-05-03 05:05:43 -07:00
Felix Cravic
4b3e3e8e65 An inventory can now have multiple InventoryCondition 2020-04-30 01:51:16 +02:00
Felix Cravic
7eee0c788f WIP Enchantments (de)serialization 2020-04-29 20:17:04 +02:00
Felix Cravic
d4cf29c7a7 Less magic values 2020-04-26 19:17:04 +02:00
Felix Cravic
7daac5e610 Package rename to net.minestom.server 2020-04-24 03:25:58 +02:00