Commit Graph

4 Commits

Author SHA1 Message Date
Nerjal Nosk 9a47f1f963
Change remapping to properly rename synthetic obfuscation methods 2024-04-06 14:40:32 +02:00
Nerjal Nosk 62566f9735
Fix AbstractNbtList add/remove mapping 2024-04-06 12:53:13 +02:00
apple502j 811d8000d1
Document net.minecraft.nbt package (#3134)
* Document NBT (wip)

* more NBT docs

* Fix NbtList javadoc

* Add package docs to NBT

* Fix javadocs

* Use paragraph tag

* Mention the instances are (im)mutable in javadoc

* Apply suggestions from code review

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/nbt/NbtElement.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/nbt/NbtHelper.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* Add the sentence suggested by liach

* Update package-info.java

* Apply suggestions from code review

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* Fix typo in NbtCompound

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2022-05-11 19:28:23 +01:00
LambdAurora bd5a3f41d6
Refactor the whole net.minecraft.nbt package. (#2090)
* Refactor the whole net.minecraft.nbt package.

* a NBT -> an NBT

* -bits -> -bit

* Improve javadoc and consistency.

* Update mappings/net/minecraft/nbt/AbstractNbtList.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* NbtObject -> NbtCompound...

* Remove last occurences of NbtObject

I have no idea how I missed those... They are quite obvious.

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

* Update mappings/net/minecraft/nbt/NbtCompound.mapping

Co-authored-by: YanisBft <doublecraft.official@gmail.com>

* Apply suggestions.

* Restore addElement and setElement.

* Fix some missed stuff.

* Apply suggestions from code review

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: Gegy <gegy1000@gmail.com>

* Reformat type value part of NBT elements javadoc.

* Apply suggestions from code review

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

* Clarify documentation.

* Apply @ChloeDawn's suggestion.

* rawType -> id

* Apply haykam's suggestions.

* Apply suggestions from code review

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

* getX -> xValue in AbstractNbtNumber.

* Apply more changes from code review.

* Apply suggestions from haykam's code review

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: Gegy <gegy1000@gmail.com>
2021-03-18 19:17:51 +00:00