Commit Graph

441 Commits

Author SHA1 Message Date
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
Felix Cravic a63693b82b It is now possible to extends InstanceContainer/SharedInstance to make your own 2020-05-17 03:15:47 +02:00
Felix Cravic ab71133b55 Fixed error relating to unloaded chunk in Entity#update 2020-05-17 01:42:07 +02:00
Felix Cravic b97b75f13c Added a lot of comments 2020-05-15 18:03:28 +02:00
Felix Cravic aeeb9f08a4 Added EntityVelocityEvent + minor refactoring 2020-05-14 18:57:44 +02:00
Felix Cravic 37add239f8 Custom food animation delay + PlayerEatEvent 2020-05-12 14:12:17 +02:00
Felix Cravic 889e9c5e2b ItemEntity can now be merged/stacked together 2020-05-09 21:50:48 +02:00
Felix Cravic f7badc021b WIP entities in unloaded chunk + PlayerChunkLoadEvent 2020-05-09 18:24:14 +02:00
Felix Cravic 3741b22484 Added EventHandler interface 2020-05-08 06:54:33 +02:00
jglrxavpok 0daae4d831 EntityTickEvent and tick counter in Entity 2020-05-07 16:00:52 +02:00
jglrxavpok 9d9c158af0 Added event callbacks to Instance, and organized events into packages 2020-05-07 15:46:21 +02:00
Felix Cravic 59214b3b96 All LivingEntity can now have equipments + cleanup 2020-05-06 22:35:32 +02:00
Felix Cravic 5de6888b59 Added EntityFireEvent and EntitySpawnEvent 2020-05-05 21:04:05 +02:00
jglrxavpok 365c3edbdf Custom block contact behaviour + fix breaking of 0 hardness blocks not removing the block in survival, fixed players in survival not taking damage. 2020-05-05 15:55:21 +02:00
jglrxavpok c79d4c7874 Rewrote physics once again. This time going through walls should be more difficult 2020-05-03 15:54:12 +02:00
jglrxavpok 1aefbca70a Entity Physics are behaving a bit better
Still possible to go through walls though
2020-05-02 23:34:09 +02:00
jglrxavpok d96bf48eb2 Remove custom block when breaking it
Use Math.floor() to correct coordinates
2020-05-01 23:05:47 +02:00
Felix Cravic 48c4941813 We can now have multiple listeners 2020-04-28 01:20:11 +02:00
jglrxavpok 6b77627d60 Implemented damage types and void below world 2020-04-27 20:33:08 +02:00
Felix Cravic 7daac5e610 Package rename to net.minestom.server 2020-04-24 03:25:58 +02:00