Commit Graph

69 Commits

Author SHA1 Message Date
Eoghanmc22
a7484f8644 Fix npes 2020-08-15 18:01:10 -04:00
Eoghanmc22
1798b50092 Merge branch 'master' of https://github.com/Minestom/Minestom
 Conflicts:
	src/main/java/net/minestom/server/MinecraftServer.java
	src/main/java/net/minestom/server/instance/MinestomBasicChunkLoader.java
2020-08-15 10:06:01 -04:00
Felix Cravic
92f914ef2d Cleanup 2020-08-15 13:32:36 +02:00
Eoghanmc22
cc01a48cf1 Minestom now properly adapts when a player changes their render distance, also fixed a bug that pointers to chunks that were unloaded were kept in the viewableChunks list until the player's instance was changed. 2020-08-13 17:54:55 -04:00
Felix Cravic
2b529e05d0 Fixed error with unloaded chunks 2020-08-13 20:43:45 +02:00
Felix Cravic
c2165abe1f Added ChunkUtils#isLoaded + optimization of the thread providers 2020-08-10 11:32:03 +02:00
Felix Cravic
1a6df8e035 Optimize entity events adding/removing 2020-08-09 17:15:02 +02:00
Felix Cravic
63ed21380c Fixed number arguments 2020-08-09 10:59:12 +02:00
Felix Cravic
7b5c6dfc44 Added LastEntityDamagerTarget & LivingEntity#getLastDamageType 2020-08-09 08:16:54 +02:00
Felix Cravic
08b4b8576e Added MeleeAttackGoal + fix velocity for players 2020-08-09 05:13:36 +02:00
Articdive
e44d5283b4
Create RandomLookAroundGoal 2020-08-08 10:20:36 +02:00
Felix Cravic
45fd0dc22a Comments 2020-08-07 09:14:50 +02:00
Felix Cravic
bf0dd4a750 Advancement API 2020-08-06 07:42:00 +02:00
Felix Cravic
1440aa8403 Added CustomBlock#getDrag 2020-08-06 04:54:02 +02:00
razorrider7
a09b217962 Update EntityType To use Namespaced IDs 2020-08-03 18:48:46 -04:00
jglrxavpok
49b4f0c79d Fixed non-smooth pathfinding by setting the velocity of the creature, therefore allowing the client to predict the position and smooth the path 2020-07-31 18:55:08 +02:00
Felix Cravic
4f788b9b8d Cleanup 2020-07-24 16:11:48 +02:00
Felix Cravic
df6c9e4953 More comments + cleanup 2020-07-22 17:39:48 +02:00
Felix Cravic
87ab850945 Comment + EntityFinder WIP 2020-07-11 14:16:36 +02:00
Eoghanmc22
061db7c8de Add some vanilla placement rules, add a scheduleNextTick method for instances and entities, make changes to BlockPlacementRule, make BlockFace its own class. 2020-06-28 17:11:40 -04:00
Felix Cravic
f892213e8c Added a new Chat API 2020-06-22 23:25:00 +02:00
Felix Cravic
72234ac706 Added PlayerPreLoginEvent 2020-06-21 22:11:56 +02:00
Felix Cravic
45e8ba2f03 Added EventHandler#removeEventCallback 2020-06-01 17:11:43 +02:00
Felix Cravic
7e20278dd9 Fix deadlock with ItemEntity + added ItemEntity#getMergeUpdateOption to mitigate CPU usage increase 2020-06-01 00:51:31 +02:00
Felix Cravic
30ef05183e Added more synchronization at death + added listener for teleport and window confirmation to remove warning 2020-05-31 00:39:56 +02:00
Felix Cravic
1c3099f61a Entity & Player comments 2020-05-29 23:17:14 +02:00
Felix Cravic
b0ccb91c31 More entity + added boundingboxes 2020-05-29 18:56:42 +02:00
Felix Cravic
eb5659c235 Optimize bandwidth + fix keep alive 2020-05-29 02:11:41 +02:00
Felix Cravic
7147250432 Fixed player digging vanilla blocks + comments 2020-05-27 23:26:45 +02:00
Felix Cravic
966bbfc0cc Synchronize properly the view from Entity#getPosition 2020-05-27 23:13:13 +02:00
Felix Cravic
d91b1e9966 WorldBorder keeps its diameter updated properly 2020-05-27 22:24:58 +02:00
Felix Cravic
af430ebc3f Entity#getPosition is now fully synchronized with the entity position 2020-05-27 22:06:22 +02:00
Felix Cravic
70be25bd1c Added EntityCreature#setView 2020-05-27 20:55:33 +02:00
Felix Cravic
f5f5a6bb4e Better world border collision check + WorldBorder#getCollisionAxis 2020-05-27 01:15:21 +02:00
Felix Cravic
ef261c1792 Added WorldBorder#isInside + physics now support world border 2020-05-27 01:04:39 +02:00
Felix Cravic
fc773044e8 Remove chunk unloaded check 2020-05-26 21:30:12 +02:00
Felix Cravic
fc751acb75 Added EntityArmorStand & Hologram 2020-05-26 00:07:35 +02:00
Felix Cravic
e8a2c54485 More FakePlayerController features + fix with chunks and player food bar 2020-05-25 13:46:48 +02:00
Felix Cravic
88db08001a Hacky fix for the player velocity 2020-05-25 11:01:38 +02:00
Felix Cravic
30053c507b WIP FakePlayer system 2020-05-25 02:37:57 +02:00
Felix Cravic
ae53cca19d Fixed velocity synchronization 2020-05-24 22:24:59 +02:00
Felix Cravic
e26ee1380a Fixed vehicles + added PlayerStartFlyingEvent & PlayerStopFlyingEvent 2020-05-24 22:21:38 +02:00
Felix Cravic
c73ec6f0d6 Fix ExperienceOrb#setExperienceCount with a proper updating client-side 2020-05-24 20:21:17 +02:00
Felix Cravic
b193c5f12a Lot of comments 2020-05-24 19:59:50 +02:00
Felix Cravic
c2d1a4f70a Fix synchronization issue with metadata + some comments 2020-05-24 19:22:58 +02:00
Felix Cravic
883e7eb80f Added Entity#isAutoViewable & making Viewable#addViewer and Viewable#removeViewer return boolean 2020-05-23 17:57:56 +02:00
Felix Cravic
a4b530c1dc WIP vehicle support 2020-05-23 14:04:53 +02:00
Felix Cravic
97bd1ecdb1 Cleanup 2020-05-23 04:20:01 +02:00
jglrxavpok
1ca561215c Send velocity packet when velocity is forced changed with Entity#setVelocity 2020-05-21 00:36:50 +02:00
jglrxavpok
da416866f6 Added entity eye height 2020-05-21 00:33:56 +02:00