Konstantin Shandurenko
|
3f184aad41
|
Path update cooldown for attacking entity goals
|
2021-04-04 02:56:02 +03:00 |
|
Lukas Mansour
|
e94aa522b7
|
Merge branch 'master' into authlib-removal
|
2021-04-03 11:55:42 +02:00 |
|
themode
|
d3fb364a7a
|
Better use of ItemStack#of
|
2021-04-02 23:41:06 +02:00 |
|
themode
|
a128d30b6b
|
WIP Item rework implementation
|
2021-04-02 18:13:02 +02:00 |
|
themode
|
d332855bc4
|
Renamed CooldownUtils to Cooldown
|
2021-03-31 19:17:37 +02:00 |
|
jglrxavpok
|
07ab4ac090
|
Most client packets are writtable, same for server packets and readability
|
2021-03-30 19:46:20 +02:00 |
|
jglrxavpok
|
43957805fd
|
Handshake and login packets, even more readable server packets
|
2021-03-30 19:42:40 +02:00 |
|
themode
|
3d2d3868a3
|
Use a ConcurrentHashMap to store viewable chunks
|
2021-03-30 01:50:36 +02:00 |
|
themode
|
0326bd1445
|
Increase the default chunk range
|
2021-03-29 11:01:32 +02:00 |
|
Kieran Wallbanks
|
d086d16fa1
|
Use EntitySoundEffectPacket in no location playSound method, fixes #194
|
2021-03-27 13:59:08 +00:00 |
|
themode
|
66ab1bb53d
|
Prevent Check#notNull from concatenating strings unnecessarily
|
2021-03-26 22:23:41 +01:00 |
|
themode
|
705f419f9d
|
Rename some internal-only methods
|
2021-03-26 21:31:57 +01:00 |
|
themode
|
55626738e2
|
Style cleanup
|
2021-03-26 21:26:35 +01:00 |
|
Kieran Wallbanks
|
b9e35d1cc7
|
Make Audiences static
|
2021-03-26 19:28:07 +00:00 |
|
Kieran Wallbanks
|
3628c42ef2
|
Rework boss bar system
|
2021-03-26 17:34:39 +00:00 |
|
Kieran Wallbanks
|
aa2d1f6397
|
Rename serializer and make static static
|
2021-03-26 17:34:39 +00:00 |
|
Kieran Wallbanks
|
bbfe83eeea
|
Use Audiences class instead of ConnectionManager
|
2021-03-26 17:34:39 +00:00 |
|
Kieran Wallbanks
|
658d07e8e4
|
Fix clearTitle
|
2021-03-26 17:34:39 +00:00 |
|
Kieran Wallbanks
|
4a0103a795
|
Move sound packet creation into AdventurePacketConvertor
|
2021-03-26 17:34:39 +00:00 |
|
Kieran Wallbanks
|
cfba291522
|
Make Player use SoundCategory#asSource
|
2021-03-26 17:34:39 +00:00 |
|
Kieran Wallbanks
|
03f092fa54
|
Rename Sound enum to SoundEvent
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
63aaee698e
|
Rebase to master and fix complication issues
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
96826e03d1
|
Cache player Identity
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
1cc7867f9b
|
Exclude more checker-qual
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
931d790702
|
Make player implement Identified
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
52ce8027f2
|
Simplify component translation
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
6dd3eb8044
|
Implement HoverSource for ItemStack, Entity and Player
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
aea8a5f794
|
fix compilation issues
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
327558c003
|
begin bringing packets back to use components
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
35e057a638
|
prefer minestom enums over raw packet values
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
c25dbaa936
|
swap utils to registry
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
abae740cbc
|
fix javadocs
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
3b0aa2d63b
|
Deprecate legacy chat functions
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
522367dd78
|
Begin removing deprecated usages
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
7351b9fdd3
|
Implement global translation system
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
316ecbbf5a
|
Cleanup annotations and imports
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
2c2f1b6cee
|
Implement playSound and openBook methods
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
653859e784
|
Add SerializationManager
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
f9ab109eb0
|
Fix player title overrides
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
aff04c0e0d
|
Add boss bar implementations
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
4f0944ba9f
|
Initial adventure implementation
- deprecate old text classes
- make CommandSender and Audience
- implement in ConsoleSender
- partially implement in Player
|
2021-03-26 17:34:38 +00:00 |
|
themode
|
6db1c34c50
|
Remove mention of deprecated class
|
2021-03-26 11:25:03 +01:00 |
|
themode
|
71f2e885a4
|
Remove unused field
|
2021-03-26 11:24:09 +01:00 |
|
TheMode
|
1b162c1139
|
Merge pull request #184 from kezz/viewable-defaults
Simplify Viewable packet sending
|
2021-03-26 09:23:42 +01:00 |
|
themode
|
c92a7873db
|
Only send velocity packet in #addViewer if required
|
2021-03-26 09:04:28 +01:00 |
|
themode
|
c6c720e0c7
|
Use concurrent map instead of copyonwrite set for player's viewable entities
|
2021-03-26 08:49:27 +01:00 |
|
themode
|
eb4a6baf8e
|
Use a thread safe Set for EntityCreature ai groups
|
2021-03-25 21:36:18 +01:00 |
|
Kieran Wallbanks
|
845f41b88a
|
Remove cast and instanceof check from Viewable#sendPacketToViewersAndSelf
|
2021-03-25 17:07:05 +00:00 |
|
themode
|
7cd2d1b896
|
Do not fill attributes by default
|
2021-03-22 15:20:24 +01:00 |
|
themode
|
169dbedea2
|
Fix entity head position, improve performance for Player#addViewer0
|
2021-03-22 14:54:52 +01:00 |
|
themode
|
b6d8dd9f73
|
Style cleanup + increase food saturation limit to 20
|
2021-03-21 19:47:22 +01:00 |
|
themode
|
9893bb72c8
|
don't send a close inventory packet when opening a new one
|
2021-03-21 13:38:25 +01:00 |
|
Eoghanmc22
|
8975161edb
|
use a ConcurrentHashMap key set instead of a CopyOnWriteArraySet for viewers so .contains() is O(1)
|
2021-03-19 22:50:28 -04:00 |
|
themode
|
c960bb297b
|
Remove unnecessary condition, prevent double chunk refresh
|
2021-03-16 05:16:11 +01:00 |
|
themode
|
8b0ab3d8c3
|
Fix lag spikes when loading the same chunks multiple times
|
2021-03-16 00:52:35 +01:00 |
|
themode
|
ae922529ea
|
Increase default chunk range to 3
|
2021-03-15 20:33:08 +01:00 |
|
themode
|
509f8f7851
|
Fix player not being directly disconnected after a kick
|
2021-03-14 21:34:38 +01:00 |
|
themode
|
4f2ec0a65f
|
Fix chunk coordinates not being properly calculated
|
2021-03-13 23:04:15 +01:00 |
|
themode
|
42318478a2
|
Changed metadata related classes access to public
|
2021-03-12 21:35:00 +01:00 |
|
themode
|
d6683932c8
|
Added PickupItemEvent#getItemEntity
|
2021-03-12 20:59:47 +01:00 |
|
themode
|
d91fcde798
|
Fix properties & equipments changes not being properly sent to viewers & self
|
2021-03-12 01:38:52 +01:00 |
|
themode
|
3ecace5bd6
|
Introduce the Tickable interface
|
2021-03-11 20:54:30 +01:00 |
|
themode
|
b155f3bca3
|
Deprecate Attributes, constants in Attribute should be used instead
|
2021-03-09 20:51:11 +01:00 |
|
themode
|
51facb9f14
|
Prevent modified clients from messing with the chunk range
|
2021-03-09 17:21:43 +01:00 |
|
themode
|
6a0582a950
|
Do not send all chunks on logging, wait for the settings packet instead
|
2021-03-09 07:08:35 +01:00 |
|
themode
|
a25e414754
|
Fix players being stuck on first connection when no respawn point is defined
|
2021-03-08 17:12:21 +01:00 |
|
themode
|
8ab29368a6
|
Fixed players being able to move during teleport
|
2021-03-08 16:49:16 +01:00 |
|
themode
|
2e17c8a8e1
|
Fix inventory not appearing after changing dimension
|
2021-03-07 23:18:32 +01:00 |
|
themode
|
b8e987f556
|
Fix player getting stuck after changing dimension
|
2021-03-07 22:22:04 +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
|
74d902b2a2
|
Remove player synchronization group, a better alternative will come up
|
2021-03-06 14:31:44 +01:00 |
|
Konstantin Shandurenko
|
51c627491a
|
Fixing projectiles gravity
|
2021-03-06 11:24:31 +03:00 |
|
Articdive
|
dbfb3f7ff4
|
Remove commons-codec dependency
|
2021-03-05 21:03:23 +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
|
7c505ecc17
|
Do not deprecate Entity#setInstance
|
2021-03-04 16:43:10 +01:00 |
|
themode
|
25c2dc661f
|
Fix position yaw/pitch not being copied
|
2021-03-02 19:36:11 +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 |
|
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
|
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 |
|
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 |
|
Konstantin Shandurenko
|
20f581cc11
|
Merged with master
|
2021-02-26 06:58:12 +03:00 |
|
themode
|
e8e8022ec6
|
Fix pathfinding + cleanup
|
2021-02-25 15:48:48 +01:00 |
|
themode
|
7da3a16978
|
Fix connection loop
|
2021-02-25 15:35:31 +01:00 |
|
TheMode
|
77ed13abd9
|
Merge pull request #152 from RinesThaix/entities
EntityMeta
|
2021-02-25 15:30:35 +01:00 |
|
Konstantin Shandurenko
|
6192d1fead
|
removed duplicating code piece
|
2021-02-25 14:40:14 +03:00 |
|
Konstantin Shandurenko
|
23ee4c7fdf
|
Deprecated Entity constructors accepting spawnPosition and introduces Entity#setInstance(Instance, Position)
|
2021-02-25 13:56:10 +03:00 |
|
Konstantin Shandurenko
|
3c5b76c0a8
|
Tiny improvement for Entity#switchEntityType
|
2021-02-25 13:39:22 +03:00 |
|
Konstantin Shandurenko
|
e13bca1fdd
|
default scope to EAST case in EntitySpawnType.PAINTING
|
2021-02-25 13:37:40 +03:00 |
|
Konstantin Shandurenko
|
046ebc03f6
|
AbstractProjectile now extends Entity and not ObjectEntity
|
2021-02-25 13:07:55 +03:00 |
|
Konstantin Shandurenko
|
8ca43c4caa
|
Entity is not abstract anymore
|
2021-02-25 13:00:02 +03:00 |
|
Konstantin Shandurenko
|
8a57918fe9
|
LivingEntity is not abstract anymore
|
2021-02-25 11:39:37 +03:00 |
|
Konstantin Shandurenko
|
83c5d3c95f
|
Marked Entity#getEntityType as NotNull
|
2021-02-25 10:38:53 +03:00 |
|
Konstantin Shandurenko
|
18da3e0168
|
Moved switchEntityType from EntityCreature to Entity
|
2021-02-25 10:37:02 +03:00 |
|
Konstantin Shandurenko
|
ca6546eb7d
|
Removed obsolete metadata type values inside Entity
|
2021-02-25 10:00:29 +03:00 |
|
Konstantin Shandurenko
|
1308f81678
|
Switched all direct spawn packets interactions to EntityType#getSpawnType#getSpawnPacket
|
2021-02-25 09:15:51 +03:00 |
|
Konstantin Shandurenko
|
7db7dab4b9
|
EntitySpawnType initial commit
|
2021-02-25 08:59:55 +03:00 |
|
Konstantin Shandurenko
|
1115b829a1
|
EntityAIGroupBuilder
|
2021-02-24 13:38:42 +03:00 |
|
Konstantin Shandurenko
|
f8634171f7
|
Metadata#setNotifyAboutChanges
|
2021-02-24 13:28:23 +03:00 |
|
Konstantin Shandurenko
|
3f941d51bb
|
Fixed initial BoundingBox of Pufferfish
|
2021-02-23 20:04:30 +03:00 |
|
Konstantin Shandurenko
|
405390640b
|
Switched LivingEntity's explicit usage of metadata to LivingEntityMeta
|
2021-02-23 19:57:45 +03:00 |
|
Konstantin Shandurenko
|
60fcd43f18
|
Removed ParticleWrapper
|
2021-02-23 19:30:26 +03:00 |
|
Konstantin Shandurenko
|
c9f7ee5546
|
Renamed ParticleType back to Particle
|
2021-02-23 19:29:21 +03:00 |
|
Konstantin Shandurenko
|
6e950ab170
|
BaseEntityMeta is now an EntityMeta
|
2021-02-23 19:18:53 +03:00 |
|
Konstantin Shandurenko
|
692dcfed4c
|
Setting default entity BoundingBox from EntityType data
|
2021-02-23 18:41:24 +03:00 |
|
Konstantin Shandurenko
|
bbe143520e
|
A bit more changes to EntityMeta
|
2021-02-23 18:37:00 +03:00 |
|
Konstantin Shandurenko
|
eb274ce95e
|
Added default meta constructor to EntityTypes
|
2021-02-23 18:07:57 +03:00 |
|
themode
|
2843da6b26
|
Small comment cleanup
|
2021-02-23 15:11:21 +01:00 |
|
TheMode
|
ebed118ee2
|
Merge pull request #139 from LeoDog896/sound
Add Position PlaySound methods
|
2021-02-23 15:08:43 +01:00 |
|
Konstantin Shandurenko
|
237466c90e
|
Removed new entity classes and marked previously existing ones as deprecated
|
2021-02-23 16:10:14 +03:00 |
|
LeoDog896
|
f7fc7240f6
|
Reduce boilerplate in convience methods
|
2021-02-23 07:53:10 -05:00 |
|
Konstantin Shandurenko
|
0915858df3
|
Meta wrappers for all the entities
|
2021-02-23 15:11:10 +03:00 |
|
Konstantin Shandurenko
|
6eda8f97db
|
Removed @author javadocs
|
2021-02-23 09:14:38 +03:00 |
|
Konstantin Shandurenko
|
cfc5f860e9
|
Fishes
|
2021-02-23 08:47:09 +03:00 |
|
Konstantin Shandurenko
|
07be9d449b
|
Much more entities
|
2021-02-23 08:25:35 +03:00 |
|
Konstantin Shandurenko
|
ca3d36ac0c
|
Villagers and Ageable
|
2021-02-23 07:11:54 +03:00 |
|
Konstantin Shandurenko
|
2a55ed654d
|
Zombies
|
2021-02-23 06:45:04 +03:00 |
|
Konstantin Shandurenko
|
7a7c63afc2
|
Horses
|
2021-02-23 06:38:54 +03:00 |
|
Konstantin Shandurenko
|
3bba4ea704
|
New Entity AI
|
2021-02-23 02:28:24 +03:00 |
|
TheMode
|
7bd9283e17
|
Merge pull request #148 from RinesThaix/goals
Switched TargetSelectors result caching from EntityCreature field to local one in GoalSelectors
|
2021-02-22 15:15:18 +01:00 |
|
Konstantin Shandurenko
|
fbddffec32
|
Switched TargetSelectors result caching from EntityCreature field to local one in GoalSelectors
|
2021-02-22 17:08:15 +03:00 |
|
TheMode
|
20a23a4ebc
|
Merge pull request #147 from RinesThaix/goals
AbstractProjectile and arrows now call EntityAttackEvent, without damaging entities
|
2021-02-22 14:46:20 +01:00 |
|
Konstantin Shandurenko
|
1053cb33b1
|
Tiny comment for Projectile#getShooter
|
2021-02-22 16:42:52 +03:00 |
|
Konstantin Shandurenko
|
bcdd1bb70a
|
AbstractProjectile and arrows now call EntityAttackEvent, without damaging entities
|
2021-02-22 16:41:39 +03:00 |
|
TheMode
|
71f1e51df3
|
Merge pull request #146 from RinesThaix/goals
Arrows and RangedAttackGoal
|
2021-02-22 13:58:43 +01:00 |
|
Konstantin Shandurenko
|
dbd0e472c2
|
Added power param for projectiles shooting
|
2021-02-22 15:54:35 +03:00 |
|
Konstantin Shandurenko
|
504e8cafb4
|
Codestyle formatting and several comments
|
2021-02-22 15:33:03 +03:00 |
|
Konstantin Shandurenko
|
6e23552d9a
|
Not calculating entity collisions for arrows in first 3 ticks of its life
|
2021-02-22 14:58:26 +03:00 |
|
Konstantin Shandurenko
|
714e107eb3
|
Removed @author javadocs
|
2021-02-22 14:53:04 +03:00 |
|
Konstantin Shandurenko
|
b475a4cd78
|
Entity collisions for arrows
|
2021-02-22 14:51:17 +03:00 |
|
Konstantin Shandurenko
|
dbfebc50ec
|
Block collisions for arrows
|
2021-02-22 14:42:46 +03:00 |
|
Konstantin Shandurenko
|
3a251934ec
|
Projectiles shooting
|
2021-02-22 09:45:19 +03:00 |
|
Konstantin Shandurenko
|
3d14b614ce
|
EntityArrow and EntitySpectralArrow
|
2021-02-22 09:05:54 +03:00 |
|
Konstantin Shandurenko
|
3c8824c7b0
|
RangedAttackGoal implementation initial commit
|
2021-02-22 08:46:37 +03:00 |
|
themode
|
77148338b9
|
Added Entity#clearEffects
|
2021-02-22 06:00:49 +01:00 |
|
Konstantin Shandurenko
|
54da48fd3e
|
Caching entity target found by goal selectors
|
2021-02-22 07:33:11 +03:00 |
|
themode
|
200b244224
|
Fix JSON string not being displayable using ColoredText, remove unnecessary fields in PlayerListHeaderAndFooterPacket
|
2021-02-21 16:49:25 +01:00 |
|
themode
|
721f9abc08
|
FakePlayer now implements NavigableEntity
|
2021-02-20 09:15:08 +01:00 |
|
LeoDog896
|
4daa55d27e
|
Add Position playsound methods
|
2021-02-19 18:43:35 -05:00 |
|
themode
|
06abbcb7fb
|
Fix chunks being sent 2 times on first spawn
|
2021-02-19 13:52:27 +01:00 |
|
themode
|
1af8ea5303
|
Added comment about broken bedrock client skin using Geyser
|
2021-02-06 03:51:17 +01:00 |
|
jglrxavpok
|
8a992b3e45
|
New constructor to give UUID as argument in LivingEntity, now used to specify player UUID
|
2021-02-05 14:32:28 +01:00 |
|
jglrxavpok
|
eadd4a2b39
|
Automatically unload GlobalEventHandler callbacks
|
2021-02-03 17:11:06 +01:00 |
|