Commit Graph

1764 Commits

Author SHA1 Message Date
Articdive 4ea0eb1912
Update Gradle & Kotlin version 2021-01-23 09:32:18 +01:00
themode bf692d8043 Clone the teleport position to prevent object sharing 2021-01-23 08:42:49 +01:00
themode 36933fe4b3 Ensure synchronization of the location field 2021-01-23 08:23:24 +01:00
themode 7de0067a13 Small utility methods for EntityRotationPacket 2021-01-22 21:28:33 +01:00
TheMode 5eb5f32095
Merge pull request #110 from MrBretze/patch-1
Added withProperties in BlockAlternative.java
2021-01-21 17:22:59 +01:00
MrBretzel 840eb1a27e
Update BlockAlternative.java 2021-01-21 17:21:36 +01:00
themode 4bb27c305f Cleanup & remove unnecessary calls in PlayerDiggingListener 2021-01-21 16:53:20 +01:00
themode 7a4f3672de Send creeper metadata on spawn 2021-01-21 12:33:04 +01:00
themode b5a01d6571 Add indicator in the console to display command support 2021-01-21 11:37:54 +01:00
TheMode 1cd3228c06
Merge pull request #109 from DerTyan/exception-handling
Added ExceptionManager for custom exception handling
2021-01-21 06:06:27 +01:00
MrBretzel 18ce3625c7
Added withProperties in BlockAlternative.java
Example: 

blockAlternative.withProperties("facing");

Return the facing of the block a empty string
2021-01-20 20:22:54 +01:00
Tyan 855c8af455 Added ExceptionManager for custom exception handling 2021-01-20 11:43:45 +01:00
themode d83abcef85 Fix inventory click on size non-divisible by 9 2021-01-20 08:18:00 +01:00
themode 023431e32a Use ordinal as the id in InventoryType 2021-01-20 05:35:41 +01:00
KrystilizeNevaDies feb1d8f0e9
missing comma 2021-01-20 13:31:45 +10:00
KrystilizeNevaDies b08a75fc03
Add SMITHING to InventoryType 2021-01-20 13:31:01 +10:00
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