Commit Graph

2049 Commits

Author SHA1 Message Date
themode 435e3ea363 WIP CommandExecutionOption, missing the ignoreMessage option 2021-03-07 19:42:02 +01:00
themode c20cf38399 Merge remote-tracking branch 'origin/master' 2021-03-07 16:09:41 +01:00
themode 0442cb0067 autoChunkLoad for InstanceContainer should be enabled by default 2021-03-07 16:09:28 +01:00
TheMode 9ea34fb668
Merge pull request #162 from RinesThaix/projectilesGravity
Fixing projectiles gravity
2021-03-07 15:09:47 +01:00
Konstantin Shandurenko b9ec78b313 Removed explicit bounding box setup in EntityProjectile 2021-03-07 13:35:21 +03:00
themode 3b918a9382 Increase cache from 10s to 30s for the chunk & light packet 2021-03-06 21:17:16 +01:00
themode 74d902b2a2 Remove player synchronization group, a better alternative will come up 2021-03-06 14:31:44 +01:00
themode 3726998fe4 Update Hephaistos 2021-03-06 14:05:22 +01:00
Konstantin Shandurenko 51c627491a Fixing projectiles gravity 2021-03-06 11:24:31 +03:00
themode 05cf235984 Update Hydrazine 2021-03-06 01:51:38 +01:00
themode 999a815eba Use ThreadLocal for deflater instead of dirty hack 2021-03-05 23:57:28 +01:00
themode 469a4a32f7 Cache values from the mojang api 2021-03-05 23:03:18 +01:00
themode c253a27260 Added copy to clipboard message click event 2021-03-05 14:30:50 +01:00
themode 55179082e9 Remove final methods 2021-03-04 23:06:29 +01:00
TheMode 061dabbe4c
Merge pull request #160 from LeoDog896/relative-cleanup
Prefer position over entity
2021-03-04 19:00:37 +01:00
LeoDog896 b20de605e1 Add default method and fix tests 2021-03-04 11:57:58 -05:00
LeoDog896 e3c47e60ba Fix RelativeVector from test 2021-03-04 11:55:14 -05:00
LeoDog896 283469e025 Prefer position over entity 2021-03-04 11:54:29 -05:00
themode 7c505ecc17 Do not deprecate Entity#setInstance 2021-03-04 16:43:10 +01:00
themode 368faa72b9 Re-fix cached packets 2021-03-04 15:55:04 +01:00
themode 93bd039938 Fix EntityFinder performance when searching for a constant name or uuid 2021-03-04 13:54:46 +01:00
themode f7ec45802f Added ArgumentComponent 2021-03-03 22:52:40 +01:00
themode 5ffd44449d fix custom block state id being ignored in PlayerBlockPlaceEvent 2021-03-02 23:37:46 +01:00
themode bde027432a Small code cleanup for packet caching 2021-03-02 20:42:36 +01:00
themode 25c2dc661f Fix position yaw/pitch not being copied 2021-03-02 19:36:11 +01:00
themode a927938677 Fix cached packets being outdated 2021-03-02 19:14:52 +01:00
TheMode 85998cabd9
Merge pull request #154 from Kebab11noel/master
Added CanPlaceOn and CanDestroy for ItemStacks
2021-03-02 18:30:23 +01:00
TheMode 29a8542d3e
Merge pull request #129 from Minestom/improve-extension-system
Improve extension system
2021-03-02 18:22:21 +01:00
TheMode 3971777e56
Merge pull request #155 from RinesThaix/entities
Projectile improvements, custom entity position synchronization cooldown support
2021-03-02 13:38:50 +01:00
TheMode 1477a9bd41
Merge pull request #151 from RinesThaix/ai
New Entity AI
2021-03-02 13:35:54 +01:00
Konstantin Shandurenko 4be54651c6 Added javadoc for GoalSelectorsArrayList 2021-03-02 15:15:39 +03:00
Konstantin Shandurenko 0e027bc62f Comments for CombinedAttackGoal 2021-03-02 14:58:32 +03:00
Konstantin Shandurenko 818299db74 CombinedAttackGoal 2021-03-01 19:47:29 +03:00
Konstantin Shandurenko e1e546d9fa EntityAIGroup typo fix 2021-03-01 16:52:19 +03:00
Konstantin Shandurenko 412de5de20 Merge branch 'master' into ai 2021-03-01 16:17:24 +03:00
Konstantin Shandurenko 1ae2cf78af Added support of custom entity position synchronization cooldown 2021-03-01 13:09:08 +03:00
Konstantin Shandurenko de15c4b6c5 Rewriting projectiles 2021-03-01 12:59:16 +03:00
Németh Noel 2f725becf2 canPlaceOn and canDestroy getters no longer return an unmodifiable list, methods for additions and removals are therefore removed 2021-02-28 22:39:38 +01:00
Németh Noel bcfaf71c7c Added checks for canPlaceOn and canDestroy sets in #isSimilar, changed emptiness check to Collection#isEmpty from != 0 in #hasNbtTag 2021-02-28 21:01:23 +01:00
Németh Noel 10ece83d75 Cleaned up imports and removed unnecessary .toString() calls 2021-02-28 20:35:10 +01:00
Németh Noel 7abf6ba9e7 Added CanPlaceOn and CanDestroy properties for ItemStacks and implemented checks for them 2021-02-28 19:37:31 +01:00
Konstantin Shandurenko 2b6a081c0d Now devs have to explicitly instantiate EntityAIGroupBuilder 2021-02-28 20:07:34 +03:00
Konstantin Shandurenko 57e2bdb5d6 Slightly rewritten EntityAIGroupBuilder 2021-02-27 17:57:30 +03:00
themode 419ebe7553 Use soft references for cached packet instead of weak 2021-02-26 12:48:53 +01:00
Konstantin Shandurenko 20f581cc11 Merged with master 2021-02-26 06:58:12 +03:00
TheMode d3bea57ddc Packet caching cleanup
Signed-off-by: TheMode <themode@outlook.fr>
2021-02-25 20:14:13 +01:00
themode 882720c822 Added RawJsonMessage constructor taking a json object as a string to reduce boilerplate code 2021-02-25 19:01:29 +01:00
themode e8e8022ec6 Fix pathfinding + cleanup 2021-02-25 15:48:48 +01:00
themode a0d5ac12bc Small literal argument cleanup 2021-02-25 15:38:59 +01:00
themode 7da3a16978 Fix connection loop 2021-02-25 15:35:31 +01:00