Commit Graph

1328 Commits

Author SHA1 Message Date
themode
df37e2f81d DynamicChunk now uses schedulers when reading binary chunk data 2020-10-10 09:02:24 +02:00
themode
c78ee500e8 Made MinestomBasicChunkLoader requires an InstanceContainer to be dynamic and simplify custom chunk implementation 2020-10-10 08:45:26 +02:00
themode
b118fc717b Cleanup 2020-10-10 06:07:28 +02:00
themode
1712ebd151 chunkSupplier needs to give non-null chunks 2020-10-10 05:54:07 +02:00
themode
3c2805790a Merge remote-tracking branch 'origin/master' 2020-10-10 05:51:05 +02:00
themode
2fa375f9d6 Added ChunkSupplier to allow custom chunk implementation loading and Chunk#shouldGenerate to allow chunks not affected by the chunk generator 2020-10-10 05:50:49 +02:00
TheMode
4a96ef6224 Use Map instead of List to store tasks 2020-10-09 06:08:27 +02:00
themode
28332cd09d Command comments 2020-10-08 01:28:40 +02:00
themode
af369dedde Added Command global listener 2020-10-08 01:21:15 +02:00
themode
ec33478cc3 Remove hardcore bit in JoinGamePacket 2020-10-07 22:26:26 +02:00
themode
f811f1efef Comments cleanup 2020-10-06 21:03:00 +02:00
themode
d03354fe24 Made Chunk#setBlockData public 2020-10-06 07:54:19 +02:00
themode
abbb2fde01 Fix RichMessage javadoc 2020-10-06 07:46:07 +02:00
themode
dd3345ff9a ColoredText comments + cleanup 2020-10-06 07:41:35 +02:00
themode
a757f4b97b Simplify EventHandler implementation 2020-10-06 04:06:59 +02:00
themode
37d3c9c6bc Allow for custom chat message serializer using JsonMessage 2020-10-06 03:43:57 +02:00
themode
67c93e73ab Remove useless method 2020-10-05 10:20:25 +02:00
themode
04498ed0f0 Chunk code cleanup & optimization 2020-10-05 10:03:25 +02:00
themode
5b26031a92 Comments for BoundingBox 2020-10-05 03:59:47 +02:00
themode
f79a024dc1 Renamed Chunk#setBlock to Chunk#UNSAFE_setBlock for reliability and security purpose 2020-10-05 02:03:08 +02:00
themode
857d3f0c6e Added ItemStack#getAttribute 2020-10-05 01:46:02 +02:00
themode
4eb09e70e7 Comments for Instance, facilitating future implementations 2020-10-04 23:33:36 +02:00
themode
683415e75e Fixed item attributes not showing in-game 2020-10-04 03:04:51 +02:00
themode
39a9e5531d renamed the block batch pool field 2020-10-03 22:07:21 +02:00
themode
db90b5e22d Comments improvement 2020-10-03 19:07:23 +02:00
themode
6758cadf7d Chunk is now a DataContainer 2020-10-03 18:51:33 +02:00
themode
f85e7ca4a9 Merge remote-tracking branch 'origin/master' 2020-10-03 03:45:22 +02:00
themode
690c7d5ff1 SerializableDataImpl comment fix 2020-10-03 03:45:11 +02:00
TheMode
59503a0acc
Merge pull request #59 from Minestom/recipe-updates
Update Recipe code, add abstraction for different recipe packet types.
2020-10-02 18:23:48 +02:00
Articdive
e3b8d1fb87
Remove final from DeclaredRecipes 2020-10-02 18:24:28 +02:00
Articdive
64ee739e1f
Update Recipe code, add abstraction for different recipe packet types. 2020-10-02 18:18:04 +02:00
themode
2218299931 Simplify the SerializableData interface 2020-10-02 08:18:36 +02:00
themode
0f71b4c9d4 Clarifications for SerializableData 2020-10-02 04:26:10 +02:00
themode
a7163c8d1c Some clarifications with the storage classes 2020-10-02 04:12:59 +02:00
themode
fcccef2bd1 Small inventory optimization 2020-10-02 03:54:59 +02:00
themode
5d6145bb20 InstanceContainer#setBlock should load chunks automatically if Instance#hasEnabledAutoChunkLoad returns true 2020-10-01 19:57:19 +02:00
themode
51530b8c61 Merge remote-tracking branch 'origin/master' 2020-10-01 17:54:44 +02:00
themode
271b56aa4c exception when the chunk is not loaded in Instance#setBlock 2020-10-01 17:54:31 +02:00
TheMode
ef5c57f6da
Merge pull request #58 from Minestom/syntax-enums
Final for enums and some annotations.
2020-09-29 21:59:03 +02:00
Articdive
29c6d92bdc
Final for enums and some annotations. 2020-09-29 21:45:16 +02:00
themode
e96aebaaba Fix client digging packet parsing 2020-09-28 18:27:28 +02:00
themode
af9851c334 Allow registering instance extending Instance and not necessary InstanceContainer 2020-09-28 02:29:41 +02:00
themode
aea788cd64 Better comments 2020-09-28 00:04:55 +02:00
themode
5a9250b236 Added Instance#getEntities 2020-09-28 00:02:37 +02:00
themode
d704d7dae6 Removed useless storage location check in MinestomBasicChunkLoader 2020-09-27 22:30:59 +02:00
themode
b294ae73e4 Do not force a non-null storage location for chunks saving 2020-09-27 21:18:19 +02:00
themode
09582cffc1 Comments for IChunkLoader specifying when to execute the callbacks 2020-09-27 20:48:12 +02:00
themode
d43ba6a395 Comments for MinestomBasicChunkLoader 2020-09-27 20:45:46 +02:00
themode
45cc1dd2c7 Made InstanceManager#unregisterInstance thread-safe 2020-09-27 19:04:08 +02:00
themode
670887f7b3 Added InstanceManager#unregisterInstance 2020-09-27 19:02:05 +02:00