Commit Graph

330 Commits

Author SHA1 Message Date
apple502j 543f056e08
1.19.1-pre2 stuff (#3228)
* 1.19.1-pre2 stuff

* Update mappings/net/minecraft/client/gui/hud/MessageIndicator.mapping

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2022-07-06 12:57:17 +01:00
modmuss50 9548410a65 1.19.1-pre2 2022-06-30 17:44:10 +01:00
apple502j 4751b36993
Repackage abusereport (#3227)
* 1.19.1-rc1 stuff

* Repackage abuse report stuff, etc

* Fix javadoc

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2022-06-27 19:53:13 +01:00
modmuss50 db6b7357f8 1.19.1-rc1 2022-06-23 19:15:36 +01:00
apple502j 4caccd00ea
22w24a abuse report (#3214)
* Map abuse report class

* Start mapping methods etc

* Map more methods

* Map even more methods

* Map remaining methods

* Document EditBox, etc

* Document more stuff

* Fix typo

* Remove outdated javadoc

* Fix javadoc

* Apply suggestions from code review

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

* Rename to renderOverlay

* value -> text

* emptyText -> placeholder

* javadoc

* setTextConsumer -> setChangeCallback

* Fix javadoc

* Rename callback to listener

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2022-06-21 19:07:56 +01:00
apple502j 48e25ce929
22w24a misc stuff (#3217)
* 22w24a misc stuff

* Update mappings/net/minecraft/SharedConstants.mapping

* Forgot to commit this
2022-06-19 13:58:19 +01:00
apple502j fe2f1be9ae
1.19-pre4 stuff (#3199)
* 1.19-pre4 stuff

* Rename now-inverted isDisordered

* Apply suggestions from code review

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

* Update mappings/net/minecraft/server/network/ServerPlayNetworkHandler.mapping

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>

* Update ServerPlayNetworkHandler.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-14 18:18:21 +01:00
apple502j 8c4525746c
Improve MessageDecorator javadoc (#3206)
* Fix wrong word in MessageDecorator javadoc

* explain it better

* Fix package

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-10 13:55:10 +01:00
modmuss50 ec981c50e7 1.19-rc1 2022-06-02 15:14:48 +01:00
apple502j 6446e1a888
Move message related stuff to a new package (#3185)
* Move message related stuff to a new package

* Fix javadoc

* Fix javadoc

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-01 18:39:22 +01:00
apple502j 96b96a8884
Rename ChatDecorator to MessageDecorator (#3200)
* Rename ChatDecorator

* Apply suggestions from code review

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

* Change some bits on javadoc

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2022-06-01 16:09:05 +01:00
apple502j eb2bbb15ae
Rename Structure and StructureType (#3183)
* Rename Structure and StructureType
Structures really need a revisit. In my opinion the net.minecraft.structure package should be gone and
everything should be moved to net.minecraft.world.gen.structure. That'd be a very big change, though.
This commit basically reverts the entirety of #3079 and contains the changes necessary to keep consistency
(but not other new changes). I could make it bigger, but this needs an ASAP merge to stop the bad names from
going to the release.

Summary of the renames:

- `structure.Structure` became `structure.StructureTemplate`. See `/place template`, datafixes, etc.
- `structure.StructureType` became `world.gen.structure.StructureType`.
- `world.gen.structure.StructureType` became `world.gen.structure.Structure`.
- `world.gen.structure.StructureTypes` became `world.gen.structure.Structures`.
- Other names referencing the renamed classes by their old name
- And missed "feature" renames (Fixes #3179)

* Rename StructureManager

* merging gone wrong

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-01 16:07:00 +01:00
apple502j d1d71849fb
1.19-pre3 stuff (#3191) 2022-05-26 11:53:00 +01:00
haykam821 9813bf485c
Map the ChatPreviewStateChangeS2CPacket class (#3162)
* Map the ChatPreviewStateChangeS2CPacket class

* Rename the ClientPlayPacketListener#onChatPreviewEnabled method to onChatPreviewStateChange
2022-05-24 08:57:20 +01:00
Shnupbups 3a6d5f8450
1.19-pre2 stuff (#3189)
* 1.19-pre2 stuff + random things

* Apply suggestions from code review

Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>

* Update mappings/net/minecraft/block/JukeboxBlock.mapping

Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>

Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>
2022-05-24 08:55:49 +01:00
modmuss50 2ac4855aeb 1.19-pre2 2022-05-23 17:00:20 +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
Player d5927e8419 1.19-pre1 2022-05-18 18:58:03 +02: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
Player 33ca01b966 22w19a 2022-05-12 20:28:43 +02:00
apple502j ee2512d6e0
22w18a texts and utils (#3141)
* 22w18a texts and utils

* More utils stuff

* valuesToIndices -> lastIndexGetter

* Document Decoration, toText -> apply

* Fix javadoc

* Apply suggestions from code review

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2022-05-12 17:27:32 +00: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
liach 8210654168
Map message type and format (#3136)
* Map message type and format

* Apply suggestions from code review

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>
2022-05-05 17:37:48 +01:00
Player 5dc883892e 22w18a 2022-05-04 20:34:27 +02:00
apple502j 8882f49d13
Fix typo in NetworkEncryptionUtils (#3133) 2022-05-04 12:21:55 +00:00
apple502j 0e3d4f9084
Fix duplicate UUID entry in PacketByteBuf javadoc (#3131) 2022-05-03 14:14:11 +01:00
enbrain 9396e14238
Fix javadoc of NetworkEncryptionUtils.encodeRsaPublicKey (#3130) 2022-05-03 14:14:01 +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
Moritz Zwerger af6d2df045
22w17a: Network stuff + more (#3121)
* 22w17a: map chat message packet

* goat: horns

* map signed chat message

* Add missing new class mappings

* apply suggestions from @enbrain

* rename class_7428 to PlayerPublicKey

* network: apply suggestions

* fix wrong package for SignedChatMessageS2CPacket

* rename ChatMessageS2CP to GameMessage

* fix ChatMessageS2C name, ChatMessageC2S: rename instant to time

* remove comp mappings
2022-04-28 16:20:42 +01:00
Player a31d28ee5e 22w17a 2022-04-27 19:09:08 +02:00
Player fe3a599b38 22w16a 2022-04-20 19:31:04 +02:00
Player 8b8dc86b74 22w15a 2022-04-13 18:50:51 +02:00
apple502j df55892693
22w14a typo fixing (#3089) 2022-04-13 07:50:37 +01:00
enbrain 07cd703d97
Follow up of the titleRemainTicks rename (#3084) 2022-04-08 16:29:49 +01:00
apple502j 0f2bef6b84
22w14a stuff (#3081)
* 22w14a stuff

* Some random params I mapped during Enigma testing

* Rename stuff based on liach's suggestion
2022-04-08 08:56:33 +01:00
Player 13c4ad0853 22w14a 2022-04-06 21:01:01 +02:00
apple502j 35367baa99
22w12a entity (#3060)
* 22w12a entity

* Fix shnupbups PR conflict
2022-03-30 09:18:27 +00:00
modmuss50 18cd8cc489 22w12a 2022-03-24 19:10:04 +00: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 290abdc6a2
22w11a client (#3049)
* 22w11a font

* 22w11a sound stuff

* 22w11a options

* 22w11a macOS icon stuff

* 22w11a gl timer

* 22w11a pending update/desync fix

* 22w11a MC-235964 fix

* 22w11a screen

* 22w11a particle

* 22w11a realms

* 22w11a client util

* 22w11a more sequence stuff

* 22w11a misc client stuff

* Add newline
2022-03-23 10:37:29 +00:00
apple502j a98e8513e9
22w11a commands (#3052)
* 22w11a command arguments

* 22w11a command misc

* 22w11a server commands

* Rename registryWrapperFactory

* Map a field in DataPackContents
2022-03-23 10:36:03 +00:00
Player 845467b67e 22w11a 2022-03-16 21:42:31 +01:00
modmuss50 e268e3d958 1.18.2-pre1 2022-02-18 17:15:29 +00:00
modmuss50 0ef70746f2 22w06a 2022-02-09 18:58:35 +00:00
enbrain e8a1536e6c
Fix some setters not matching fields and params (#2978)
* Fix some setters not matching fields and params

* Revert params with current prefix

* Rename targetPool to target

to match the setter in JigsawBlockEntity

* Revert more renames

* Revert setInvStackList -> setInventory

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-09 16:42:35 +00:00
apple502j 10fda6dd17
22w03a stuff (#2971)
* 22w03a stuff

* Fix ExclusiveNbtCollector

* Remove OpenDoorsTask mapping for conflict

* Remove SpreadPlayersCommand mapping for conflict

* Apply suggestions from code review

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

* Renames, javadoc, etc

* Fix description of shouldCrashOnException

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

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-09 11:33:27 +00:00
modmuss50 26c319461b 22w03a 2022-01-19 17:26:32 +00:00
enbrain db9a80f418
Document chat stuff (#2881)
* Document chat stuff

* Remove apiNote from ChatMessageC2SPacket

* Links broadcast from and to sendMessage

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-11-24 20:16:37 +00:00
Shnupbups 268324fe32
Mapping Bonanza Part 13: Misc stuff (#2857)
* Misc stuff

* Apply suggestions from code review

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

* Update mappings/net/minecraft/test/TestContext.mapping

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

* Update mappings/com/mojang/blaze3d/platform/GlStateManager.mapping

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2021-11-22 15:32:05 +00:00
enbrain 66e3b0d4cc
Fix GameMessageS2CPacket.getLocation (#2865) 2021-11-22 13:42:39 +00:00
modmuss50 f870cc7ed4 Revert "Use "offhand" instead of "offHand" (#2844)"
This reverts commit 5c2072d88d.
2021-11-19 16:54:44 +00:00
apple502j 5c2072d88d
Use "offhand" instead of "offHand" (#2844) 2021-11-19 10:48:27 +00:00
apple502j 119815df5d
More 21w44a stuff (#2811)
* More 21w44a stuff

* Apply suggestions from code review

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

* Update mappings/net/minecraft/util/profiling/jfr/JfrProfiler.mapping

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

* Update mappings/net/minecraft/util/math/ChunkSectionPos.mapping

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

* Rename some stuff

* Apply suggestions from code review

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-11-08 23:34:33 +00:00
modmuss50 35c46fc6b7 21w44a 2021-11-03 18:39:11 +00:00
haykam821 bff8144124
Fix some packet listener method names being inconsistent with packet class names (#2804)
Fixes #2702
2021-11-01 13:27:02 +00:00
apple502j cceaba52d5
21w41a network stuff (#2753) 2021-10-16 13:52:39 +01:00
Shnupbups 065317d2b3
Random stuff (#2744)
* Random stuff

* more stuff

* just a little more
2021-10-15 16:23:39 +01:00
Shnupbups 2e1a85620a
21w40a stuff (#2733)
* 21w40a stuff

* Create LegacyBiomeMapping.mapping

* canSpawn

* stuff
2021-10-10 22:10:18 +01:00
apple502j 85ee28e1e9
More 21w40a stuff (#2736)
* More 21w40a stuff

* Rename and add javadoc
2021-10-10 22:10:05 +01:00
modmuss50 1391c4cb97 21w40a 2021-10-07 15:55:57 +01:00
liach dcdcf04575
Map chunk and light data, used for packet transport and async reading (#2713)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-10-01 19:00:25 +01:00
shartte ed314d96f7
Mappings for new BlockEntity update packet logic (#2692)
* Mappings for new BlockEntity update packet logic

* Apply suggestions from code review

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-09-20 16:51:29 +01:00
Player 54f0920bc0 Import from 1.18_experimental-snapshot-7 2021-09-17 01:24:14 +02:00
Player 3c62b19290 21w37a 2021-09-16 21:06:33 +02:00
liach 3e0278676c
rc2 stuff (#2565)
* rc2 stuff

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

* Don't use weird arrow

Co-authored-by: liach <liach@users.noreply.github.com>
2021-07-10 12:27:42 +01:00
modmuss50 648897cd3e 1.17.1-rc2 2021-07-05 16:40:11 +01:00
apple502j db44f9c249
1.17.1-rc1 stuff (#2540) 2021-07-04 01:31:01 +01:00
modmuss50 9d8a096c5f 1.17.1-rc1 2021-07-01 17:21:19 +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
enbrain 32152b6855
Document EntityVelocityUpdateS2CPacket and ExplosionS2CPacket (#2521) 2021-06-27 11:13:17 +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
ByMartrixX 6473b3525a
1.17.1-pre1 stuff (#2500)
* 1.17.1-pre1 stuff

* Apply review suggestions

* Rename BookUpdateC2SPacket constructor args

* Rename two BookUpdateC2SPacket getters

* Improve method_37420 name
2021-06-24 14:15:19 +01:00
modmuss50 39bf6bccf6 1.17.1-pre1 2021-06-18 14:36:45 +01:00
liach 37f94858b0
status effect source (#2441)
* status effect source

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

* improve docs and update legacy packet handler name

* Another effect cause related method

* 2 vec3d methods seen in projectiles

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

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-01 16:29:19 +01:00
liach f0efd6b628
Map some easy packet classes and a package info (#2401)
used generatePackageInfoMappings to generate package info

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-05-16 12:05:52 +00:00
apple502j 189122a550
21w19a network stuff (#2394)
* 21w19a network stuff

* Address some problems
(pun intended)

* Fix some names
2021-05-13 16:59:27 +00:00
Player 8fc50a424d 21w19a 2021-05-12 17:50:44 +02:00
enbrain 9278744a19
Map command stuff (#2372) 2021-05-05 11:53:37 +00:00
enbrain 1481c1e9e6
Fix swapped names (#2369) 2021-05-01 04:57:07 +00:00
enbrain d974d8be2b
Map the parameter of all equals methods (#2363) 2021-04-30 17:03:23 +00:00
apple502j f344dece1a
21w17a stuff (#2355)
* 21w17a stuff

* Fix lint failure

* Rename onEntitiesDestroy

* Rename setYaw
2021-04-30 17:02:56 +00:00
Player 71cbfa770b 21w17a 2021-04-28 17:44:41 +02:00
Shnupbups a046ab2dbb
21w15a stuff (#2330) 2021-04-15 12:41:15 +01:00
modmuss50 9ac44da9db 21w15a 2021-04-14 18:18:43 +01:00
liach 37e0f89ac0
Delaying channel inbound handler in server network io (#2308)
* Delaying channel inbound handler in server network io

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

* Update mappings/net/minecraft/server/ServerNetworkIo.mapping

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-04-11 13:08:18 +01:00
enbrain 9668c58132
Drop uuid suffix from senderUuid (#2306) 2021-04-10 14:04:57 +01:00
Juuxel c34c419fa8
Screen handler updates (#2264) 2021-04-04 13:09:51 +01:00
liach 0ded7e7bd2
Some packet stuff (#2243)
* Some packet stuff

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

* Apply suggestions from code review

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>

* Update mappings/net/minecraft/network/packet/s2c/play/TeamS2CPacket.mapping

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

* Adds unpick. Tested and works.

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-04-04 13:09:01 +01: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
Emily Rose Alexandra 34b4fd5648
ScreenHandler adjacent (#2135)
* Start work on screen handlers

* Finish up

* One final change

* Change to canBeNested
2021-03-16 19:42:00 +00:00
Alexander d610dff1b4
Some lambda parameters in packets (#2147)
* Some lambda parameters in packets

* Fix packet buffer lambda parameter name conflict with outer function parameter

* buf1 -> b
2021-03-16 13:35:56 +00:00
Alexander 3a70564531
Make BossBar names more consistent (#2149) 2021-03-16 13:35:46 +00:00
Alexander 70ca14e0d7
TeamS2CPacket names (#2145)
* TeamS2CPacket names

* Update mappings/net/minecraft/network/packet/s2c/play/TeamS2CPacket.mapping

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

* Update mappings/net/minecraft/network/packet/s2c/play/TeamS2CPacket.mapping

Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>
2021-03-16 13:35:35 +00:00
Alexander c17374831e
PlayerListS2CPacket names (#2146) 2021-03-15 20:54:50 +00:00
modmuss50 252ad11d0a 21w10a 2021-03-10 18:34:17 +00:00
Shnupbups 84b016a8a2
21w08a Packet stuff (#2104)
* packets and stuff

* k

* oh gosh oh heck i got carried away

* Update PlayerMoveC2SPacket.mapping

* NbtTagSizeAllocator -> NbtTagSizeTracker

* Delete TitleClearS2CPacket.mapping

* Delete ActionBarTextSetS2CPacket.mapping

* Delete SubtitleTextSetS2CPacket.mapping

* Delete TitleTimesS2CPacket.mapping

* Delete TitleTextSetS2CPacket.mapping

* Update ClientPlayPacketListener.mapping

* Update ServerPlayNetworkHandler.mapping

* Apply suggestions from code review

github online editor sucks lol

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

* Update mappings/net/minecraft/block/entity/SignBlockEntity.mapping

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

* Apply suggestions from code review

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

* Update mappings/net/minecraft/server/filter/TextStream.mapping

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

* liach stuff

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-03-10 18:17:14 +00:00
liach fa10065c59
Text Filtering additions (#2085)
* Long live censorship

Gonna get a mod that allows me to turn off filters. Just overwrite method_33883

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

* Update some poorer names from #1993 as well

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

* Apply suggestions from code review

Seems I overrode this thing

Co-authored-by: liach <liach@users.noreply.github.com>
2021-03-03 20:20:36 +00:00
liach 422b43695d
Mapped some stuff in tags (#2055)
* Mapped some stuff in tags

out of 10 nested classes, 4 are now mapped, 6 more

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

08a stuff

See 4dd9ce2a30 (r582544937)

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

Update mappings/net/minecraft/network/packet/s2c/play/SynchronizeTagsS2CPacket.mapping

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

* use plain links

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

* Update mappings/net/minecraft/tag/TagGroup.mapping

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-03-02 11:32:24 +00:00