Commit Graph

1748 Commits

Author SHA1 Message Date
themode
240a745830 Prevent runtime exception when passing an array with null values in ArgumentWord 2021-01-19 06:27:58 +01:00
themode
7d72d48a5a Fix keep alive packet 2021-01-18 21:47:00 +01:00
TheMode
2e9f964d33
Merge pull request #107 from LeoDog896/master
Better KeepAlive and Connection handling
2021-01-18 21:33:45 +01:00
LeoDog896
fa7fe1398f Change remove to poll 2021-01-18 10:45:22 -05:00
LeoDog896
78abfb9657 Make init function UNSAFE 2021-01-18 10:44:12 -05:00
LeoDog896
4aed6ffa5c Revert ConcurrentStack 2021-01-18 10:42:01 -05:00
LeoDog896
83111cb8bb Add javadocs to ConcurrentStack 2021-01-18 10:35:43 -05:00
LeoDog896
ac68c094ce Better keepalive and connection handling 2021-01-17 19:26:20 -05:00
TheMode
1eea505da0 Update version name 2021-01-17 08:29:23 +01:00
TheMode
b00824d053
Merge pull request #104 from LeoDog896/master
Microoptimization cleanup
2021-01-17 07:20:51 +01:00
LeoDog896
5419530125 Enchanted book and Colored StringBuilder 2021-01-15 22:03:44 -05:00
TheMode
ada1e49d3c
Merge pull request #105 from Protonull/master
Fix missing field bug
2021-01-16 00:13:43 +01:00
Alexander
8f130b5dd9 Fix missing field bug 2021-01-15 21:25:16 +00:00
LeoDog896
fec05d6838 More fastutil usages 2021-01-15 16:04:57 -05:00
LeoDog896
3b3a86a402 Prefer nullable over optional 2021-01-15 13:39:12 -05:00
LeoDog896
3514547610 Fix isEmpty check in ColoredText 2021-01-15 13:26:12 -05:00
LeoDog896
8633797420 Use a StringBuilder for ColoredText 2021-01-15 13:16:09 -05:00
LeoDog896
0c1b93a82b Return non-fastutil type 2021-01-15 13:08:55 -05:00
LeoDog896
12adb9a965 *Actually important Microoptimization*
Anything that handles every single connected player should be optimized
2021-01-15 13:05:21 -05:00
LeoDog896
3536bdc856 Microoptimization cleanup
Just some small microoptimizations including preferring fastutils, Removing unnecessary checks already dealt with using @NotNull, all since I had extra unplanned free time.
2021-01-15 11:08:11 -05:00
themode
238ea649ab Cleanup Team class 2021-01-14 04:33:23 +01:00
themode
7e8bc5f7d8 Dependencies update 2021-01-14 01:38:34 +01:00
TheMode
e6706ec327
Merge pull request #102 from LeoDog896/master
Add EatBlockGoal instance check & MeleeAttackGoal range.
2021-01-13 20:01:02 +01:00
LeoDog896
97b7e122e9 Add instance check to NavigableEntity 2021-01-13 07:54:06 -05:00
LeoDog896
96d581a49f Optimize EatBlockGoal with fastutil 2021-01-13 07:50:41 -05:00
LeoDog896
2cd5a362a4 Add eating check for instances. 2021-01-13 07:37:20 -05:00
LeoDog896
85a84dbea6 Add range to MeleeAttackGoal 2021-01-13 07:33:51 -05:00
KrystilizeNevaDies
7bc1f37e80 Add a direct way to set the bounding box in Entity 2021-01-13 21:57:55 +10:00
themode
098ba1a6a4 Fix client crash when receiving packets before playing state 2021-01-13 09:16:22 +01:00
themode
e0afe62c66 Comment about getItemStacks() array modification 2021-01-13 08:39:33 +01:00
themode
9d8e9276f6 Added the convenient InventoryModifier#copyContents 2021-01-13 08:28:37 +01:00
themode
8e1ffdff7d Prevent double intersect check 2021-01-13 06:34:09 +01:00
themode
7d8ce32ba9 Fix block placement collision on chunk border 2021-01-13 06:32:42 +01:00
themode
d5da334c25 Item lore cannot be null (but empty) 2021-01-13 03:42:31 +01:00
themode
ea8b8ea41e Fix getChunkAt 2021-01-13 00:56:53 +01:00
TheMode
1b1d74ceee
Merge pull request #101 from LeoDog896/master
Check for removed entity before targeting
2021-01-12 21:18:24 +01:00
LeoDog896
37d528c5a2 Check for removed entity before targeting 2021-01-12 15:16:24 -05:00
themode
fcc5bc4381 Improve bootstrap warning 2021-01-12 04:22:24 +01:00
themode
29c8f924fa Added missing metadata types 2021-01-11 21:21:19 +01:00
themode
c5d56ae820 Small velocity code cleanup 2021-01-11 08:44:38 +01:00
themode
fc694f4b49 Override JsonMessage#toString 2021-01-11 04:42:50 +01:00
themode
14d0149276 Fix boolean argument 2021-01-11 02:57:18 +01:00
themode
d7fec0297f Fix argument callback with 0 correct argument 2021-01-11 01:54:59 +01:00
KrystilizeNevaDies
23e70208a8
Fix EntityDamageEvent not being cancellable 2021-01-10 14:18:16 +10:00
themode
1859f513e5 Added convenient EntityFinder#findFirstPlayer 2021-01-10 02:39:05 +01:00
themode
b1db46f575 Allow null instance for entity query 2021-01-10 02:30:57 +01:00
R0bbyYT
71ca9414e4 Makes the HologramEntity accessible and adds documentation. 2021-01-09 22:20:08 +01:00
themode
2cf9e55f7b Trim argument name 2021-01-09 06:53:55 +01:00
themode
85390662b7 Merge remote-tracking branch 'origin/master' 2021-01-09 03:42:14 +01:00
themode
4a0302892e Added static parser for ArgumentEntity 2021-01-09 03:40:53 +01:00