Commit Graph

97 Commits

Author SHA1 Message Date
Nassim Jahnke
4f5060b5fa 3.2.0 Release
Override getValue in NumberTag
2023-10-16 15:31:17 +10:00
Nassim Jahnke
f243f76d6f 3.1.0 Release
Add NumberTag#asBoolean
2023-10-16 15:25:43 +10:00
Nassim Jahnke
63c109efde 3.0.0 Release
- More general refactoring
- Add SNBT serializer
- Rebrand to ViaNBT, as the project has shifted greatly from the original

Package rename will follow at a (much) later date when ViaVersion is ready for another major version bump
2023-10-08 18:35:19 +10:00
Nassim Jahnke
fe18bc74e7 Code formatting 2023-10-08 14:39:13 +10:00
Nassim Jahnke
412b730811 2.1.3 Release
Improve ListTag type error
2023-10-07 22:13:05 +10:00
Nassim Jahnke
9c06609e68
2.1.2 Release 2023-03-03 14:03:07 +01:00
Nassim Jahnke
9229d10d9f
Use Files.newInput/OutputStream 2023-03-03 14:02:58 +01:00
Glavo
04c0131935
Fix resource leaks
(cherry picked from commit 537221a0cad28cc0df49a9d90a15e241b297d37f)
2023-03-03 14:01:05 +01:00
Nassim Jahnke
d80ab5b7bd
2.1.1, remove Guava dependency 2023-03-03 13:51:13 +01:00
Nassim Jahnke
eb96d8bca8
Add limiter for max bytes and nesting level 2022-08-14 22:16:32 +02:00
Nassim Jahnke
6f424509b2
Bump version to 2.0, pom cleanup 2022-05-16 13:27:55 +02:00
Nassim Jahnke
b14a0964f4
Optimize tag class and supplier lookup
This breaks registering of custom types, but /shrug
2022-05-16 13:15:04 +02:00
Myles
0a022140ec Add distribution url 2021-03-14 21:28:30 +00:00
KennyTV
104486c6e1
Various optimizations and improvements
* Most notably, move the tag name out the of tags themselves
  * Always read/write CompoundTags in NBTIO
* Don't wrap values given in Tag#setValue / Tag constructors
* Abstract NumberTag class for easier (and primitive) number handling
* Don't use reflection when creating tag instances
* Directly use value in Tag#clone() for number tags
* Implement tag specific equals() methods
* Update to Java 8
* Replace links using http with https in maven pom
* Remove custom nbt types
* Proper checks for non-null values
2021-03-14 18:21:42 +01:00
Steven Smith
32aecc1b60
Add CI action. 2019-08-27 23:53:25 -07:00
Steveice10
d7bc3d9fd4 Bump version to 1.4-SNAPSHOT 2019-08-27 23:18:55 -07:00
Steveice10
e21000b445 Bump version to 1.3 2019-08-27 23:18:18 -07:00
Steveice10
9d32159125 Treat null as end tag in writeTag to match readTag. 2019-08-27 23:17:56 -07:00
Steveice10
9bf4adb2af Bump version to 1.3-SNAPSHOT 2019-04-29 01:49:38 -07:00
Steveice10
d50274d230 Bump version to 1.2 2019-04-29 01:49:11 -07:00
Steveice10
4aa89a6a32 Remove some unnecessary exceptions and custom tags. 2019-03-23 17:25:12 -07:00
Steven Smith
9a45dec2a4
Merge pull request #13 from creeper123123321/master
Use id 12 to LongArrayTag, add unregistering to Registries
2019-03-23 17:15:55 -07:00
creeper123123321
40a1a82608
Throw the correct exception for converter register/unregister 2019-03-23 21:06:18 -03:00
creeper123123321
db1fd63840
Use id 12 to LongArrayTag, add unregistering to Registries 2019-03-23 15:10:22 -03:00
Steveice10
a86b513901 Update surefire plugin to 2.22.0 2018-08-20 12:21:51 -07:00
Steveice10
159fa3fdbb Add argLine to properties. 2018-07-02 15:23:25 -07:00
Steveice10
d688dd34be Bump version to 1.2-SNAPSHOT. 2018-07-02 15:13:59 -07:00
Steveice10
9029b7411c Bump version to 1.1 2018-07-02 15:13:28 -07:00
Steveice10
88bc7e581d Make ListTag more flexible. 2018-07-02 15:12:04 -07:00
Steven Smith
6859c36d9b
Merge pull request #12 from MylesIsCool/allow-empty-lists
Allow empty ListTag for conversion and adding elements to empty lists
2018-07-02 14:46:25 -07:00
Myles
62edcbeba0 Allow empty ListTag for conversion and adding elements 2018-07-02 22:05:50 +01:00
Steven Smith
eb4ccff670
Merge pull request #11 from sgdc3/master
Minor pom enhancements
2018-02-01 12:58:54 -08:00
sgdc3
18c633adbb Pom enhancements 2018-02-01 19:02:39 +01:00
Steven Smith
280b2a93a3
Merge pull request #10 from sgdc3/master
Pom cleanup
2018-01-30 15:08:11 -08:00
sgdc3
b6bcb81a3c Pom cleanup 2018-01-30 18:31:22 +01:00
Steveice10
1164dab716 Format code. 2017-09-01 12:52:20 -07:00
Steveice10
e1e28c8809 Update license year. 2017-03-02 00:01:49 -08:00
Steveice10
8f122b7b18 Bump version for development. 2017-03-01 16:14:16 -08:00
Steveice10
659bda0f7c Migrate away from spacehq.org 2017-03-01 16:09:25 -08:00
Steven Smith
b8da95d576 Merge pull request #8 from MylesIsCool/patch-1
Bump version to 1.1
2016-12-24 08:44:44 -08:00
Myles
094989419c Bump version to 1.1 2016-12-24 15:07:33 +00:00
Steveice10
cee66db745 Use DataInput/DataOutput for I/O, add little endian support. 2016-12-15 18:15:04 -08:00
Steveice10
894d52ebe5 Do not require data streams for readTag and writeTag. 2016-12-15 17:13:59 -08:00
Vladislavs Golubs
efc086aa6b Improved string read/write. 2016-12-15 16:59:39 -08:00
Steveice10
c9852292d3 Generate source and javadoc jars. 2016-12-15 16:52:22 -08:00
Steven Smith
32efcec2f3 Update line spacing. 2015-07-21 18:21:25 -07:00
Steven Smith
ea50eeda4c Update URLs. 2015-07-21 15:58:18 -07:00
Steven Smith
cf0c40b895 General cleanup, fixes, and re-versioning. 2015-07-20 11:13:51 -07:00
Steven Smith
c3130b99a4 Update download URLs 2014-06-28 16:17:47 -07:00
Steveice10
835829105e Ignore invalid list tag type if the ID is 0; this is written when the list is empty. 2014-04-24 16:43:05 -07:00