Commit Graph

5 Commits

Author SHA1 Message Date
LambdAurora 355c529aa1
NBT refactor: step 3 (#2257)
* Refactor NBT parameter names and a bit more.

* Apply suggestions from code review.

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

* Apply more suggestions from code review.

* MobEntity leashTag stuff -> leashNbt

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-04-02 22:03:30 +01:00
liach 3cabe5a907
Massive networking renames (#2179)
* Massive networking renames

Closes #1321, fixes a few legacy names, also some stuff from #2174
Moved ServerAddress to client package (as it's client only)
Moved NetworkEncryptionUtils to the encryption package

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

* Some javadoc

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

* Update mappings/net/minecraft/network/listener/PacketListener.mapping

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

* Resource pack for ServerInfo, suggested by Earthcomputer

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

* Update mappings/net/minecraft/client/util/NetworkUtils.mapping

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-03-27 14:26:40 +00:00
liach 39e638e219
Some packet byte buf stuff (#2105)
* Some packet byte buf stuff

javadocs

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

* Fix readmap links

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

* More docs

also fixed a bad param

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

* Use singular

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

* add search tag for var int/long

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

* Thanks enbrain for picking out typos

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-02-28 14:41:19 +00:00
liach 599f1dcc91
Dimension tracker (#1382)
* Dimension tracker

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

* Good ol tabs

Co-authored-by: liach <liach@users.noreply.github.com>
2020-05-22 12:38:49 +01:00
­Sollace 93701715c0
Moved a lot of "util" classes to more appropriate packages (#1171)
* Moved a lot of "util" classes to more appropriate packages

* Move UncaughtExceptionLogger to the correct package

* These are all collections/sets/iterables

* Move stuff relating to dyamics into util/dynamic

* UnaryOperator is only used in the context of loot tables

* Functional classes into util/function

* Time classes into a util/time package

* JsonHelper -> JsonUtil

* Whatever that name is, this is a world class

* Moved ReusableStream to util/collection

* TODO: this name is wrong

* Update mappings/net/minecraft/util/io/CsvWriter.mapping

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

* Move OffsetDoubleList to the shape package (since it's only used there)

* Move CsvWriter to the profiler package

* io package is gone :crab_dance:

* time package is gone :crab_dance:

* And now it lets me add them...

* Move Lazy back to util/

* Revert JsonUtil to JsonHelper

* Jeon -> Json

* Update mappings/net/minecraft/util/Identifier.mapping

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

* ids -> initialSize

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-03-17 23:04:34 +00:00
Renamed from mappings/net/minecraft/util/PacketByteBuf.mapping (Browse further)