Commit Graph

8 Commits

Author SHA1 Message Date
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
Thalia Nero 588d00e97f
Map NBT tag visitors. (#1837)
* Map NBT tag visitors.

* Push modifications.
2020-11-16 18:39:41 +00:00
Juuxel 6ae7f75387
Default structures and minor fixes (#1509)
* Map default structure adders

* Fix incorrect case for static final field in LootTableRanges

* Remove -New suffix from NbtHelper's UUID methods

* Code review
2020-06-25 13:27:28 +01:00
liach 7180726b1f
Fix javadoc warnings (#1286)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-18 14:55:18 +01:00
i509VCB 7b32b5f874
Javadoc for some client, datafixer and other miscellaneous areas. (#1219)
* Javadoc for some client, datafixer and misc.

* Update ServerPlayNetworkHandler.mapping

* Update MinecraftClient.mapping

* Update ClientPlayerEntity.mapping

* Update PlayerListEntry.mapping

* Update TypeReferences.mapping

* Update Entity.mapping

* Update LivingEntity.mapping

* Update NbtHelper.mapping

* Update CommandOutput.mapping

* Update mappings/net/minecraft/client/MinecraftClient.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/command/arguments/TestClassArgumentType.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/datafixer/TypeReferences.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/datafixer/TypeReferences.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/server/command/CommandOutput.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/command/arguments/ArgumentTypes.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/datafixer/TypeReferences.mapping

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>

* Update PlayerListEntry.mapping

* Update ClientPlayPacketListener.mapping

* Update ServerPlayPacketListener.mapping

* Update ClientPlayPacketListener.mapping

* Fix possible build error

* try 2

* Update LivingEntity.mapping

* Update mappings/net/minecraft/datafixer/TypeReferences.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Update mappings/net/minecraft/entity/Entity.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

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

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

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

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-03-25 23:14:55 +00:00
modmuss50 ab907504e7 20w12a 2020-03-18 18:59:27 +00:00
Pyrofab 135f569146
Document changed UUID serialization methods (#1156)
* Document changed NBT methods

* Avoid unintended incompatibilities with old worlds
2020-03-08 11:23:54 +00:00
liach 8d9d435405 19w38b - loot conditions from data packs, advancements go smart, data… (#865)
* 19w38b - loot conditions from data packs, advancements go smart, data storage, etc

Signed-off-by: liach <liach@users.noreply.github.com>

* Improve names a bit as I edit mcwiki

Signed-off-by: liach <liach@users.noreply.github.com>

* some fields

Signed-off-by: liach <liach@users.noreply.github.com>

* More stuff spotted

Signed-off-by: liach <liach@users.noreply.github.com>

* name

Signed-off-by: liach <liach@users.noreply.github.com>

* nbt helper has a lot of troublesome names, especially that "equal" one is not checking for equality but for contained relationship

Signed-off-by: liach <liach@users.noreply.github.com>

* Corrections on nbt path names

Signed-off-by: liach <liach@users.noreply.github.com>

* Improve some loot mapping

Signed-off-by: liach <liach@users.noreply.github.com>
2019-09-26 08:42:38 +01:00