Commit Graph

1621 Commits

Author SHA1 Message Date
Matt Worzala
46ac38d5b3
Change ColoredText usages to JsonMessage 2020-12-31 13:53:21 -05:00
themode
2141792fcf Fixed math 2020-12-31 12:07:16 +01:00
themode
fd920ffdfe Potion cleanup 2020-12-31 12:05:36 +01:00
TheMode
4d8bd8430b
Merge pull request #92 from ThatCreeper/potion-api
Add a basic potion api
2020-12-31 11:57:52 +01:00
ThatCreeper
0ce094567b Fix most checkstyle warnings 2020-12-30 19:27:29 -06:00
ThatCreeper
c3d6af3afe make removeEffect send a packet
Make Potion immutable, and use long instead of Long
2020-12-30 19:07:07 -06:00
ThatCreeper
b1cab4ee05 Make /potion use TICK_PER_SECOND 2020-12-30 18:56:56 -06:00
ThatCreeper
c01b57ed9b removed scheduledPotions 2020-12-30 18:55:20 -06:00
ThatCreeper
fa41aabaed Make Potions use time instead of nanoTime 2020-12-30 18:47:43 -06:00
ThatCreeper
6a154eb15a Fix /potion demo command 2020-12-30 18:29:54 -06:00
ThatCreeper
d7883d29ff Rewrite Potions 2020-12-30 18:29:07 -06:00
ThatCreeper
50b44e46e0 Add PotionEffectManager 2020-12-30 17:12:03 -06:00
themode
d4110632a4 Increase readability when using static fields instead of local ones 2020-12-30 20:30:48 +01:00
themode
23fc19430a Fix entity uuid map memory leak 2020-12-30 20:29:46 +01:00
themode
835a769080 Implement entity eye height based on boundingbox 2020-12-29 20:42:41 +01:00
themode
78ed12887d Implement client spectate packet 2020-12-29 19:58:40 +01:00
themode
a7a6210f65 Register ClientSpectatePacket 2020-12-29 19:50:29 +01:00
themode
8b9836d82a Set Player eye height to 1.62 2020-12-29 18:12:25 +01:00
TheMode
feab43a5f1
Merge pull request #89 from Nesaak/master
Add BlockIterator and LivingEntity#getTargetBlockPosition
2020-12-29 18:09:30 +01:00
Nesaak
ebea74f3c6 Remove unused import 2020-12-29 11:54:06 -05:00
themode
8da6148152 PlayerInventory field in player is now protected, to allow unsafe modifications when extending the class 2020-12-29 16:42:07 +01:00
jglrxavpok
817036fd87 Too many F, oops 2020-12-29 16:25:11 +01:00
jglrxavpok
997a76980f Fix ChunkBatch not deserializing properly block state IDs > 255 2020-12-29 16:17:27 +01:00
themode
3c871ed603 Fix NPE in CrossbowMeta 2020-12-29 15:16:51 +01:00
Nesaak
fd73cc1d23 Add BlockIterator and LivingEntity#getTargetBlockPosition 2020-12-28 20:24:03 -05:00
themode
718d787192 Makes the Pose enum public 2020-12-29 00:43:04 +01:00
themode
f7d1bd7e53 Merge remote-tracking branch 'origin/master' 2020-12-29 00:04:27 +01:00
themode
cecf6310ca Added Entity#setPose 2020-12-29 00:04:15 +01:00
TheMode
70c9068365
Merge pull request #87 from mworzala/list_typing
Minor list typing changes
2020-12-28 21:19:58 +01:00
Matt Worzala
071a2ce196
Change ArrayList types to List 2020-12-28 14:57:39 -05:00
TheMode
32b8d83ac9
Merge pull request #86 from mworzala/fix_player_size
Fix block placement when close to block
2020-12-28 20:23:53 +01:00
Matt Worzala
460b177866
Set player bounding box size to 0.6. 2020-12-28 14:16:43 -05:00
TheMode
f77ec96f25
Merge pull request #84 from Archy-X/master
Add onWrite method with CommandSender in CommandProcessor
2020-12-28 19:58:53 +01:00
Archy-X
e9b93c0d02 Merge branch 'master' of https://github.com/Minestom/Minestom 2020-12-28 11:39:26 -07:00
TheMode
ebdb455e2c
Merge pull request #85 from mworzala/fix_chunk_rounding
Fix block placement inside entities.
2020-12-28 19:36:00 +01:00
Matt Worzala
c24df2f308
remove debug print 2020-12-28 13:34:48 -05:00
Matt Worzala
c89ffbfc44
Change rounding method of Instance#getChunkAt to fix negative chunk off-by-one 2020-12-28 13:28:10 -05:00
Archy-X
e911612ad6 Add onWrite method with CommandSender in CommandProcessor 2020-12-28 10:59:18 -07:00
themode
ca3667732f Attempt to fix sync issue in window click 2020-12-28 17:27:40 +01:00
themode
87e8e550f1 Don't add players to the waiting list in the constructor, but in the registration method 2020-12-28 12:41:15 +01:00
themode
924fac562b Print exceptions properly during server tick 2020-12-28 12:27:25 +01:00
themode
22aa9d01ed Do not size the string in sendPluginMessage 2020-12-28 10:40:50 +01:00
TheMode
c478bd7af6
Merge pull request #83 from Archy-X/master
Add ChatColor values method
2020-12-28 08:06:13 +01:00
TheMode
0700cedcde
Merge pull request #82 from Nesaak/master
Add #FindPlayer in ConnectionManager
2020-12-28 08:05:35 +01:00
Archy-X
05f3760044 Added ChatColor values method 2020-12-28 00:00:47 -07:00
Nesaak
1a1c3339aa Add #FindPlayer in ConnectionManager 2020-12-27 20:55:57 -05:00
themode
5975f8d838 Stop creating a thread for each auth request 2020-12-28 00:18:25 +01:00
themode
28c5e39f8b Pre login event is now async 2020-12-27 22:16:19 +01:00
themode
a3ae2f39a5 More comments for NettyServer 2020-12-27 10:53:30 +01:00
themode
6a9461546c No more memory allocation when using grouped packets 2020-12-26 21:10:27 +01:00