Commit Graph

657 Commits

Author SHA1 Message Date
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
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
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