Commit Graph

666 Commits

Author SHA1 Message Date
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 2cac3f4178
1.18 pre6 stuff (#2869)
* 1.18 pre6 stuff

* Update Biome.mapping

* Update mappings/net/minecraft/world/chunk/BelowZeroRetrogen.mapping

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

* Update mappings/net/minecraft/world/chunk/Chunk.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-11-23 17:24:16 +00:00
apple502j 9729267fb4
1.18-pre6 stuff (#2868)
* 1.18-pre6 stuff

* Apply suggestions from code review

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

* Not sure if this is best but

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-11-23 17:20:47 +00:00
modmuss50 3eb7466178 1.18-pre6 2021-11-22 18:18:04 +00:00
apple502j 7fcda1ad9d
1.18-pre4 structure locating (#2859)
* 1.18-pre4 structure locating

* Remove conflict with #2855

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-11-22 16:08:36 +00:00
Shnupbups 3c56fa2ef6
Server stuff (#2852) 2021-11-19 10:48:47 +00:00
apple502j 4a74cfdf1c
1.18-pre1 stuff (#2823)
* 1.18-pre1 stuff

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

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

* Fix some wrong mappings

* client stuff, related to amplified

* client world stuff

* WorldgenListProvider

* 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-13 13:54:41 +00:00
enbrain 93d4c1a3c4
Rename and document broadcastChatMessage (#2827) 2021-11-12 10:36:37 +00:00
modmuss50 1f0b4b7ebc 1.18-pre1 2021-11-11 18:05:24 +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
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
Shnupbups e8298ad782
21w43a tick stuff and more (#2793)
* oh god oh fuck

* More 21w43a ticking stuff

* just a little bit more

* fix capitalization

* i think it's good now?

* Update WorldTickScheduler.mapping

Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>
2021-11-03 17:59:35 +00:00
apple502j e97477b57e
21w43a stuff (#2790)
* 21w43a stuff

* Fix stuff again

* Fix stuff again x2

* A few renames
2021-10-28 11:21:02 +01:00
modmuss50 97a0f3a782 21w43a 2021-10-27 18:08:35 +01:00
apple502j 0b6737a449
More 21w42a stuff (#2779) 2021-10-22 11:30:50 +01:00
modmuss50 a3a508b7cf 21w42a 2021-10-20 20:37:00 +01: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
apple502j 67b9a79265
21w41a server world (#2756)
* 21w41a server world

* Fix indent

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

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

* Apply suggestions from code review

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

* 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>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-10-17 14:49:30 +01:00
apple502j fceec45e09
Fix glitched merge in ThreadedAnvilChunkStorage (#2760) 2021-10-15 16:41:35 +01:00
apple502j 32a862fbda
21w41a stuff (#2749)
Co-authored-by: modmuss50 <modmuss50@gmail.com>
2021-10-15 16:30:33 +01:00
Shnupbups 065317d2b3
Random stuff (#2744)
* Random stuff

* more stuff

* just a little more
2021-10-15 16:23:39 +01:00
apple502j e72854304a
21w41a brand (#2748)
* 21w41a brand

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

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

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

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

* Renames

* Apply suggestions from code review

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: liach <7806504+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>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-10-15 16:22:53 +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
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
liach 0f428dacb4
simulation distance level propagator (#2714)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-10-01 18:58:01 +01:00
modmuss50 7436b2b1d9 21w39a 2021-09-29 19:08:30 +01:00
Shnupbups a346619d8d
21w38a stuff (#2704) 2021-09-24 13:08:11 +01:00
Player 2f4b31c7df 21w38a 2021-09-23 18:35:53 +02:00
liach d6eb4319f4
Restore some stuff lost in 54f0920bc0 (#2695)
and furnish, closes #2686

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-09-20 16:52:01 +01:00
apple502j 69e93f720a
21w37a misc stuff (#2689)
* 21w37a stuff

* Apply suggestions from code review

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

* Revert BlockEntity change

* Apply suggestions from code review

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

* Move Range to util/dynamic

* Map SoundEngine init param

* Un-map BlockEntityUpdateS2CPacket#fromBlockEntity

* Move random classes to /world/gen/random/

* Update mappings/net/minecraft/util/dynamic/Range.mapping

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

* Apply suggestions from code review

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

* Rename to BlockPredicatesChecker

* Remove empty comment

* 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>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-09-20 16:51:40 +01:00
apple502j 1866662e34
21w37a native modules (#2688)
* 21w37a native modules

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-09-18 14:19:39 +00:00
apple502j 639f0163d8
21w37a JFR forwardport (#2682)
* 21w37a JFR forwardport

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

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-09-17 16:18:41 +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
haykam821 5734f310ca
Rename the ServerWorld#handleSleeping method to sendSleepingStatus (#2675)
Fixes #2638
2021-09-14 21:21:50 +01:00
haykam821 3bebac04cd
Rename the OperatorList#isOp method to canBypassPlayerLimit (#2666)
Fixes #2665
2021-09-07 15:13:56 +01: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
Juuxel afae2e2033
Game test fixes and additional docs (#2598)
* Game test fixes and additional docs

* Update mappings/net/minecraft/server/command/TestCommand.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-07-22 23:21:26 +01:00
liach d88f9e4804
Update toolchain and fix minor javadoc problems (#2563)
* Update toolchain and fix minor javadoc problems

Fixes #2518 and resolves gradle warnings

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

* update java version in comment as well

* remove obsolete comment (didn't forsee mojang would go java 16)

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

* beautify this as well

* at least javadoc won't stall for 10 minutes now

still after 5 minutes of building there is a daemon with 4G ram usage

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

* Use more friendly format to set properties

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-10 12:28:14 +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
liach 1cc9733ae3
Sampler changes (#2478)
* Fully mapped sampler

now they are mostly on server, and a few refactors

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

* Missing old name

Co-authored-by: liach <liach@users.noreply.github.com>
2021-06-28 15:22:54 +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
YanisBft 86a0f7ffb8
Some client mappings (#2481)
* Some client mappings

* Update mappings/net/minecraft/client/gui/widget/EntryListWidget.mapping

Co-authored-by: ByMartrixX <47987888+ByMartrixx@users.noreply.github.com>

* Update mappings/net/minecraft/client/gui/widget/EntryListWidget.mapping

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

Co-authored-by: ByMartrixX <47987888+ByMartrixx@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-09 00:16:31 +01:00
liach c096068118
Map perfcommand (incomplete) and fix zip compressor mappings (#2459)
* Map perfcommand (incomplete) and fix zip compressor mappings

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

* Fix perf command (after rebasing)

Co-authored-by: liach <liach@users.noreply.github.com>
2021-06-05 09:32:32 +00:00
ByMartrixX b96c56fcd5
Map /perf command (#2460)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-03 22:00:12 +01:00
modmuss50 407aab9955 1.17-pre5 2021-06-03 19:30:06 +01:00
Shnupbups 24a6894e06
1.17-pre1 stuff (#2436)
* 1.17-pre1 stuff

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

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

* a

* removed a mappings

* Update SignBlockEntityRenderer.mapping

* Update MinecraftServer.mapping

* more things

* Apply suggestions from code review

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>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-06-02 16:35:05 +01:00
liach 382232eee2
Some function stuff (#2433)
* Some function stuff

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

* typo

* This is actually only used by scheduled/tick functions

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

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-02 15:42:32 +01:00
modmuss50 372c15cf37 1.17-pre1 2021-05-27 18:09:37 +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 38f713e4fc 21w20a 2021-05-19 19:20:40 +02:00
enbrain 5e4c0ebad9
Fix GameModeCommand.setGameMode (#2396) 2021-05-13 19:50:49 +00:00
apple502j ab451cdd06
Map command stuff, again (#2397) 2021-05-13 16:59:44 +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
haykam821 f5dc49b061
Readd parameter names removed by the update to 21w18a (#2380) 2021-05-05 19:35:14 +01:00
modmuss50 b8cf5bdaef 21w18a 2021-05-05 18:45:23 +01:00
enbrain 9278744a19
Map command stuff (#2372) 2021-05-05 11:53:37 +00:00
haykam821 1317eb48c0
Make the parameter for equals methods consistent (#2361)
* Make the parameter for equals methods consistent

Fixes #2299

* Add conventions for the correct parameter for equals methods
2021-04-29 17:12:46 +01:00
Player 71cbfa770b 21w17a 2021-04-28 17:44:41 +02:00
apple502j a99ec0c4f0
21w16a stuff (#2340) 2021-04-23 19:08:59 +00: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
haykam821 fbad72f5e9
Remove unnecessary paragraph end tags from documentation (#2295)
* Remove unnecessary paragraph end tags from documentation

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

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

Co-authored-by: modmuss50 <modmuss50@gmail.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-04-11 13:08:07 +01:00
Shnupbups 19c661296a
more 21w14a stuff (#2300)
* stuff

mostly client stuff

* Apply suggestions from code review

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

* 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-04-10 18:09:14 +01:00
enbrain 9668c58132
Drop uuid suffix from senderUuid (#2306) 2021-04-10 14:04:57 +01:00
­Sollace 67225d43f5
Map some constants found in the world classes (#2288)
* Map some constants found in the world classes

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

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

* ENTITY_TICK_FREQUENCY -> SERVER_IDLE_COOLDOWN

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-04-08 10:41:09 +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
apple502j 52b23df471
Map two debug commands (#2219) 2021-04-01 21:14:34 +01:00
apple502j 14d298d55e
Map RaidCommand and new raid methods (#2218) 2021-04-01 09:00:11 +01:00
modmuss50 c98e6786a5 21w13a fixes 2021-03-31 19:56:17 +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
apple502j c1b955a249
Map parameters of commands (#2192)
* Map parameters of commands

* Fix typo
2021-03-26 18:10:01 +00:00
i509VCB 783ee457f8
Some server javadoc (#2169)
* Some server javadoc

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

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

* 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-03-26 12:54:19 +00:00
enbrain 80fa3fa325
Add misc javadoc (#2170)
* Add misc javadoc

* hearts -> half-hearts

* Use passive voice

Co-authored-by: SuperCoder79 <25208576+SuperCoder7979@users.noreply.github.com>

Co-authored-by: SuperCoder79 <25208576+SuperCoder7979@users.noreply.github.com>
2021-03-21 13:14:31 +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
enbrain a7499acef9
Fix javadoc error in SleepManager (#2114) 2021-03-04 21:52:44 +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
liach ec3597979c
Map the new SleepManager (#2087)
* zzz

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

* Fixed some bad stuff and more docs

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-27 10:56:42 +00:00
modmuss50 1bc0fa389c 21w08a 2021-02-24 19:41:03 +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 9608672d4e
entity tracking listener (#2033)
* entity tracking audience

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

* Audience -> listener

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-13 21:48:18 +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
liach 288f20b7d5
Map atomic stack (#2054)
* Map atomic stack

Now all top level classes are mapped, or at least have a pr that maps them

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

* Update mappings/net/minecraft/util/thread/AtomicStack.mapping

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-13 13:04:32 +00:00
liach 47bdb3b9e4
Entity stuff, see #1905 (#1967)
* Squash the review stuff

Co-authored-by: Henry <obw@generalprogramming.org>
Co-authored-by: Thalia Nero <chrisvn00@gmail.com>

commit b9e91de684
Author: Henry <obw@generalprogramming.org>
Date:   Fri Jan 1 18:06:37 2021 +0000

    Apply some cleanup from code review

    Also removes some bits not present in 20w51a

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

commit e9f0cea6e7
Author: Henry Le Grys <henry@legrys.info>
Date:   Wed Dec 9 19:40:28 2020 +0000

    Add javadocs for MessageListener

commit a6fe16a9cd
Author: Henry Le Grys <henry@legrys.info>
Date:   Wed Dec 9 18:31:29 2020 +0000

    Apply some suggestions to clean up

    - Restored missing Entity methods
    - Fixed comment reference
    - Unmapped generic `flagSet`-named methods

commit cbacd58a0a
Author: Henry Le Grys <henry@legrys.info>
Date:   Thu Dec 3 18:56:45 2020 +0000

    Apply some suggestions & map extra names

commit 411b92b91f
Merge: c5287fed0 c0a046c66
Author: Henry Le Grys <henry@legrys.info>
Date:   Thu Dec 3 17:55:40 2020 +0000

    Merge 20w49a into world-entity

commit c5287fed06
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Wed Nov 11 23:18:02 2020 -0500

    listener -> handler

commit 490818513e
Merge: d74d922b0 3465a1132
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Sun Nov 8 14:53:43 2020 -0500

    Merge branch '20w45a' into world-entity

commit d74d922b0b
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Sat Nov 7 15:28:32 2020 -0500

    Update mappings from review.

commit fbb44ecbb9
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Sat Nov 7 01:51:17 2020 -0500

    Some docs and mapping of methods called by the entity stuff.

commit 095711c00a
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Sat Nov 7 01:28:23 2020 -0500

    Some parameters and mappings.

commit caea9fed00
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Sat Nov 7 01:14:33 2020 -0500

    Filter -> TypeFilter

commit 9d82f4bcc4
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Fri Nov 6 20:19:18 2020 -0500

    Map ChunkStatusChangeListener.

commit 4699e0991e
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Fri Nov 6 20:11:11 2020 -0500

    Map more entity loading stuff.

commit 8a30358ef2
Merge: 6d0aa8cff ee05e2b40
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Fri Nov 6 18:10:03 2020 -0500

    Merge branch '20w45a' of github.com:FabricMC/yarn into world-entity

commit 6d0aa8cff7
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Fri Nov 6 03:43:11 2020 -0500

    Map a lot of entity world interaction shenanigans. Feeling tired might remap later.

* Extra classes

* tweaks

* Revert some refactors

* meh, enigma bad

* move entitylike to world as it's more s/l related than actual entity

* Eliminate the "group"

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

* Bunch renames, should make sense now

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

* Fix javadoc types

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

* Human-friendly name for synthetic fields in case they appear

* rename

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-10 19:35:29 +00:00
modmuss50 16b9ec5cf2 21w06a 2021-02-10 18:42:45 +00:00
liach 9526a4af9f
Refactored some cursed height limit view names (#2027)
* Refactored some cursed height limit view names

They were either confusing or plainly wrong

Fixed a few javadoc problems

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

* embellish javadoc

* Update mappings/net/minecraft/world/HeightLimitView.mapping

* Update mappings/net/minecraft/world/HeightLimitView.mapping

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

* height is a better name

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

* Update mappings/net/minecraft/world/HeightLimitView.mapping

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-07 13:30:35 +00:00
modmuss50 323e6f8e29 21w05a 2021-02-03 19:34:30 +00:00
YanisBft 85fa278887
21w03a stuff (#1964)
* 21w03a stuff

* Update mappings/net/minecraft/client/render/entity/ItemFrameEntityRenderer.mapping

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

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2021-01-22 13:36:31 +00:00
liach 256df6a630
Switch to mappingpoet 0.2.0 (#1934)
* Switch to mappingpoet 0.2.0

Now includes obf name in javadoc. Though it takes longer to generate

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

* removed the global toolchain version requirement

enable a few superstrict doclints (won't fail build) and we are now compliant!

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-01-21 18:44:55 +00:00
modmuss50 a6ba184207 21w03a 2021-01-20 19:22:41 +00:00
YanisBft defc875022
World stuff (#1953) 2021-01-09 19:58:01 +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
Szum123321 27a3bc7045
Added docs for MinecraftServer.save() (#1909)
* couple of SplashScreen names (#1766)

* couple of SplashScreen names

* Update SplashScreen.mapping

* Update MinecraftServer.mapping

Added save method comment and gave names to its arguments.

* Bad indentation

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

Co-authored-by: SuperCoder79 <25208576+SuperCoder7979@users.noreply.github.com>

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

Co-authored-by: SuperCoder79 <25208576+SuperCoder7979@users.noreply.github.com>

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

Co-authored-by: SuperCoder79 <25208576+SuperCoder7979@users.noreply.github.com>

* Changed naming convention.

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

* Changed naming convention.

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

* Changed naming convention.

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

Co-authored-by: LoganDark <logandarklock@gmail.com>
Co-authored-by: SuperCoder79 <25208576+SuperCoder7979@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-12-25 23:26:08 +00:00
zml 9a9470a6fa
Map some of the unmapped parts of functions (#1928) 2020-12-23 21:43:49 +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
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
modmuss50 db6fa87282 20w49a 2020-12-02 18:29:46 +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
YanisBft 7ef965e06e
20w46a loot stuff (#1867) 2020-11-14 12:11:22 +00:00
YanisBft 8b0ff579df
20w46a item command (#1866) 2020-11-12 08:53:30 +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
i509VCB 081cd51667
Initial entity management mappings (#1845)
There are a few unnamed classes but I feel those need a further look for their purpose or discussion on proper names.
2020-11-05 23:40:31 +00:00
YanisBft d95ce7eacd
Misc 20w45a things (#1832) 2020-11-05 09:36:10 +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
Glitch 74eea685be
Some command mappings (#1822) 2020-10-28 11:02:37 +00:00
modmuss50 fdad4e06cf 1.16.4-pre2 2020-10-22 17:55:10 +01:00
i509VCB bca5ecf1f4
Some server javadoc and mappings (#1800)
* Some server mappings, mostly server related javadoc

* empty comment gone

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

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

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

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

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

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

* Apply suggestions from code review

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2020-10-20 17:56:12 +01:00
viktor40 8522b18add
Completed mappings for BellBlockEntity (#1797)
* added mapping for field_19158
added mapping for method_20523

* changed glowEntity to applyGlowToEntity for consistency and clarity sake.

* Completed missing mappings in ServerWorld
2020-10-13 08:54:19 +01:00
enbrain 51ddbb2207
Add mappings to MinecraftServer (#1741) 2020-09-25 11:31:35 +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
enbrain 5642461bde
Add mappings for ChunkTicketType fields (#1712) 2020-08-27 09:21:27 +01:00
enbrain 5f460cbebf
Add debugWorld mappings (#1722) 2020-08-27 09:20:57 +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
i509VCB 91afa753ef
Assorted mappings and a bunch of param names (#1620)
* Assorted mappings

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

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

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-08-04 08:39: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
shartte 65873e03a1
Mapped various aspects of sendings chunks to players and ChunkSectionPos. (#1605) 2020-07-29 01:40:32 +01:00
Gegy d51da147c1
Refactors to ThreadedAnvilChunkStorage and ChunkHolder generation logic (#1542)
* Refactors to ThreadedAnvilChunkStorage and ChunkHolder generation logic

* revert statusListeners

* improve consistency of future-returning functions

* ChunkHolder.ticking -> accessible

* Update ChunkStatus "distance from full" mappings and name ChunkHolder#future more specific to saving

* Remove `await` prefix for consistency
2020-07-28 20:13:22 +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
Gegy 5fe0eb0121
Improve ChunkTaskPrioritySystem mappings (#1541) 2020-07-21 18:10:00 +01:00
Thalia Nero fa9df32fd8
Disambiguate and document getEntities methods (#1514)
* Disambiguate and document getEntities methods

* Apply suggestions from code review

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

* Edit param docs

* Edit return docs

* periods are terrible

* Apply suggestions from code review

Changes to some parameter docs to reflect method naming.

Co-authored-by: i509VCB <i509vcb@gmail.com>

* getSurroundingEntities -> getOtherEntities

* clarify 'subclass'

* Some clarification

* Remove unnecessary exception specification

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
Co-authored-by: i509VCB <i509vcb@gmail.com>
Co-authored-by: modmuss50 <modmuss50@gmail.com>
2020-07-16 16:08:44 +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
modmuss50 ba3ba37d98 Drop invalid mapping 2020-07-10 13:06:22 +01:00
i509VCB 73f3f96ff9 Actually describe vague "checkChunk" methods. (#1548)
* Actually describe vague "checkChunk" methods.

These are quite vague, and the profiler call is all we really have to go off of.

From looking around the codebase, these methods validate the entity's chunkX/Y/Z positions are correct. If the entity's last and current chunk pos are not the same, move the entity to it's new chunk (which also changes the chunkX/Y/Z values to the correct ones).

Oh and some synthetic method params while I was at it.

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

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

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

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

* Update mappings/net/minecraft/client/world/ClientWorld.mapping

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

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

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

* Update mappings/net/minecraft/client/world/ClientWorld.mapping

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

* match method name

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-07-10 13:04:35 +01:00
Filip Weiss 79511e488a
ServerWorld: add weather and time mappings (#1570)
* ServerWorld: add weather and time mappings

* ServerWorldProperties: set time methods
2020-07-09 18:43:08 +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
liach cb3132d249
RateLimitedConnection (#1564)
* RateLimitedConnection

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

* Hack

Co-authored-by: liach <liach@users.noreply.github.com>
2020-07-09 10:55:55 +01:00
modmuss50 c8192e4d36 20w28a 2020-07-08 18:49:17 +01:00
i509VCB 12aab80a83
Document some bits of Spawner. (#1547)
* Document some bits of Spawner.

* Update mappings/net/minecraft/world/gen/PillagerSpawner.mapping

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

* captain

* Update Spawner.mapping

* Update mappings/net/minecraft/world/gen/Spawner.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-07-07 22:52:20 +01:00
modmuss50 b446f6047d 20w27a 2020-07-01 17:44:38 +01:00
i509VCB ec7bed90ba
Some command source docs, remove a few old Registry tracker names and some world data stuff (#1522) 2020-06-30 20:08:39 +01:00
Joseph Burton d3e8fd1935
Fix lots of spelling errors throughout yarn (#1506)
* Fix lots of spelling errors throughout yarn

* Delete empty comment
2020-06-24 17:34:48 +01:00
Yanis48 c72ab7649e
Some fixes (#1481)
* Some fixes

* FeaturePiece -> StructurePiece
2020-06-20 19:51:40 +01:00
Shnupbups 987aa1a483
1.16 pre3 things (#1459)
* stuff

mapped every class except 5395 because i dont understand codecs lol

* dont mind me

* there we go

* Apply suggestions from code review

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

* Update mappings/net/minecraft/entity/ai/goal/UniversalAngerGoal.mapping

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

* Update mappings/net/minecraft/entity/passive/WolfEntity.mapping

Co-authored-by: jadon <jadonflower@gmail.com>

* Update EditGameRulesScreen.mapping

* 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>
Co-authored-by: jadon <jadonflower@gmail.com>
2020-06-18 20:17:05 +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
i509VCB 50de34711b
Data and Server startup mappings (#1423)
* Data and Server startup mappings

* Actually, lets fix that param name and do another method

* Update MinecraftClient.mapping

* Update MinecraftClient.mapping

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

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

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

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

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

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

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

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

* DataPackSettings

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-06-07 17:29:18 +01:00
i509VCB 428928b420
A bunch of param names (#1436) 2020-06-07 16:01:40 +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
TheBrokenRail 2a67772669
Add Some Missing Mappings (#1433)
* Add Some Missing Mappings

* Add ClientWorld.tickTime
2020-06-07 15:20:57 +01:00
i509VCB baf212f894
Document chunk tickets (#1408)
* Document chunk tickets

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

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

* Revert rename here

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-06-05 11:37:02 +01:00
i509VCB 8af4a75889
Some small command manager things (#1421)
* Some small command manager things

* RegistrationRule -> RegistrationEnvironment
2020-06-05 11:36:52 +01:00
modmuss50 0295b1e8d5 1.16-pre1 2020-06-04 20:08:31 +01:00
modmuss50 e1c2ee273f
A handful of random mappings (#1417)
* A handful of random mappings

* follow the conventions lol

* Review tweaks

* and this
2020-06-04 16:49:10 +01:00
i509VCB 1d2c617b87
World related mappings and docs (#1407)
* World related mappings.

* Update mappings/net/minecraft/world/BlockView.mapping

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

* Update mappings/net/minecraft/world/WorldView.mapping

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-06-01 22:36:30 +01:00
Yanis48 8b0ccf32d2
Datapack failure screen (#1406)
* Datapack failure screen

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

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

* shouldHideMessage -> shouldBlockMessages

* add docs

* oups

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-06-01 22:36:23 +01:00
Deximus-Maximus 2fbbb01395
Misc. Issue Resolution (#1401)
* PlayerAbilitiesS2CPacket.fovModifier -> walkSpeed (#1392)

* GameJoinS2CPacket seed -> sha256Seed (#1360)

* checkBlockRerender -> scheduleBlockRerenderIfNecessary (#1332)

* StatusEffectType -> StatusEffectCategory (#1036)
StatusEffect -> StatusEffectType
StatusEfectInstance -> StatusEffect
(and related names)

* SettingsScreen -> OptionsScreen (#787)
AccessibilityScreen -> AccessibilityOptionsScreen
Moved OptionsScreen to options package with all the other options screens

* Finishes making maximum/minimum -> max/min (#672)
(the ones in TreeDecoratorConfig as they have no postfix)

DefaultBiomeFeatures moved to world/gen/feature from world/biome (#667)

* fix missing file

* Revert "StatusEffectType -> StatusEffectCategory (#1036)"

This reverts commit 07f887a3d2.

* fix capitalization

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

* Update mappings/net/minecraft/client/render/WorldRenderer.mapping

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

* Update mappings/net/minecraft/client/render/WorldRenderer.mapping

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

* Update mappings/net/minecraft/client/render/WorldRenderer.mapping

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

* Update mappings/net/minecraft/world/World.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>
2020-05-30 19:31:17 +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
Yanis48 ccc0a44671
Map most of DimensionType (#1378) 2020-05-20 21:29:52 +01:00
modmuss50 4f89f2fdba 20w21a 2020-05-20 17:12:58 +01:00
Joseph Burton 21ff19a1b9
20w20b mappings (#1355) 2020-05-14 12:34:17 +01:00
modmuss50 ee7f594111 20w20b 2020-05-14 11:14:04 +01:00
modmuss50 015995dd3f 20w20a 2020-05-13 18:06:00 +01:00
Yanis48 e72a65b900
Command stuff (#1330)
* Command stuff

* TeamsgCommand -> TeamMsgCommand
2020-05-07 22:21:09 +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
Joseph Burton d31805d0b7
Block Action -> Synced Block Event. Level Event -> Synced World Event (#1323)
* block action -> synced block event, level event -> synced world event

* Missed a couple, made parameters consistent
2020-05-02 21:29:07 +01:00
liach 001998d876
Spawn mappings (#1316)
* Spawn mappings

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

* Updates some stuff per juuz suggestion

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-05-02 13:31:15 +01:00
liach 2e74ea5a2f
Advancement new stuff and refactor old bad names (#1310)
* Advancement new stuff and refactor old bad names

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

* loader/saver -> deserializer/serializer

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-05-02 13:31:08 +01:00
Yanis48 1f2d9d7e4b
Bring back the parameters (#1307)
* Bring back the parameters

* better

* isBlock -> matches

* matches -> is / isOf
2020-05-02 13:31:02 +01:00
­Sollace 607197f5d9
Rcon (#1313)
* RconServer -> RconListener (Mojang name)

* Mapped some missing names and params in Rcon
2020-05-01 14:55:34 +01:00
i509VCB 07205b5cbc
Some javadoc and param names in mostly server related classes. (#1278)
* Some javadoc and param names in mostly server related classes.

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

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Update mappings/net/minecraft/server/rcon/RconBase.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Make javadoc a bit nicer

* fixes 2

* Update ArgumentTypes.mapping

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-04-30 12:19:49 +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
modmuss50 9a617e4707 20w18a 2020-04-29 17:24:56 +01:00
Kroppeb 8bf2b067a9
Renamed `createBossBar` to the more apropriate `getBossBar` (#1304) 2020-04-28 22:58:47 +01:00