Commit Graph

313 Commits

Author SHA1 Message Date
themode
9184b3054f Fix the first #setInstance being called in the main update thread 2020-10-12 04:14:06 +02:00
themode
af1f976e53 Comments 2020-10-11 18:57:24 +02:00
themode
f2004f1ecd More comments for the command API 2020-10-11 15:27:23 +02:00
themode
739c3f1d7d Allow non-custom block in PlayerStartDiggingEvent 2020-10-10 13:46:41 +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
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
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
670887f7b3 Added InstanceManager#unregisterInstance 2020-09-27 19:02:05 +02:00
Eoghanmc22
5ff56212a2 Merge branch 'master' of https://github.com/Minestom/Minestom 2020-09-26 16:06:20 -04:00
Eoghanmc22
ae44fa124d Fix teleports 2020-09-26 16:03:51 -04:00
themode
3464d27ab1 Added entity in EntitySpawnEvent 2020-09-26 21:24:10 +02:00
themode
ce81c3a85d Fix position issue when cancelling the breaking of a block just below the player 2020-09-25 21:50:50 +02:00
themode
5620e9a8cf Cleanup 2020-09-24 01:50:25 +02:00
themode
2a9adfc751 New banner 2020-09-24 01:03:13 +02:00
themode
8c623072f3 Calling an entity event will now also trigger it for the instance (useful for instance-specific listeners) 2020-09-23 22:01:47 +02:00
themode
403e0c897f Added EventHandler#getEventCallbacks 2020-09-20 20:11:46 +02:00
jglrxavpok
b6fc3ee978 Publish with Javadoc & Sources 2020-09-20 15:04:07 +02:00
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
18c7a61f89 Remove useless math methods 2020-09-16 01:33:37 +02:00
themode
465d83ae77 Comments for Instance & InstanceContainer 2020-09-11 00:14:17 +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
7b93881e59 Made DamageType a DataContainer 2020-09-05 16:45:33 +02:00
Nesaak
e465b01f66 Add Entity#getChunk convenience method 2020-09-02 18:43:42 -04:00
themode
e484e4a4d6 Updated Hydrazine to 1.4.2 2020-09-01 21:16:07 +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
84b74eb45f Cache pathfinder block data 2020-08-17 21:07:37 +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
a7484f8644 Fix npes 2020-08-15 18:01:10 -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
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