Dylan K. Taylor
c99846e069
Unify Item constructor style
...
this exposed a few more dead classes.
2019-05-11 18:24:21 +01:00
Dylan K. Taylor
034bd716c8
Clean up WritableBook hierarchy
2019-03-23 14:36:03 +00:00
Dylan K. Taylor
d4fe004375
More consistent fluency in Item API
2019-03-23 12:20:35 +00:00
Dylan K. Taylor
8c536c248d
Updating for latest PocketMine-NBT changes
2019-03-21 15:58:22 +00:00
Dylan K. Taylor
8de9e61651
Item: Remove get/set/removeNamedTagEntry()
2019-03-17 17:49:09 +00:00
Dylan K. Taylor
712cafa0cc
Item: remove redundant meta constructor params
...
these ctor params should only be used for variants in the ItemFactory registration, but all of these items have no non-zero variants anyway.
2018-10-26 16:29:14 +01:00
Dylan K. Taylor
45c9caa38c
Fixup some formatting issues
2018-10-21 18:15:25 +01:00
Dylan K. Taylor
9abfd54cc1
Updated with ListTag changes from PocketMine-NBT
2018-02-13 16:50:49 +00:00
Dylan K. Taylor
4f8e4f0522
Add EOF newlines where missing (bulk) ( #1836 )
...
This should solve issues with people making GitHub PRs and having the web editor messing things up. GitHub Web Editor sucks :(
2017-12-20 11:56:36 +00:00
Dylan K. Taylor
74b074753f
Bulk addition of constant visibilities
...
thanks PhpStorm inspections plugin for annoying the shit out of me until
I did this.
2017-11-21 14:44:10 +00:00
Dylan K. Taylor
48a7627b96
add constants for NBT tag names in WritableBook
2017-11-17 10:48:48 +00:00
Dylan K. Taylor
19315dfd06
Some cleanup on WritableBook code, get rid of some CompoundTag magic
2017-11-17 10:43:51 +00:00
Dylan K. Taylor
aa399a1109
migrate to new CompoundTag API ( #1515 )
2017-11-10 15:38:21 +00:00
Dylan K. Taylor
3765511317
rename WritableBook->swapPage() to swapPages()
2017-10-23 17:55:01 +01:00
Dylan K. Taylor
a547e2cca8
Fixed sub-optimal code in WritableBook
2017-10-15 10:14:02 +01:00
Dylan K. Taylor
e8453b7872
Item->getNamedTag() now always returns a CompoundTag object, removed lots of boilerplate code
...
This change resulted from many complaints and ugly boilerplate code because getNamedTag() is only ever used when you want to read from the tag or modify it. If you have code that depends on this returning null, you should use hasCompoundTag() instead.
2017-10-08 12:41:57 +01:00
Sandertv
81dee2f9fc
Adding writable and written books. ( #1397 )
...
* Adding writable and written books.
* Added a PlayerEditBookEvent.
* Changed BookEditPacket field names.
2017-10-08 11:49:57 +01:00