Commit Graph

3482 Commits

Author SHA1 Message Date
Felix Cravic
ee90f82969 Prevent memory leak when unloading chunks 2020-05-15 15:38:06 +02:00
Felix Cravic
4a287f82a6 Fixed ArmorEquipEvent calling 2020-05-14 18:59:01 +02:00
Felix Cravic
aeeb9f08a4 Added EntityVelocityEvent + minor refactoring 2020-05-14 18:57:44 +02:00
jglrxavpok
da0df5afe3 Fixed explosion packet 2020-05-14 16:56:44 +02:00
jglrxavpok
583077d556 Send explosion packet 2020-05-14 16:19:04 +02:00
jglrxavpok
1bcc0c9f5b Replace explosion blocks with air 2020-05-14 15:49:14 +02:00
jglrxavpok
6f281eef3b Shortcut to access held items 2020-05-14 15:46:29 +02:00
jglrxavpok
041f9ffb4d Instances can now create explosions 2020-05-14 15:33:36 +02:00
Felix Cravic
498384d2f4 Added permission level + option for a reduced debug screen 2020-05-13 18:43:54 +02:00
Felix Cravic
be0311a874 Added PlayerPreEatEvent for more customisation, separate the default eating time and the individual ones. Also a InventoryOpenEvent#setInventory to change the inventory to open 2020-05-12 18:40:04 +02:00
Felix Cravic
a1b427bf83 Added InventoryOpenEvent 2020-05-12 17:12:11 +02:00
Felix Cravic
4fa1d08fa5 End properly eat animation 2020-05-12 14:19:45 +02:00
Felix Cravic
37add239f8 Custom food animation delay + PlayerEatEvent 2020-05-12 14:12:17 +02:00
Felix Cravic
f5d4cba29d Making the ResponseDataConsumer optional 2020-05-10 19:39:25 +02:00
TheMode
2e548797c3
Merge pull request #6 from Articdive/logging
Added SLF4J and Log4J2 as the logging platform.
2020-05-10 17:02:19 +02:00
Lukas Mansour (Articdive)
df253238fc Added SLF4J and Log4J2 as logging platform. 2020-05-10 16:02:49 +02:00
Felix Cravic
de8ec680fb Added ItemEntity#isMergeable 2020-05-10 00:09:55 +02:00
Felix Cravic
889e9c5e2b ItemEntity can now be merged/stacked together 2020-05-09 21:50:48 +02:00
Felix Cravic
17856c36cf Fixed crash at player disconnection 2020-05-09 20:00:59 +02:00
Felix Cravic
f7badc021b WIP entities in unloaded chunk + PlayerChunkLoadEvent 2020-05-09 18:24:14 +02:00
Felix Cravic
39f0053ded Added PlayerChunkUnloadEvent 2020-05-09 04:05:57 +02:00
jglrxavpok
59c5bbdfe5 Send chunks to player when changing instance 2020-05-08 21:49:04 +02:00
Felix Cravic
a0a72cb6c7 WIP chunk biomes 2020-05-08 20:50:05 +02:00
jglrxavpok
5dd08cf19b Send different teleportIds for each packet 2020-05-08 18:42:04 +02:00
Felix Cravic
1d930ec021 Fixed event callbacks multiplication in PlayerSpawnEvent 2020-05-08 18:11:06 +02:00
jglrxavpok
8281f1c0fd Added isFirstSpawn() to PlayerSpawnEvent 2020-05-08 18:03:39 +02:00
jglrxavpok
9c5c6d9161 Fixed player not changing dimension properly 2020-05-08 17:46:29 +02:00
Felix Cravic
1bca86eb5d Direct return for StorageFolder#get and we can now store registered DataType type directly 2020-05-08 16:15:08 +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
f6803f9c24 Fix ArmorEquipEvent for EntityCreature 2020-05-06 22:42:04 +02:00
Felix Cravic
59214b3b96 All LivingEntity can now have equipments + cleanup 2020-05-06 22:35:32 +02:00
Felix Cravic
201df39685 Allow for folder specific StorageSystem + added documentation 2020-05-05 23:46:36 +02:00
Felix Cravic
305bc78123 Added multiple kinds of instance update (per instance, per chunk, single-threaded) 2020-05-05 23:27:24 +02:00
TheMode
ca7e220543
Merge pull request #5 from Draycia/master
Replace minecraft-text with kyori-text
2020-05-05 21:06:44 +02:00
Felix Cravic
5de6888b59 Added EntityFireEvent and EntitySpawnEvent 2020-05-05 21:04:05 +02:00
jglrxavpok
0627d8d368 Reset fire state + remove now useless debug log 2020-05-05 18:40:58 +02:00
jglrxavpok
4f355f2a06 Forgot to apply fire damage and added sounds to damages 2020-05-05 18:30:19 +02:00
jglrxavpok
ca3295cc16 Fire duration for living entities 2020-05-05 17:59:57 +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
Josh (Vicarious)
2962e237b1
Remove shadowJar 2020-05-04 21:29:38 -07:00
Felix Cravic
486cf989a1 Added primitives & string array data type 2020-05-04 21:53:15 +02:00
jglrxavpok
8b41c7550b Do not crash with a stack overflow when trying to change the block at 'blockPosition' in CustomBlock 2020-05-04 21:06:13 +02:00
Felix Cravic
cad5dfb8eb Added StorageFolder#getAndCloneData 2020-05-04 19:35:52 +02:00
Felix Cravic
7881e3ca76 Some comments and check added for synchronization purpose 2020-05-04 19:09:34 +02:00
Draycia
0fa05d5e6f Remove unused import in DisconnectPacket 2020-05-04 09:32:23 -07:00
Draycia
660cb7584a Add component support to actionbars and titles 2020-05-04 09:32:14 -07:00
Felix Cravic
14ef482f42 Added StorageFolder + fixes 2020-05-04 18:18:50 +02:00
Felix Cravic
57ad3397d1 Merge remote-tracking branch 'origin/master' 2020-05-04 18:15:51 +02:00