Commit Graph

186 Commits

Author SHA1 Message Date
Player 5dc883892e 22w18a 2022-05-04 20:34:27 +02: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
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
modmuss50 35c46fc6b7 21w44a 2021-11-03 18:39:11 +00: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
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 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
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
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
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
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
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
liach 0ffc0f985e
Title packets (#2103)
They did some good improvements to packets

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-03-01 10:48:36 +00:00
Alexander 1c8ec7e13c
Update some obvious packet names (#2108)
* Update some obvious packet names

Took 8 minutes

* getInterationType -> getType; style -> overlay

Took 8 minutes

* Revert PlayerInteractEntity, PlayerMove, BossBar, PlayerList, PacketByteBuf

Took 28 minutes
2021-02-28 20:44:19 +00:00
liach e0934a304c
boss bar restored (#2102)
action class names are from mojang enum

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-28 16:33:18 +00:00
modmuss50 1bc0fa389c 21w08a 2021-02-24 19:41:03 +00:00
YanisBft e8d9479647
Refactor and document some world border names (#2040)
* Refactor and document some world border names

* Update WorldBorder.mapping

* Update mappings/net/minecraft/world/storage/SectorMap.mapping

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

* Update mappings/net/minecraft/world/border/WorldBorder.mapping

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-02-18 12:59:46 +00:00
modmuss50 03e20d7d9a 21w07a 2021-02-17 18:45:32 +00:00
liach 24d7940f58
Entity move effect and player position look packet's one field (#2062)
* Entity move effect and player position look packet's one field

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

* Fixes #2080

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-17 18:16:34 +00:00
modmuss50 323e6f8e29 21w05a 2021-02-03 19:34:30 +00:00
haykam821 c230573959
Map custom packet identifiers for game event debugging (#1982) 2021-01-23 21:21:19 +00:00
LambdAurora 1640c6fafd
Add and update filled map related mappings. (#1969)
* Add and update filled map related mappings.

* Fix stuff.
2021-01-21 23:33:35 +00:00
modmuss50 a6ba184207 21w03a 2021-01-20 19:22:41 +00:00
Siphalor 8fba5222be
Some renames concerning the hotbar (#1943)
* Rename HeldItemChangeS2C to match UpdateSelectedSlotC2S

* Fix bad parameter name of swapSlotWithHotbar
2020-12-28 13:08:19 +00:00
haykam821 471e787c32
Fix some boolean getter methods being prefixed with 'get' (#1920)
* Fix some boolean getter methods being prefixed with 'get'

Fixes #1892

* Fix the setter method for thickening fog in the BossBar class being renamed instead of the getter method
2020-12-17 20:04:22 +00:00
modmuss50 9ba8dbc9df 20w51a 2020-12-16 18:52:22 +00:00
Shnupbups d05efed548
20w49a stuff (#1903)
* fuck it i'm committing and going to bed

here's what i got

* lots of misc stuff

haha yes

* Delete class_5700.mapping
2020-12-09 12:21:32 +00:00
modmuss50 db6fa87282 20w49a 2020-12-02 18:29:46 +00:00
YanisBft 40d713533d
Fix javadoc warnings (#1884)
* Fix javadoc warnings

* attempt 2

* attempt 3

* last attempt

* apply juuxel's comment
2020-11-20 17:31:04 +00:00
modmuss50 3e78db4504 20w46a 2020-11-11 19:27:23 +00:00
enbrain c49407c27f
Add mappings for classes related to server resource packs (#1841) 2020-11-06 14:26:35 +00:00
modmuss50 c91f482141 20w45a 2020-11-04 20:44:22 +00:00
Juuxel 45057ca885
Clean up screen packets (#1819)
* ConfirmGuiActionS2C -> ConfirmScreenActionS2C

* GuiCloseC2S -> CloseHandledScreenC2S

* Clarify screen handler closing methods in ServerPlayerEntity

* Fix package

* ConfirmGuiActionC2S -> ConfirmScreenActionC2S

* ClickWindowC2S -> ClickSlotC2S
2020-11-03 18:16:53 +00:00
enbrain 472770efc3
Complete BookUpdateC2SPacket mappings (#1817) 2020-10-31 19:00:50 +00:00
modmuss50 fdad4e06cf 1.16.4-pre2 2020-10-22 17:55:10 +01:00
modmuss50 724d9a0ac4 1.16.4-pre1 2020-10-15 18:34:26 +01:00
YanisBft e6c1a58485
Some fixes (#1757)
* Some fixes

* lightLevel -> luminance

* added javadocs for luminance

* not sure
2020-09-18 13:02:12 +01:00
enbrain b83a107543
Add game mode mappings (#1742) 2020-09-11 18:43:03 +01:00
Kfir Awad 37ee48f77a
Map tracked position stuff in Entity (#1697)
* Map tracked position stuff in Entity

* Map delta position stuff in EntityS2CPacket

EntityS2CPacket seems to sync the entity's tracked position
2020-08-19 14:08:03 +01:00
XjCyan1de 56b0b7a4c2
Update GameJoinS2CPacket.mapping (#1693)
* Update GameJoinS2CPacket.mapping

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

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

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

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

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-08-19 14:07:52 +01:00
TheBrokenRail d7f1eebc54
Add Some Entity Equipment Update Packet Mappings (#1684)
* Add Some Entity Equipment Update Packet Mappings

* Improves Names
2020-08-14 21:29:48 +01:00
modmuss50 29ae1599a6 1.16.2-pre3 2020-08-06 18:19:50 +01:00
modmuss50 a1347ccd43 1.16.2-pre2 2020-08-05 18:08:42 +01:00
shartte 53d9d8da3f
Fix naming of blockState in ChunkDeltaUpdate packet (#1631) 2020-07-30 11:16:58 +01:00
shartte 65873e03a1
Mapped various aspects of sendings chunks to players and ChunkSectionPos. (#1605) 2020-07-29 01:40:32 +01:00
haykam821 a83a057fe4
Map unmapped fields that have getter methods (#1612)
* Map unmapped fields that have getter methods

* Fix the parts field in GhastEntityModel using the same name as its getter method

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

* Update outdated getter method names

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-07-27 19:44:57 +01:00
modmuss50 78fcff22ef 20w30a 2020-07-22 17:29:24 +01:00
Yanis48 f0cb45fab9
Spawn angle mappings (#1581) 2020-07-16 15:46:34 +01:00
modmuss50 8bc6276f19 20w29a 2020-07-15 17:04:53 +01:00
Joseph Burton 7a551e60e3
Dynamic registry manager references (#1577) 2020-07-14 18:31:42 +01:00