You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add vector
* make vector static
* Setup tests
* add BlockVector
* add color de-serializer
* test dummy
* add unit test utils
* Implement vector tests
* migrate to color record
* implement blockvector deserialization test
* remove toml list in block vector test
* add deserialization test for color
* fix block vector
* Add potion effect type
* implement test for color de-serialization
* Fix tests
* Add firework effect
* Add pattern
* implemented bounding box de-serializer
* implemented attribute modifier de-serializer
* Add unit tests for location
* Fix merge
* Add player serialization
* add inventory like de-serializer
* Add readme and publishing
* Final cleanup
---------
Co-authored-by: Florian Fülling <[email protected]>
Simply add the JacksonBukkit module to the builder of your choice.
41
+
42
+
```java
43
+
ObjectMapperJSON=JsonMapper.builder()
44
+
.addModule(newJacksonBukkit())
45
+
.build();
46
+
47
+
```
48
+
49
+
## Supported Classes
50
+
51
+
We support all classes implementing `ConfigurationSerializable`. To be precise we support the following classes:
52
+
53
+
- Vector
54
+
- BlockVector
55
+
- Color
56
+
- ItemStack (Serialized as Base64 encoded bytes as recommended by [paper](https://jd.papermc.io/paper/1.19/org/bukkit/inventory/ItemStack.html#serializeAsBytes()))
0 commit comments