Commit Graph

28 Commits

Author SHA1 Message Date
themode
a7163c8d1c Some clarifications with the storage classes 2020-10-02 04:12:59 +02:00
themode
890cfe4622 Removed the reader classes, deplaced them into SerializableData and Chunk respectively. It allows for developers to make their own deserialization AND serialization implementation 2020-09-23 21:08:36 +02:00
Nesaak
dd66699a20 Make Data and SerializableData interfaces 2020-09-02 12:41:04 -04:00
themode
78dd2cb005 Fix tick update for SharedInstance 2020-09-01 20:20:46 +02:00
themode
d4d5ac873f Renamed StorageFolder to StorageLocation 2020-08-31 00:41:19 +02:00
themode
588b1f9c6d A few comments 2020-08-30 21:42:21 +02:00
themode
38dbaecb8f SerializableData data types can now be indexed 2020-08-29 22:21:45 +02:00
themode
571bb7a866 Renamed PacketWriter/Reader to BinaryWriter/Reader + optimization to serializing 2020-08-19 20:34:21 +02:00
themode
8b30caa8c8 Micro optimization + cleanup 2020-08-19 01:24:51 +02:00
Felix Cravic
45fd0dc22a Comments 2020-08-07 09:14:50 +02:00
Felix Cravic
ef53c7f4b8 Allow for compression option in StorageFolder 2020-08-02 00:28:22 +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
b7b334645f Added InstanceContainer#saveInstance to save its SerializableData + its uniqueId 2020-06-01 22:11:47 +02:00
Felix Cravic
97bd1ecdb1 Cleanup 2020-05-23 04:20:01 +02:00
Felix Cravic
5cb31171e6 Remove ReflectASM (no more warning message) 2020-05-19 17:47:47 +02:00
Felix Cravic
dff29a4717 Drop cursor item when closing inventory 2020-05-17 11:40:49 +02:00
Felix Cravic
7512cb8f03 Comments for StorageFolder and some utils method 2020-05-17 04:13:24 +02:00
Felix Cravic
80f9122da1 Storage system improvement 2020-05-16 22:22:34 +02:00
Felix Cravic
fe7e56da8d Added StorageFolder#getOrDefault and some cleanup 2020-05-16 22:07:24 +02:00
Lukas Mansour (Articdive)
df253238fc Added SLF4J and Log4J2 as logging platform. 2020-05-10 16:02:49 +02:00
Felix Cravic
1d930ec021 Fixed event callbacks multiplication in PlayerSpawnEvent 2020-05-08 18:11:06 +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
201df39685 Allow for folder specific StorageSystem + added documentation 2020-05-05 23:46:36 +02:00
Felix Cravic
5de6888b59 Added EntityFireEvent and EntitySpawnEvent 2020-05-05 21:04:05 +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
Felix Cravic
14ef482f42 Added StorageFolder + fixes 2020-05-04 18:18:50 +02:00
Felix Cravic
e866f79f10 Rewrite of the storage system (use of RocksDB by default) 2020-05-04 18:15:29 +02:00