Commit Graph

5126 Commits

Author SHA1 Message Date
TheMode 6ecede145e
Improve tag performance + concurrency tests (#1165) 2022-06-25 10:36:50 +02:00
SuperKael 1d469ca6a6
Add missing enum values to Biome.Category. (#1168) 2022-06-18 02:26:52 +02:00
Johnnywoof bab2c22a51
Use predicate for entity targeting (#1099)
* Use predicate for entity targeting

* Change range variable in deprecated constructor from double to float

* Use distance squared
2022-06-15 03:07:42 +10:00
Cody 3821d204cf
Allow for 'F' to be pressed in inventories (Fixes #585) (#1164) 2022-06-14 07:38:44 +02:00
Ativendus bb3c232256
Added annotations (#1161) 2022-06-12 20:41:50 +02:00
themode 7be96b7679 Allow tag write without allocation if compatible with the previous entry 2022-06-11 17:38:37 +02:00
Cody af28caad9e
Fix native images not detecting MinestomConsoleWriter (#1159) 2022-06-10 04:54:38 +02:00
TheMode ef20430e54 Use ofEntries for EntityType meta
Signed-off-by: TheMode <themode@outlook.fr>
2022-06-09 21:41:28 +02:00
TheMode 8789a6c1f0 Add arrayCopy
Signed-off-by: TheMode <themode@outlook.fr>
2022-06-09 21:35:18 +02:00
TheMode 20dcf91f4a Do not write packet after disconnection
Signed-off-by: TheMode <themode@outlook.fr>
2022-06-09 16:40:51 +02:00
themode 89244fa35a Update gradle to 7.4.2 2022-06-08 12:34:15 +02:00
Noel Németh b112248ae8
Fix by checking if the connection uses inet socket (#1152) 2022-06-05 14:53:28 +02:00
TheMode 2289cf32e1 Fix unnecessary allocation on ping
Signed-off-by: TheMode <themode@outlook.fr>
2022-06-04 22:43:02 +02:00
Noel Németh bcab1b199b
Limit chunk update packets (#1128) 2022-06-04 22:04:57 +02:00
TheMode ff712575ad Fix velocity packets being sent for flying players
Signed-off-by: TheMode <themode@outlook.fr>
2022-06-04 20:38:31 +02:00
Dominik Strebinger 58b6e90142
Add PlayerInstanceEvent (#1135) 2022-05-29 20:42:45 +02:00
Zak Shearman a01ff09563
Return null, don't throw NullPointerException (#1131) 2022-05-28 11:39:50 +02:00
Huynh Tien a4f392d116
BungeeCordProxy: skip if the name is not textures or the value & signature does not exist (#1127) 2022-05-26 16:41:50 +02:00
Michael 7b8445d0e2
Add EditBookEvent (#1120) 2022-05-24 14:08:00 +10:00
TheMode f5dc048185 Fix block nbt update
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-23 23:40:57 +02:00
Huynh Tien 025cdab7e6
A simple Completer for MinestomTerminal & Fix LineReader visual issue (#1091) 2022-05-23 21:59:34 +02:00
TheMode 8ce43ca40c Test palette placement of high value
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-22 17:44:58 +02:00
TogAr2 3cd73310cd
Account for flying in velocity calculation (#1111) 2022-05-22 16:46:54 +02:00
TheMode f80f653ee0 Fast exit for retrieveAll
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-19 12:39:27 +02:00
TheMode d4875b2838 Slightly improve updateAll
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-18 16:37:25 +02:00
TheMode 188d316e15 More tests for array/pool
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-18 12:02:24 +02:00
TheMode ace42b6f46 Make ObjectArray interface
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-18 08:54:55 +02:00
TheMode 367c389bc6 Additional collision style
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-17 18:35:38 +02:00
TheMode 83ff0daff7
Collision cleanup (#1085) 2022-05-17 17:09:16 +02:00
themode bfa2dbd3f7 Rename AutoIncrementMap 2022-05-16 08:39:18 +02:00
TheMode 8d7175af73
Replace thread locals to pool (#1079) 2022-05-16 07:34:47 +02:00
emortal 1b12905500
Make readme font consistant with website and banner, plus light and dark versions (#1076) 2022-05-14 22:58:47 +02:00
TheMode 737b663a4c Update graal meta
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-13 00:58:03 +02:00
MrGazdag 5f9d44433d
Fix Entity#lookAt(Pos) not correctly looking at the position (#1058) 2022-05-12 23:35:46 +02:00
Steank f774cc3b0f
Fix entities falling through tall blocks (#1047) 2022-05-11 21:30:48 +02:00
Articdive e4de03ab1a
Automatically generate dye colors. (#1051) 2022-05-10 20:03:23 +02:00
TheMode e4c1c9fe8d Cleanup Messenger, fix uuid
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-10 10:17:06 +02:00
TheMode 7d930ee28d Replace PlayerConnection#sendPacket when possible
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-10 10:07:55 +02:00
TheMode abeda20646 Misc inventory style
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-10 07:42:18 +02:00
Moulberry ad0440711f
Some tweaks to AbstractInventory/PlayerInventory, as well as various Tests (#1049) 2022-05-10 07:33:05 +02:00
TheMode dfd8c94f5f More style
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-10 06:42:53 +02:00
TheMode 27c4c99949 Misc style
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-10 04:10:57 +02:00
TheMode 37ba3c7893 Simplify tag list
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-09 20:56:06 +02:00
TheMode 64de8f87c0 Add EquipmentSlot.armors
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-07 17:19:51 +02:00
TheMode cb01b08b04 Add experimental tag update methods
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-07 16:26:39 +02:00
TheMode 2720d9ada2 Use `checkIndex`
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-07 10:58:19 +02:00
Kiip 35ae8bc07a
Only predict projectile higher if there is gravity (#1016) 2022-05-06 20:55:31 +02:00
iam cef824bc16
Fix expanded bounding box (#1020) 2022-05-05 13:42:07 +02:00
themode c009ef0505 Avoid slow synchronized path during reference building 2022-05-04 18:24:15 +02:00
TheMode fdd3e2c53c Seal snapshot interfaces
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-04 13:25:24 +02:00