Commit Graph

2056 Commits

Author SHA1 Message Date
Matt Worzala e4a966e7af remove cube batch command 2021-03-05 19:39:43 -05:00
Matt Worzala 7166525b8c send individual section updates when less than half of the sections are updated. 2021-03-05 19:39:43 -05:00
Matt Worzala d0163ae749 send individual section updates when less than half of the sections are updated. 2021-03-05 19:39:42 -05:00
Matt Worzala 5bedee2795 Revert "Start of rotation, chunkbatch is fine, relative batch is not."
This reverts commit b48cce1d
2021-03-05 19:39:42 -05:00
Matt Worzala e1e2772f4d Start of rotation, chunkbatch is fine, relative batch is not. 2021-03-05 19:39:42 -05:00
Matt Worzala 0f080b9dc8 javadocs 2021-03-05 19:39:42 -05:00
Matt Worzala 5a9e393ae2 bring back BatchOption, batch inversion start 2021-03-05 19:39:42 -05:00
themode d5a53641ba Oops, firstEntry is now properly used 2021-03-05 19:39:42 -05:00
themode eed97fd472 Small style cleanup 2021-03-05 19:39:42 -05:00
themode ba32acbd04 Do not force the use of InstanceContainer 2021-03-05 19:39:42 -05:00
themode 66a5829c3e Implement offset for RelativeBlockBatch + optimization 2021-03-05 19:39:42 -05:00
Matt Worzala 8531d3958d Temp RelativeBlockBatch implementation 2021-03-05 19:39:42 -05:00
Matt Worzala 73249deb5a Add ChunkGenerationBatch, replace batches with 'v2' ones, remove batch creation methods in Instance 2021-03-05 19:39:42 -05:00
themode 6bd09256f3 Small cleanup and reduce memory usage with AbsoluteBlockBatch 2021-03-05 19:39:40 -05:00
Matt Worzala c35b8887e8 Style changes & use computeIfAbsent instead of a null check/put 2021-03-05 19:39:40 -05:00
Matt Worzala ccaf96b434 Start 'v2' batches with relative chunkbatch and absolute blockbatch 2021-03-05 19:39:40 -05:00
Matt Worzala 27aec6b48e Change BlockBatch to use ChunkBatch instead of its own internal representation 2021-03-05 19:39:39 -05: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