Commit Graph

55 Commits

Author SHA1 Message Date
TheMode 6ecede145e
Improve tag performance + concurrency tests (#1165) 2022-06-25 10:36:50 +02:00
themode bfa2dbd3f7 Rename AutoIncrementMap 2022-05-16 08:39:18 +02:00
TheMode 37ba3c7893 Simplify tag list
Signed-off-by: TheMode <themode@outlook.fr>
2022-05-09 20:56:06 +02:00
TheMode 8a876a4a59 Entry must use NBTType
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-29 18:24:55 +02:00
TheMode 917302cbbb Avoid potential stacktrace generation
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-20 17:19:45 +02:00
Bloepiloepi ff7098a083
Item metadata fixes (#935) 2022-04-17 20:52:29 +02:00
TheMode 49488c4893 Remove nbt tag list/map restriction
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-16 14:37:41 +02:00
TheMode f073cc46c8 Add Tag.UUID
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-12 19:16:11 +02:00
TheMode 3f172a8d2c Support Tag.Component and for record auto-structure
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-12 16:20:17 +02:00
TheMode 86526ab219 Simplify flow
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-12 14:14:36 +02:00
TheMode 1cdc0aeddb Add Boolean tag
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-10 15:38:13 +02:00
TheMode 73fed47040 Misc
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-10 12:26:33 +02:00
TheMode d25f791d59 Use isView()
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-10 11:44:08 +02:00
TheMode af43c977bd
Tag nbt conversion (#901) 2022-04-10 10:01:39 +02:00
TheMode 23e1c8a0bc Prepare better nbt conversion
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-09 16:17:24 +02:00
TheMode b294cb3f1c Style
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-09 15:20:11 +02:00
TheMode 60d22929a1 Move assert
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-07 11:35:09 +02:00
TheMode 031d9253a3 Fix view tag access
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-07 11:34:18 +02:00
TheMode bbd9e58d35
Generate Tag from record type (#883) 2022-04-07 11:05:11 +02:00
TheMode 835b8ca89d Add TagReadPathBenchmark
Signed-off-by: TheMode <themode@outlook.fr>
2022-03-26 15:26:46 +01:00
themode 8dcb3191f6 Improve tag value sharing 2022-03-25 17:48:18 +01:00
themode 0fc9cab6ab Unnecessary array lookup 2022-03-25 08:23:33 +01:00
themode 9ee74845e1 Avoid list copy when unnecessary 2022-03-25 08:18:30 +01:00
themode 043c139b91 Improve read performance with different tag 2022-03-24 11:23:16 +01:00
TheMode 2301ad9976
Tag list (#801) 2022-03-24 09:03:30 +01:00
TheMode b5367ee96a
Tag path API (#800) 2022-03-24 05:42:01 +01:00
themode dc9580b990 Add IndexMap 2022-03-23 08:49:40 +01:00
themode d20cf85982 Unnecessary class parameter 2022-03-23 07:04:05 +01:00
themode 355beac466 Unnecessary methods 2022-03-23 06:51:36 +01:00
themode ee5ca9050c Improve tag index retrieval 2022-03-23 06:22:48 +01:00
TheMode f2fec73202
Tag internal rework (#782) 2022-03-20 01:47:57 +01:00
themode f3221ff412 Make BlockImpl a record 2022-01-10 16:51:21 +01:00
TheMode d15da98182 Use new compound shortcuts
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
jglrxavpok 34030e3a8f Bump Hephaistos version + fix loading of <0 sections for 1.18 worlds 2022-01-10 16:51:21 +01:00
TheMode a93dac5c66 Deprecate array tags in profit of immutable nbt types
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode 49a64dd702 Remove some warnings
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
TheMode d18f07dcd5 Unnecessary null parameter
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:51:21 +01:00
Xavier Niochaut 9ab4277502 Port to Hephaistos v2 (#424) 2022-01-10 16:51:21 +01:00
TheMode 7891cc5bbe Use more instanceof pattern matching
Signed-off-by: TheMode <themode@outlook.fr>
2021-10-22 02:19:38 +02:00
TheMode fbf8ddefce Add Tag#SNBT write support 2021-06-26 19:52:35 +02:00
TheMode 5ddfff22f2 Add Tag#NBT write support 2021-06-26 19:44:35 +02:00
TheMode bf44625730 Add experimental tags 2021-06-26 05:08:33 +02:00
TheMode 43c2b48b68 Add backward compatible method 2021-06-22 03:05:22 +02:00
TheMode a9086e83f2 Improve tag API 2021-06-22 02:51:04 +02:00
TheMode 9a1062b028 Simplify Tag#defaultValue 2021-05-28 16:21:54 +02:00
TheMode 60c1b2c4e9 Change Tag#Custom to only affect an external compound, allow tag mapping 2021-05-28 16:19:58 +02:00
TheMode 7e5940d1a5 Rename TagReadable & TagWritable 2021-05-17 18:26:38 +02:00
TheMode 354b4e3bc3 Replace ItemTag 2021-05-17 17:46:56 +02:00
TheMode 9255adb7ec No need to expose tag default value 2021-05-17 15:17:53 +02:00
TheMode 429a14e220 Add tag comments 2021-05-17 15:14:16 +02:00