Commit Graph

2593 Commits

Author SHA1 Message Date
Kieran Wallbanks
c92829e3cf Correct javadoc 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
f9245e8404 Move free port obtaining to util class 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
ec5ecb49bf Update javadoc 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
01fe452783 Implement OpenToLAN system 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
009f7cb1da Remove lazy initialisation of username component 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
462397d102 Remove Named and Identified interfaces 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
a15e3aef44 Make legacy server pings use the ServerListPingEvent 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
42e1811b7c Switch to per-version response data generation and implement NamedAndIdentified in ResponseData 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
0ac6d1aa37 Add shorthand methods for string creation 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
3651a132fe Correct Javadoc 2021-05-05 16:18:11 +01:00
Kieran Wallbanks
a16c8d3273 Use Component in NamedAndIdentified 2021-05-05 16:18:10 +01:00
Kieran Wallbanks
8d192fcb9c Add NamedAndIdentified interface 2021-05-05 16:18:10 +01:00
Németh Noel
5b41f3ffd0 Spiral chunk loading 2021-05-05 17:05:22 +02:00
TheMode
916650b4c8 Fix ghost item on respawn 2021-05-05 05:43:41 +02:00
Németh Noel
78937a6b0b Updated javadoc 2021-05-05 00:48:29 +02:00
TheMode
e4680d1f8d Fix syntaxes tree branching when a literal is present in the middle of a syntax 2021-05-05 00:01:50 +02:00
TheMode
4b6026f18d Remove unnecessary scopes 2021-05-04 23:15:20 +02:00
TheMode
79a4bd135a Merge remote-tracking branch 'origin/master' 2021-05-04 23:01:03 +02:00
TheMode
dfcf908abc Initial command syntaxes tree attempt 2021-05-04 23:00:38 +02:00
LeoDog896
bf41513d82 Avoid NPE when getting NBT 2021-05-04 11:52:36 -04:00
Kieran Wallbanks
2fdfce703d Fix javadoc errors 2021-05-04 15:46:34 +01:00
TheMode
22eb5c6bcd
Merge pull request #260 from MrBretze/master
Close the option
2021-05-04 04:25:13 +02:00
TheMode
4ef101d5fe
Merge pull request #269 from Kebab11noel/position-cleanup
Position cleanup
2021-05-04 01:30:27 +02:00
TheMode
26224d6373 Fix build 2021-05-04 01:24:16 +02:00
TheMode
44c777395b Merge remote-tracking branch 'Kebab11noel/position-cleanup' into position-cleanup 2021-05-04 01:21:03 +02:00
Németh Noel
1b059c5981 Inverted and renamed method parameter 2021-05-04 01:19:33 +02:00
TheMode
ef47e7e5b2 Merge remote-tracking branch 'Kebab11noel/position-cleanup' into position-cleanup 2021-05-04 00:59:26 +02:00
TheMode
748e3d7b39 Player#refreshVisibleEntities cleanup 2021-05-03 01:58:17 +02:00
Németh Noel
818251331f Made #sendPositionUpdate(boolean) protected 2021-05-02 00:05:48 +02:00
TheMode
cd0ea0c0c2 Remove deprecated CommandProcessor.java 2021-05-01 20:27:41 +02:00
TheMode
6e9adb2b9b Removed longely deprecated Arguments.class 2021-05-01 20:20:23 +02:00
TheMode
3f7e36ab8c Merge remote-tracking branch 'Kebab11noel/position-cleanup' into position-cleanup 2021-05-01 04:38:51 +02:00
Németh Noel
f4c55dd4b2 Fixed javadoc 2021-05-01 04:38:28 +02:00
Németh Noel
78dc2b32cd Removed isNettyClient field 2021-05-01 04:38:04 +02:00
Németh Noel
3abef8c9a7 Fix position update 2021-05-01 04:27:21 +02:00
TheMode
7a6763f73f Merge remote-tracking branch 'Kebab11noel/position-cleanup' into position-cleanup 2021-05-01 04:06:38 +02:00
Németh Noel
dbd0c302d5 Fix player unable to move 2021-05-01 04:00:25 +02:00
TheMode
679baba570 Merge branch 'master' into position-cleanup 2021-05-01 03:49:24 +02:00
TheMode
3fa64d6b24 Fix entity synchronization on join 2021-05-01 03:46:13 +02:00
Németh Noel
66f1c8847d Extracted position sending from Entity#tick and improved checks, also removed duplicate code from Player#update 2021-05-01 02:21:11 +02:00
Németh Noel
998d0d6f5c Renamed method 2021-05-01 00:51:10 +02:00
Németh Noel
5e55c0199d Moved cloning back into methods 2021-05-01 00:34:04 +02:00
Németh Noel
ea368876af Merged Entity#sendSynchronization and Player#updatePlayerPosition to #sendTeleportPacket and increased scheduled sync delay 2021-05-01 00:05:49 +02:00
Németh Noel
fa8a499321 Merged individual position values to position fields 2021-04-30 23:01:43 +02:00
TheMode
20ed4926c8 Fix entity collision 2021-04-28 15:02:06 +02:00
TheMode
35c60733d1 Dont deprecate setDefaultValue with constant result 2021-04-28 14:05:20 +02:00
TheMode
929a377dc0 Fix Acquirable#currentEntities
Signed-off-by: TheMode <themode@outlook.fr>
2021-04-27 12:16:38 +02:00
themode
e54f685ff9 Fix javadoc build 2021-04-26 18:36:04 +02:00
TheMode
495164d03b Use single thread by default 2021-04-26 16:27:50 +02:00
TheMode
79d936936e Merge branch 'master' into acquirable 2021-04-26 16:15:42 +02:00
TheMode
b27e1fcf94 Added beta annotations 2021-04-26 14:53:47 +02:00
TheMode
9ca09a32bf Rename AcquirableCollection acquire methods name 2021-04-26 13:23:32 +02:00
TheMode
c3f1b9159c Unchecked cast for acquirable getter 2021-04-26 12:52:02 +02:00
TheMode
ec9658e7d3 Fix shift click ghost item when click is cancelled 2021-04-26 01:35:44 +02:00
TheMode
8ba99bb931 Acquirable#async is not blocking 2021-04-25 23:28:41 +02:00
TheMode
b8b62c4ff7 Simplify Acquirable#lock 2021-04-25 23:07:31 +02:00
MrBretzel
e0dffea190
Merge pull request #4 from Minestom/master
PR 3
2021-04-25 22:49:07 +02:00
TheMode
47e7d35949 Support standalone itemstack string parsing 2021-04-25 21:42:40 +02:00
TheMode
6c3c6e1438 Put implementation detail in AcquirableImpl 2021-04-25 20:00:03 +02:00
TheMode
b47946bfed Remove Acquisition.java 2021-04-25 19:08:04 +02:00
TheMode
5e385c7c9b Fix section resize performance 2021-04-25 12:39:18 +02:00
TheMode
41d61e7df6 Added CommandSyntax#getSyntaxString 2021-04-25 10:46:10 +02:00
TheMode
b0afadf093 Override Argument#toString for all subclasses 2021-04-25 10:42:05 +02:00
TheMode
fd17a63f7c Remove debug code 2021-04-25 09:50:48 +02:00
TheMode
1f06603c5b Acquirable comment 2021-04-25 09:42:47 +02:00
TheMode
8e642b9116 Remove unnecessary synchronization 2021-04-25 09:33:52 +02:00
TheMode
2713650b23 Remove unused consumers 2021-04-25 01:46:27 +02:00
TheMode
41a0f22468 Prevent Acquired from being used after unlock 2021-04-24 21:39:39 +02:00
TheMode
9c99cb9b2e Removed unused method 2021-04-24 20:53:41 +02:00
TheMode
2577307da0 Make AcquirableCollection a simple collection wrapper 2021-04-24 20:40:23 +02:00
TheMode
2509085dc2 Rename optional to local 2021-04-24 19:56:39 +02:00
TheMode
db619243da Ensure that the opened inventory is the same before refreshing the cursor item 2021-04-24 19:25:26 +02:00
TheMode
4eaa15477b Potentially fix cursor ghost item when opening a new inventory 2021-04-24 19:14:19 +02:00
TheMode
b662e331f0 Fix shift clicks not being cancelled 2021-04-24 19:08:02 +02:00
TheMode
098a12961d Fix ghost item when cancelling inventory click 2021-04-24 19:00:30 +02:00
TheMode
34d10e57fa Reuse lock code 2021-04-24 18:30:21 +02:00
TheMode
0043cc7275 Re-added acquired to support manual locking 2021-04-24 18:25:15 +02:00
TheMode
845a8608db Simplify Acquirable, support for all objects 2021-04-24 18:14:12 +02:00
TheMode
26bd0dd43c Added Acquired 2021-04-24 17:41:33 +02:00
TheMode
0462c8f9a7 Cleanup 2021-04-24 15:15:23 +02:00
TheMode
db2550f9ab Merge branch 'master' into acquirable 2021-04-24 15:03:39 +02:00
TheMode
7d4e04bc66 Prevent potion effect filter when the list is empty 2021-04-24 15:03:27 +02:00
TheMode
99920a77ba Use stream instead of a collection for current thread entities 2021-04-24 14:59:43 +02:00
TheMode
7983362f25 ThreadProvider comment 2021-04-24 14:44:21 +02:00
TheMode
83271a00eb Merge branch 'master' into acquirable 2021-04-24 14:36:57 +02:00
TheMode
a6314abbad Improve physics performance 2021-04-24 12:41:52 +02:00
TheMode
7d1dfabc51 Fix color argument 2021-04-24 10:37:09 +02:00
TheMode
cf38103621 Merge branch 'master' into acquirable 2021-04-23 23:50:14 +02:00
TheMode
a671de1e01 Change addViewer0/removeViewer0 access to protected 2021-04-23 21:06:47 +02:00
TheMode
02ceed0563 Merge branch 'master' into acquirable 2021-04-23 17:52:41 +02:00
TheMode
e92fb1e8d5 Invalidate cache chunk packets when unloaded 2021-04-23 17:52:10 +02:00
TheMode
17409ee737 Merge branch 'master' into acquirable 2021-04-23 17:29:52 +02:00
TheMode
ef44c67204 Remove debug statements 2021-04-23 17:26:35 +02:00
TheMode
88be6fdfd8 Merge branch 'master' into acquirable 2021-04-23 16:39:55 +02:00
TheMode
84912f48b6 Fix memory leak 2021-04-23 16:38:40 +02:00
TheMode
2773a2d46c Make StackingRule an interface, support per item max size, fix double click stacking 2021-04-23 15:02:39 +02:00
TheMode
3035b3257d Rename #getBatchThread 2021-04-23 13:49:27 +02:00
TheMode
555cdb66de Fix entity memory leak, improve entity collection creation performance 2021-04-23 12:58:14 +02:00
TheMode
136ed17c0b No thread refresh for perchunk-instance thread provider 2021-04-23 12:25:23 +02:00
TheMode
cad488bb5d Override Player#getAcquirable 2021-04-23 11:51:14 +02:00