Commit Graph

37 Commits

Author SHA1 Message Date
haykam821 f7f320f730
Rename the NbtTagSizeTracker class to NbtSizeTracker (#3753) 2023-12-13 15:00:51 +02:00
apple502j 0634ed4287
23w40a misc (#3687)
* 23w40a misc

* Remove obsolete javadoc
2023-10-07 01:00:37 +09:00
apple502j 9d6bc0730d
23w32a more stuff (#3629)
* 23w32a more stuff

* Fix some names
2023-08-17 12:45:34 +01:00
apple502j 3f333bf327
23w31a more networking (#3621) 2023-08-06 08:18:31 +09:00
modmuss50 c9b86e074b Fix incorrect mapping in PacketByteBuf 2023-08-05 19:52:49 +01:00
apple502j 127beb313d
23w31a networking (#3612)
* Map new packets

* Map new listeners

* Map general networking

* Map server networking

* Map client networking

* Map misc networking, delete now-mapped class

* Repackage Netty handlers

* Fix packet yarnbugs
2023-08-04 20:01:01 +09:00
modmuss50 c073210031 23w31a 2023-08-02 18:18:08 +01:00
apple502j ea2a1c0714
More 1.19.4-pre1 stuff (#3516)
* 1.19.4-pre1 stuff

* Fix javadoc

* Update mappings/net/minecraft/data/server/tag/TagProvider.mapping

* Update mappings/net/minecraft/data/server/tag/TagProvider.mapping

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Shnupbups <shnupbups@gmail.com>

---------

Co-authored-by: Shnupbups <shnupbups@gmail.com>
2023-02-25 17:25:22 +09:00
apple502j 231db41beb
23w07a networking (#3495) 2023-02-17 18:09:46 +11:00
apple502j c85488944d
23w06a stuff (#3490)
* 23w06a stuff

* Apply suggestions from code review
2023-02-12 16:46:33 +01:00
Shnupbups ec08cd64c5
23w06a Display Entities (#3477)
and related stuff
2023-02-09 08:01:05 +09:00
apple502j 2b3663b85f
23w04a stuff (#3462) 2023-01-25 06:05:59 +11:00
modmuss50 be911685f0 23w04a 2023-01-24 16:14:55 +00:00
Shnupbups 55dd7f6fd5
1.19.3-pre3 stuff (#3437)
* 1.19.3-pre3 stuff

* javadoc fix

100acb44f5 (r91439942)

* Update mappings/net/minecraft/sound/SoundEvent.mapping

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

Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2022-11-30 18:58:00 +01:00
apple502j 4853f9e9cf
22w46a misc (#3415)
* 22w46a misc

* Rename to LazyIterationConsumer
2022-11-19 04:15:10 +11:00
modmuss50 de53e09431 22w46a 2022-11-16 15:12:55 +00:00
apple502j 3bd4327ebe
Great Registry Repackaging (#3396)
* 22w45a registry

* More registry

* Great Registry Repackaging

Registry packages have moved to `net.minecraft.registry`.
Tag packages have moved to `net.minecraft.registry.tag`.

* Revert defaulted registry rename

* Rename RegistryKeys fields to fix inconsistency

* Fix javadoc

* Move some classes again, per haykam suggestion

* Fix javadoc

* Update CommandRegistryAccess.mapping
2022-11-16 23:51:52 +11:00
apple502j a837ae344b
22w42a networking (#3338)
* 22w42a packet

* 22w42a message

* 22w42a misc networking

* Map future queue

* 22w42a client networking (wip)

* Finish client networking

* Finish mapping network

* Update mappings/net/minecraft/network/encryption/NetworkEncryptionUtils.mapping

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

* Rename player remove packet

* Finish networking

* Map some more networking

* Rename DecoratableArgumentType

* Fix javadoc

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2022-10-24 00:18:41 +09:00
Player be004e3916 22w42a 2022-10-19 19:11:34 +02:00
apple502j 9c83509bfc
Fix javadoc for PacketByteBuf#writeIdentifier (#3302) 2022-09-20 22:35:11 +01:00
apple502j 10c797dce2
1.19-pre1 networking (#3164)
* 1.19-pre1 networking

* More networking stuff

* Map PacketByteBuf

* Do not use 'out of order'

* Fix typo in javadoc

* Fix javadoc

* Rename chatPreviewEnabledByServer

* Rename references to Only Show Secure Chat

* Fix typo

* Use timestamp, not time

* Final bits

* Fix #3181
2022-05-23 13:07:30 +01:00
apple502j b1382b3f04
22w19a networking (#3155)
* 22w19a networking

* Map PacketByteBuf

* 22w19a client-side networking

* 22w19a networking, completed

* Move PendingTaskRunner out of thread since it's thread-unsafe

* Fix typos

* Fix javadoc

* CommandExecutionC2S allows leading slash

* Rename QueryChatPreview

* Rename registerAndGetDefault

* Remove incorrect mapping on ChatPreviewer

* Rename stuff in ChatPreviewer to prevent confusion

* Fix javadoc

* Apply suggestions from code review

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

* Renames

* Fix javadoc

* Update mappings/net/minecraft/network/PacketByteBuf.mapping

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2022-05-17 10:56:35 +01:00
apple502j f82738825b
22w18a networking (#3142)
* 22w18a networking

* toText -> apply

* Document and rename MessageType stuff

* PacketByteBuf usage mapping, etc

* Fix javadoc

* Apply suggestions from code review

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

* Revert rename for Display and Narration

* dequalify optional

* rename ChatMessageSender, etc

* rename applyDecoration

* Fix indent

* Apply suggestions from code review

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

* Rename Priority

Editing on phone sucks

* Apply suggestions from code review

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

* Update and rename ChatSigner.mapping to ChatMessageSigner.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2022-05-12 14:36:43 +01:00
Player 5dc883892e 22w18a 2022-05-04 20:34:27 +02:00
apple502j 0e3d4f9084
Fix duplicate UUID entry in PacketByteBuf javadoc (#3131) 2022-05-03 14:14:11 +01:00
apple502j a8cf9b5ceb
22w17a network stuff: part 2 (#3123)
* 22w17a network stuff: part 2

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

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

* publicKeyInfo renames

* Fixes and javadocs

* javadoc fixes

* Apply suggestions from code review

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

* Fix javadoc again

* Empty commit to re-trigger CI

* Apply suggestions from code review

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

* Update PlayerPublicKey.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: modmuss50 <modmuss50@gmail.com>
2022-05-02 13:57:32 +01:00
apple502j 4702895447
22w11a misc stuff (#3053)
* 22w11a networking

* 22w11a world

* 22w11a misc stuff

* Update javadoc for PacketByteBuf
2022-03-23 10:37:54 +00:00
apple502j cceaba52d5
21w41a network stuff (#2753) 2021-10-16 13:52:39 +01:00
apple502j 6aaad15ea9
1.17.1-pre2/pre3 stuff (#2535)
* 1.17.1-pre2 stuff

* 1.17.1-pre3 stuff
2021-07-01 13:54:06 +01:00
apple502j 117c139ec9
More 1.17-pre1 stuff (#2501)
* More 1.17-pre1 stuff

* Rename to entireStack

* Use revision instead of nonce

* Document read/writeOptional

* Update mappings/net/minecraft/screen/ScreenHandler.mapping

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

* Update mappings/net/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen.mapping

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

* Rename getMaxY to getHeight

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-06-26 12:53:03 +01:00
enbrain d974d8be2b
Map the parameter of all equals methods (#2363) 2021-04-30 17:03:23 +00:00
liach 0bc94eeaeb
Some network stuff, and minor atomic stack/affine transformation revisit (#2246)
* Some network stuff, and minor atomic stack/affine transformation revisit

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

* typos

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

* Let unpick glitch. I'm hopeless

* End of experiment

the uncommented ones work while the commented ones don't

Turns out unpick is unpicking what's exposed to the public api than
what's in the method body. So yeah, not much valuable stuff to unpick
in network package as a result.

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-04-03 15:02:25 +01:00
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)