Commit Graph

232 Commits

Author SHA1 Message Date
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
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
Felix Cravic
e866f79f10 Rewrite of the storage system (use of RocksDB by default) 2020-05-04 18:15:29 +02:00
Draycia
9308d5701d Add component support to Player#kick 2020-05-04 09:10:19 -07:00
Draycia
1c2620840f Add more component support to Player 2020-05-04 09:00:21 -07:00
Draycia
9e9e979104 Fix packets changed with text replacement 2020-05-04 01:01:12 -07:00
Draycia
5b97dde21f Merge remote-tracking branch 'upstream/master' 2020-05-03 23:55:44 -07:00
Draycia
6d45dc674d Fix item names and lore 2020-05-03 23:07:25 -07:00
jglrxavpok
edf2def4e4 hashCode and equals for BlockPosition 2020-05-04 00:09:40 +02:00
jglrxavpok
05acfdf59f New event for when an item is used on a block 2020-05-03 22:44:38 +02:00
jglrxavpok
c28b0364ba Hoping this un-breaks falling blocks 2020-05-03 16:19:41 +02:00
jglrxavpok
9779a77212 Non solid blocks should not count as solid 2020-05-03 16:15:35 +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
Draycia
4ba85b4ff3 Temporarily fix inventories 2020-05-03 06:26:46 -07:00
Draycia
1b5bf59c26 Fix death messages 2020-05-03 06:00:53 -07:00
Felix Cravic
df1653b0f6 Allow to have "separate block" serialized properly 2020-05-03 14:46:44 +02:00
Draycia
ad4193d934 Fix player sendMessage methods 2020-05-03 05:17:32 -07:00
Draycia
5437fa90cc Remove old Chat methods
Note: I'm 100% certain things will break because of theee changes. I'll fix things as I find them broken. 10/10 strategy.
2020-05-03 05:05:43 -07:00
Draycia
83bb14d5a0 Use kyori/text instead of minecraft-text 2020-05-03 04:59:53 -07:00
Felix Cravic
7fd8362d6c ChunkPopulator fix by clearing data list 2020-05-02 23:48:01 +02:00
Felix Cravic
e7c26ab45e Added ChunkPopulator 2020-05-02 23:45:10 +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
TheMode
69e7496fbb
Merge pull request #3 from Articdive/use-jnoise
Use JNoise instead of FastNoise
2020-05-02 23:18:43 +02:00
Lukas Mansour (Articdive)
9682246f4f Use JNoise instead of FastNoise 2020-05-02 23:16:41 +02:00
Felix Cravic
cd181929c6 Fix inventory click, proper separation between Inventory & PlayerInventory for events and conditions (+ InventoryPreClickEvent and InventoryClickEvent) 2020-05-02 18:45:34 +02:00