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
b14a0964f4
Optimize tag class and supplier lookup
...
This breaks registering of custom types, but /shrug
2022-05-16 13:15:04 +02: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
Steveice10
9d32159125
Treat null as end tag in writeTag to match readTag.
2019-08-27 23:17:56 -07:00
Steveice10
4aa89a6a32
Remove some unnecessary exceptions and custom tags.
2019-03-23 17:25:12 -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
88bc7e581d
Make ListTag more flexible.
2018-07-02 15:12:04 -07:00
Myles
62edcbeba0
Allow empty ListTag for conversion and adding elements
2018-07-02 22:05:50 +01:00
Steveice10
1164dab716
Format code.
2017-09-01 12:52:20 -07:00
Steveice10
659bda0f7c
Migrate away from spacehq.org
2017-03-01 16:09:25 -08: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
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
Steveice10
1c005ad1ec
1.4: Refactor packages, remove generics from ListTag, add value<->tag conversion system, merge NBTFileIO and NBTIO
2014-03-25 20:16:23 -07:00
Steveice10
ff376a4c76
Add utility methods to convert CompoundTags to Maps with non-tag values and ListTags to Lists with non-tag values.
2014-03-25 18:02:01 -07:00
Steveice10
c2bdc677fc
Add generics to CompoundTag get/put/remove methods
2014-03-25 16:49:37 -07:00
Steveice10
3df755b8da
Remove unnecessary resource inclusion, use getUnsigned methods for tag IDs and name lengths
2014-03-21 23:26:39 -07:00
Steveice10
f7319079e5
Correct behavior and javadocs in TagRegistry
2014-03-14 18:04:23 -07:00
Steveice10
eefc19d843
Cleanup code, move tag IDs to TagRegistry
2014-03-14 18:00:54 -07:00
Steveice10
0f8c9e0a59
Add extra utilities to CompoundTag and ListTag
2014-03-12 21:19:46 -07:00
Steveice10
7f7acc4193
Refactored ch.spacebase to org.spacehq, reformatted code and line endings.
2014-03-01 16:46:32 -08:00
Steveice10
d7f2398e00
Minor cleanup
2014-02-22 12:45:53 -08:00
Steveice10
778c4f65b7
Fix cases where default NBT tags might not be registered when they are needed
2013-12-13 19:00:11 -08:00
Steveice10
0353d28c60
Rewrote library to be a bit more flexible
2013-11-21 21:06:55 -08:00
Steveice10
643639c051
Fixed ListTag
2012-12-03 16:08:14 -08:00
Steveice10
13ee7511fd
Updates
2012-06-14 12:51:08 -07:00
Steveice10
fe23c55d9f
More Compound/List Tag methods
2012-05-05 16:28:17 -07:00
Steveice10
d9f698416d
No more travis, updated README.
2012-03-26 20:57:57 -07:00
Steveice10
365dd2c4e6
Small readme update
2012-03-25 17:52:34 -07:00
Steveice10
c410b4e2b6
Removed UnknownTag from old location
2012-03-25 15:35:48 -07:00
Steveice10
0abd56a624
Added multiple custom tags
2012-03-25 15:35:11 -07:00
Steveice10
bf5b435d2a
More headers.
2012-03-25 12:18:40 -07:00
Steveice10
4432ee4ea4
Headers!
2012-03-25 12:17:32 -07:00
Steveice10
7dff4997a8
Handling of unknown tag types.
2012-03-25 12:13:37 -07:00
Steveice10
7e55606c48
Changed writeListTagPayload to iterate over list tag
2012-03-25 10:03:12 -07:00
Steveice10
e9a259edd9
Added get, size, values, keyset, iterator, etc methods to ListTag and CompoundTag.
2012-03-25 10:01:34 -07:00
Steveice10
e426b3d8e1
Refactored for new domain
2012-03-24 21:42:22 -07:00
Steveice10
9ed14e87e2
Replaced InvalidFormatException use with InvalidNBTException
2012-03-22 20:24:47 -07:00
Steveice10
f292d30408
Package refactor
2012-03-21 15:37:29 -07:00
Steveice10
0d87f2c39d
Added TagBuilder.
2012-03-16 22:16:56 -07:00
Steveice10
69c18f5f25
Refactored and mavenized
2012-03-11 21:29:54 -07:00
Steveice10
1c1713d8b3
Added IntArrayTag
2012-03-11 21:07:52 -07:00
Steveice10
598ca75826
Added NBTIOUtils.
2012-03-03 17:32:29 -08:00
Steveice10
31fcbf3a36
License stuff
2012-03-03 10:05:44 -08:00
Steveice10
8748664953
Initial commit
2012-03-03 09:45:23 -08:00