Commit Graph

40 Commits

Author SHA1 Message Date
ALS
14ea17ce77 Try another test 2021-04-22 01:25:29 +02:00
MrBretzel
8047a203cb Possible fix a when storage location is closed an re opened 2021-04-21 23:53:47 +02:00
Tyan
855c8af455 Added ExceptionManager for custom exception handling 2021-01-20 11:43:45 +01:00
LeoDog896
3536bdc856 Microoptimization cleanup
Just some small microoptimizations including preferring fastutils, Removing unnecessary checks already dealt with using @NotNull, all since I had extra unplanned free time.
2021-01-15 11:08:11 -05:00
themode
3137be35a4 Better exception message 2020-12-26 16:46:54 +01:00
Felix Cravic
cea3b8b593 WIP removal of #copy for #clone 2020-12-09 20:51:40 +01:00
themode
40d6a71697 Cleanup 2020-11-18 06:39:20 +01:00
themode
0184ada9a0 Renamed #clone to #copy 2020-10-31 18:03:15 +01:00
themode
fa0f9c8fa2 Annotations for the storage api 2020-10-24 20:49:39 +02:00
themode
660a67e53e English fix 2020-10-15 21:16:31 +02:00
themode
88ef4eb3c0 Comments 2020-10-12 03:18:02 +02:00
themode
af1f976e53 Comments 2020-10-11 18:57:24 +02:00
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