Commit Graph

195 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
Shnupbups e575e9ca64
22w17a stuff (#3120)
* 22w17a stuff

no chat stuff because i'm not good with that stuff

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

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

* Update mappings/net/minecraft/item/GoatHornItem.mapping

* Apply suggestions from code review

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>
2022-05-02 13:52:17 +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 13c4ad0853 22w14a 2022-04-06 21:01:01 +02: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
Player 845467b67e 22w11a 2022-03-16 21:42:31 +01:00
apple502j eb5070e74f
22w06a non-cursed stuff (#2999) 2022-02-10 17:31:50 +00:00
modmuss50 26c319461b 22w03a 2022-01-19 17:26:32 +00:00
apple502j 319406c7cc
Rename onSpawn to onScreenHandlerOpened (#2878)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-11-24 20:18:11 +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 3c56fa2ef6
Server stuff (#2852) 2021-11-19 10:48:47 +00:00
Shnupbups 8d8823dca6
21w44a stuff (#2809)
* 21w44a stuff

* look man idk

* Apply suggestions from code review

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

* Remove things mapped in #2729

* Restore things that shouldn't have been removed

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-11-09 16:55:29 +00:00
Juuxel 391e52a687
Spawn point tweaks and fixes (#2765)
* Spawn point fixes

* "chat message" -> "game message"

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

* Document PlayerEntity.findRespawnPosition

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-10-19 17:19:25 +01:00
Player 4a7974d557 21w41a 2021-10-13 19:18:52 +02:00
Shnupbups 7025a2b539
Dropped invalid mappings (#2747) 2021-10-12 14:38:46 +01:00
modmuss50 1391c4cb97 21w40a 2021-10-07 15:55:57 +01:00
apple502j 3d6d299423
More 21w39a stuff (#2720)
* More 21w39a stuff

* Apply suggestions from code review

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

* Rename some methods

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-10-01 19:02:43 +01:00
Player 3c62b19290 21w37a 2021-09-16 21:06:33 +02:00
haykam821 aec78889d4
Rename and document the ServerPlayNetworkHandler#validateVehicleMove method (#2617)
* Rename the ServerPlayNetworkHandler#validateVehicleMove method to validateMovement

Fixes #2603

* Document the ServerPlayNetworkHandler#validateMovement method

* Rename the ServerPlayNetworkHandler#validateMovement method to isMovementValid

* Fix the name and documentation for the ServerPlayNetworkHandler#isMovementValid method being inverted

* Remove a duplicate word from the documentation for the ServerPlayNetworkHandler#isMovementInvalid method
2021-09-02 12:36:03 +01:00
liach 749c4dcfb3
clarify single player of a server (#2607)
* clarify single player of a server

Fixes #2605

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

* Document online mode and indicate how it relates to singleplayer
status

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

* isSinglePlayer -> isSingleplayer

singleplayer is a mode, single player is the player for the mode

Co-authored-by: liach <liach@users.noreply.github.com>
2021-08-07 11:06:14 +01:00
YanisBft 23dce9491b
Random server mappings (#2512)
* Random server mappings

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

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

* update enigma

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-06-28 15:22:10 +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
modmuss50 39bf6bccf6 1.17.1-pre1 2021-06-18 14:36:45 +01:00
apple502j 3e70d627b7
Map server stuff (#2428)
* Map server stuff

* Apply suggestions from code review

Still need to fix a few things.

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-05-26 03:35:43 +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
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
modmuss50 414cedb22f 21w13a 2021-03-31 19:47:17 +01:00
liach f2b3e55464
Clarify server player's watching position (#2199)
* Clarify server player's watching position

Fixes #2178

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

* Update poor names

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

* Apply suggestions from code review

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-03-30 22:40:35 +01:00
Florens Pauwels 78172ae480
Fix some wrong mappings (#2207)
* updatePose

* Fix wrong method name

* Another mapping fix
2021-03-30 22:36:56 +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
liach 557bcf9478
Map an inner class in server play network handler (#2122)
* Map an inner class in server play network handler

Followup of #2108

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

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-03-12 20:18:18 +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
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
Shnupbups b78585de84
Server package stuff (#1993)
* server stuff

* Delete class_5629.mapping

whoops

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Delete ServerPacketSender.mapping

* Update ServerTickScheduler.mapping

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-02-28 14:40:37 +00:00
modmuss50 03e20d7d9a 21w07a 2021-02-17 18:45:32 +00:00
LambdAurora aaf9d28388
Refactor toTag/fromTag to follow current conventions. (#2037)
* Refactor toTag/fromTag to follow current conventions.

* More refactor.

* Refactor saveSelfToNbt and saveToNbt.

* Include more renames.

* Last automatic batch.

* Update mappings/net/minecraft/structure/StructurePiece.mapping

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

* Fix GitHub resolve conflict error.

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-02-17 18:16:46 +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
liach 3b23315115
Game events stuff. Map 2 unmapped top level classes (#2045)
* Game events stuff. Map 2 unmapped top level classes

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

* Update mappings/net/minecraft/world/event/listener/EntityGameEventHandler.mapping

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

* Update mappings/net/minecraft/world/event/PositionSource.mapping

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-13 17:01:00 +00:00
Shnupbups b9d56158e5
20w51a things (#1918)
* stuff

haha yes

* buckets

* sleeping gamerule thing

* haha yes

* haha yes

* Update mappings/net/minecraft/item/ItemUsage.mapping

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

* Update mappings/net/minecraft/entity/ai/brain/Brain.mapping

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

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

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

* stuff

* things

* whoop

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

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

* Update mappings/net/minecraft/server/world/ServerWorld.mapping

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

* Update mappings/net/minecraft/world/gen/chunk/GenerationShapeConfig.mapping

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

* Update mappings/net/minecraft/world/dimension/DimensionType.mapping

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

* Update mappings/net/minecraft/world/dimension/AreaHelper.mapping

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: modmuss50 <modmuss50@gmail.com>
2020-12-31 14:22:27 +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
Shnupbups b06cc505e0
48a things (#1894)
* 48a things

* stuff

* Apply suggestions from code review

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

* just to get checks running again

* Revert "just to get checks running again"

This reverts commit 509ab81d80.

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2020-12-03 19:50:38 +00:00
YanisBft 768f78c0ac
Game mode stuff (#1899)
* Game mode stuff

* working javadocs are better

* Update TutorialManager.mapping
2020-12-02 14:37:37 +00:00
modmuss50 b4c1720de7 20w48a 2020-11-25 18:55:46 +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
ramidzkh fe6fc12fcd
Chat filtering mappings (#1809)
* Chat filtering mappings

* Map filter methods for in-game strings

* ChatFilterer -> TextFilterer

* Apply suggestions from code review

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

* check -> filter

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-11-04 20:27:32 +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
Juuxel 55a3a2ab06
ServerPlayerEntity.openHandledScreen -> refreshScreenHandler (#1818) 2020-10-31 19:00:41 +00:00
enbrain b83a107543
Add game mode mappings (#1742) 2020-09-11 18:43:03 +01:00
i509VCB 2d8e3034c9
Fix wrong param name in worldChanged (#1626)
(cherry picked from commit c7a1dd2af66af085a2eeee557eb08704f33a6593)
2020-07-29 02:17:36 +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
modmuss50 ba3ba37d98 Drop invalid mapping 2020-07-10 13:06:22 +01:00
i509VCB 52bb8ef4aa
Thinking with portals (part 1) (#1569)
* Thinking with portals (part 1)

* match the method name to return type
2020-07-09 11:00:39 +01:00
modmuss50 b446f6047d 20w27a 2020-07-01 17:44:38 +01:00
i509VCB 476b5d351e
ServerCommandOutput -> RconCommandOutput and a bunch of assorted parameter names (#1475) 2020-06-18 20:16:49 +01:00
Alexander f0d14abde6
Some packet parameters, I guess (#1465)
* Some packet parameters, I guess

* Add cookingFilteringCraftable in RecipeBookData

* Rename itemName to name in RenameItemC2SPacket

* Rename getItemName to getName

* Rename missed parameter blastFurnaceGuiOpen to cookingGuiOpen
2020-06-16 12:43:11 +01:00
modmuss50 3974dc0927 1.16-pre6 2020-06-15 19:17:37 +01:00
Alexander 584cc58d8c
Map UUID in GameMessageS2CPacket (#1466) 2020-06-15 17:39:46 +01:00
modmuss50 49710ba86a 1.16-pre3 2020-06-10 18:05:28 +01:00
liach 8619da580f
A bit entity brain/anger stuff (#1430)
* A bit entity brain/anger stuff

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

* Fix bad name

Co-authored-by: liach <liach@users.noreply.github.com>
2020-06-07 15:33:41 +01:00
modmuss50 0295b1e8d5 1.16-pre1 2020-06-04 20:08:31 +01:00
modmuss50 e9c5c02d50 20w22a 2020-05-29 14:31:34 +01:00
liach 35f45ac7ae
Spawn locating mappings (#1386)
SpawnLocating and ServerPlayerEntity must be in same package

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-05-22 12:43:25 +01:00
modmuss50 4f89f2fdba 20w21a 2020-05-20 17:12:58 +01:00
modmuss50 015995dd3f 20w20a 2020-05-13 18:06:00 +01:00
Joseph Burton 7725dcb827
Lots of entity mappings (#1322)
* Lots of entity mappings

* Apply review suggestions

* Apply more review suggestions

* Tweak drowned and enderman mappings

* Properly rename EndermanEntity.chasing -> provoked

* capChange -> stepTowards
2020-05-06 21:49:35 +01:00
Hephaestus-Dev 32d84d6276
Methods and field relating to player disconnecting (#1331)
* Update ServerPlayerEntity.mapping

* Update ServerPlayerEntity.mapping
2020-05-06 01:43:27 +01:00
liach 104490a2e2
Entity type missing stuff, new server properties (#1312)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-30 11:32:20 +01:00
Yanis48 4a8babd645
Some entity stuff (#1277)
* entity things

* message methods
2020-04-14 15:01:24 +01:00
Yanis48 19270ae02a
Random fixes (#1265)
* bug fixes

* Update BlockEntity.mapping

* abcd -> xyzw

* closes #856
2020-04-07 00:29:55 +01:00
Yanis48 27d4f077fc
RespawnAnchorBlock & related respawn stuff (#1204) 2020-03-18 23:12:00 +00:00
modmuss50 ab907504e7 20w12a 2020-03-18 18:59:27 +00:00
liach 7937cb1803
Some parameter names and corrections (#1183)
* Some parameter names and corrections
Fix the properties handler name conflict in #1145

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

* Update mappings/net/minecraft/server/dedicated/AbstractPropertiesHandler.mapping

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-03-17 20:23:58 +00:00
Prospector 462812a68e
Container -> ScreenHandler (#1106)
* Container -> ScreenHandler

* Fix first set of issues (excluding comments)

* Fix comment issues
2020-03-08 22:18:57 +00:00
Yanis48 168d6b23ec
Random fixes (#1162) 2020-03-08 22:14:25 +00:00
liach b00c92199f
Map new classes, staging (#1122)
Map new classes, staging
2020-02-24 20:14:56 +00:00
qouteall b9aaf4b959
small things (#1130)
* ServerPlayNetworkHandler#method_20630(1) -> isPlayerCollidingWithBlocks

* GameRenderer#method_22973(3) -> getBasicProjectionMatrix

* GameRenderer#method_22709(1) -> loadProjectionMatrix

* Update ServerPlayNetworkHandler.mapping
2020-02-22 23:05:53 +00:00
liach 9b56dd3eec Networking stuff (#1096)
Signed-off-by: liach <liach@users.noreply.github.com>
2020-02-09 14:31:14 +00:00
Yanis48 a39dea0083
Moved all S2C/C2S packets (#1074)
* s2c/c2s packet renamings

* splitted into subpackages
2020-02-02 17:22:46 +00:00
Pyrofab 02ff24644f Entity tracking mappings (#1034)
* EntityTrackerEntry%field_18259 -> receiver

* EntityTrackerEntry#method_18758(1) -> sendSyncPacket

* EntityTrackerEntry#method_14306(0) -> syncEntityData

* EntityTrackerEntry#method_18756(0) -> tick

* EntityTrackerEntry%field_14040 -> trackingTick

* EntityTrackerEntry%field_18258 -> world

* EntityTrackerEntry%field_14051 -> lastTickInVehicle

* EntityTrackerEntry%lastTickInVehicle -> hadVehicle

* EntityTrackerEntry%hadVehicle -> lastInVehicle

* EntityTrackerEntry%lastInVehicle -> hadVehicle

* EntityTrackerEntry%field_18278 -> velocity

* EntityTrackerEntry%field_14043 -> updatesWithoutVehicle

* EntityTrackerEntry#method_18761(0) -> storeEncodedCoordinates

* EntityTrackerEntry#method_18759(0) -> getLastPos

* ThreadedAnvilChunkStorage$EntityTracker#updateCameraPosition(1)[1 = players] -> player

* EntityTrackerEntry#startTracking(1)[1 = <unnamed>] -> player

* EntityTrackerEntry#stopTracking(1)[1 = <unnamed>] -> player

* EntityTrackerEntry#<init>(5)[4 = <unnamed>] -> alwaysUpdateVelocity

* EntityTrackerEntry#<init>(5)[5 = <unnamed>] -> receiver

* EntityTrackerEntry#<init>(5)[1 = <unnamed>] -> world

* ThreadedAnvilChunkStorage$EntityTracker#method_22844(0) -> getMaxTrackDistance

* ThreadedAnvilChunkStorage%field_18307 -> loadedChunks

* MinecraftServer#tick(1)[1 = <unnamed>] -> shouldKeepTicking

* MinecraftServer#tickWorlds(1)[1 = <unnamed>] -> shouldKeepTicking

* ServerWorld#tick(1)[1 = <unnamed>] -> shouldKeepTicking

* ChunkManager#tick(1)[1 = <unnamed>] -> shouldKeepTicking

* ThreadedAnvilChunkStorage#tick(1)[1 = <unnamed>] -> shouldKeepTicking

* SerializingRegionBasedStorage#tick(1)[1 = <unnamed>] -> shouldKeepTicking

* Add javadoc to EntityTrackerEntry methods
2020-01-11 15:59:41 +00:00
liach 260c102750 1.15 pre 5 new mappings and other cumulative new mappings (#996)
Signed-off-by: liach <liach@users.noreply.github.com>
2019-12-05 23:28:21 +00:00
modmuss50 89b749da2a Update enigma for Javadoc support.
Mappings were re-written storing the inner classes at the end of the file.
2019-12-02 13:55:18 +00:00
Juuxel d9a890e5dc Fix various issues (#966)
* Fix various issues

Fixed TextRenderer.draw parameter names. Closes #965.
RabbitEntity.method_20669 -> canSpawn. Closes #956.
Block/Fluid.stateFactory + getters -> stateManager. Closes #957.
MinecraftServer.advancementManager + getter -> advancementLoader.
ServerPlayerEntity.advancementManager + getter -> advancementTracker.
Closes #960.
PlayerManager.getAdvancementManager -> getAdvancementTracker.
PlayerManager.advancementManagerMap -> advancementTrackers.
Fixed typo in StatePredicate.test param name (sate -> state).

* PlayerManager.advancementManagerMap -> advancementTrackers

* liach's suggestion
2019-11-19 14:22:22 +00:00
modmuss50 3bf4ded164 19w45a 2019-11-07 19:37:31 +00:00
Laura F. D d5b9f96390 Some entity mappings (#888)
* Some entity mappings

* Mixed set/getShowsDeathScreen up

* AbstractMinecartEntity mappings

* Bee mapping

* No boolean getters

* Reorder words

* rebase and fix
2019-10-30 15:42:22 +00:00
SPGoding 37a5f80d32 Map and remap things in advancement/criterion and predicate (#907)
* Map and remap names in BredAnimalsCriterion

* Map things in BrewedPotionCriterion

* Map and remap rest things in advancement critetia

* Map something for predicate

* Rename handle -> trigger

* Update mappings/net/minecraft/advancement/criterion/LevitationCriterion.mapping

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

* Update mappings/net/minecraft/advancement/criterion/LevitationCriterion.mapping

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

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

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

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

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

* Update code due to review changes
2019-10-30 14:20:26 +00:00
Juuxel c95856c60f Entity properties (#882)
* Entity stuff

* Better param name

* ServerPlayerEntity.xScore -> lastXScore

* World border improvements and some player/living entity methods

* Remove redundant pos suffix

* Airy renames
2019-10-09 17:44:02 +01:00
modmuss50 363b9de876 Merged #849
Squashed commit of the following:

commit 10e2858763
Author: Joe <burtonjae@hotmail.co.uk>
Date:   Thu Sep 5 15:49:09 2019 +0100

    Rename BlockPlayerActionS2CPacket

commit c3357584bc
Author: Joe <burtonjae@hotmail.co.uk>
Date:   Thu Sep 5 13:55:32 2019 +0100

    Add some player interaction mappings
2019-09-12 14:38:10 +01:00