Commit Graph

2666 Commits

Author SHA1 Message Date
YanisBft b817650055
Noise parameters and int provider (#2774) 2021-10-22 11:31:08 +01:00
apple502j 0b6737a449
More 21w42a stuff (#2779) 2021-10-22 11:30:50 +01:00
Sarun Intaralawan 21c066062b
Add mapping for new spawn selection algorithm (#2778) 2021-10-22 11:30:13 +01:00
YanisBft db60c2eec2
21w42a particles (#2772)
* 21w42a particles

* Update ClientWorld.mapping
2021-10-22 11:29:42 +01:00
YanisBft 720d928ee9
Biome creators (#2775) 2021-10-22 11:29:31 +01:00
modmuss50 a3a508b7cf 21w42a 2021-10-20 20:37:00 +01:00
apple502j 1e9a8ba415
Rename ChatUtil, add javadoc (#2771)
* Rename ChatUtil, add javadoc

* 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-10-20 15:36:14 +01:00
mschae23 7f07ed765e
Mappings for 21w41a world generation (#2751)
* Started mapping material rules

* More surface builder mappings

* Mappings for chunk generation noise samplers

* Mappings for vanilla surface rules

* Applied review suggestions
2021-10-19 17:26:17 +01:00
Juuxel 0a17f09124
Rename SkyProperties -> DimensionEffects (#2770) 2021-10-19 17:24:08 +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 cd41fa9d2b
21w41a monster XP fields (#2757)
* 21w41a monster XP fields

* Added javadoc

* Update mappings/net/minecraft/entity/mob/Monster.mapping

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

* 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>
2021-10-19 17:17:05 +01:00
apple502j 4f29a712e1
21w41a particles (#2769) 2021-10-18 01:34:15 +01:00
apple502j a5b43d42be
21w41a data (#2768) 2021-10-17 22:16:34 +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 c0d3f0e025
21w41a test (#2758) 2021-10-17 14:49:24 +01:00
enbrain 677a3ebc13
Map GUI stuff (#2762)
* Map GUI stuff

* Apply suggestions from code review

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-10-16 14:01:23 +01:00
Sarun Intaralawan b71c0597b6
AbstractBlock: add mapping for missing method (#2764) 2021-10-16 14:01:03 +01:00
haykam821 d83ada753c
Rename the DeepslateBlockSource class to LayerTransitionBlockSource (#2761)
* Rename the DeepslateBlockSource class to LayerTransitionBlockSource

Fixes #2754

* Finish mapping the LayerTransitionBlockSource class
2021-10-16 14:00:45 +01:00
Sarun Intaralawan 8438693328
VillagerTradeCriterion: Add mapping for condition creation method (#2763) 2021-10-16 14:00:24 +01:00
apple502j cceaba52d5
21w41a network stuff (#2753) 2021-10-16 13:52:39 +01:00
modmuss50 fa2f4838b2 Remove duplicate class mapping + drop invalid mappings. 2021-10-15 17:14:42 +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
mschae23 95cdb93bab
Some 21w40a worldgen mappings (#2732)
* Some 21w40a worldgen mappings

* Some more 21w40a mappings

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-15 16:26:32 +01:00
NotSomeBot 920413739b
name function method_26318 applyMovementInput (#2742)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-15 16:24:40 +01:00
apple502j 0ec9708931
21w40a biome renames (#2738)
* 21w40a biome renames

* Remove surface builder files
2021-10-15 16:24:22 +01:00
Juuxel 7e46e4bee6
Entity sleeping docs + a rename (#2743)
* Document PlayerEntity/LivingEntity sleeping stuff, rename SleepFailureReason.toText -> getMessage

* Refine jd

* Update mappings/net/minecraft/entity/player/PlayerEntity.mapping
2021-10-15 16:23:55 +01:00
Shnupbups 065317d2b3
Random stuff (#2744)
* Random stuff

* more stuff

* just a little more
2021-10-15 16:23:39 +01:00
enbrain 8a87bfc5ec
Map screen stuff (#2750)
* Map screen stuff

* _void -> v

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-10-15 16:23:19 +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
enbrain 5b9509d95b
Restore some stuff lost in 21w41a update (#2752) 2021-10-14 13:04:00 +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
YanisBft 751f892485
Fix some fields not being camelcase (#2739)
Fix #2673
Fix #2674
2021-10-10 22:16:05 +01:00
Jake Potrebic a6ca18d69b
Fix parameter mis-order in BrewingRecipeRegistry (#2734) 2021-10-10 22:13:25 +01:00
apple502j 505c91341a
21w40a random stuff (#2735)
* 21w40a random stuff

* Apply suggestions from code review

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

* Rename GaussianCalculator

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-10-10 22:13:17 +01:00
enbrain ffc4aa6468
Map net.minecraft.command.* (#2726)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-10 22:10:33 +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
Sarun Intaralawan 5e977903e1
Add mappings for BedBlock methods (#2730)
* Change `isBed` to `isBedBelow`

The implementation of this method intends to check if the block **below** is an instance of BedBlock. The method name is changed accordingly.

* Add mappings for remaining method in BedBlock
2021-10-05 17:54:43 +01:00
liach 967ba53ab5
Revamp control to be more accurate (#2513)
* Revamp control to be more accurate

Fixes stepAngleTowards to be clampAngle, 3 mob entity methods

I initially wanted to just map the shulker look control class, turns
out the whole look control system has some wrong names.

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

* Update mappings/net/minecraft/entity/mob/MobEntity.mapping

Co-authored-by: enbrain <69905075+enbrain@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>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-10-04 14:06:44 +01:00
liach 54912de905
Map topological sort; used by vanilla to sort feature generation (#2711)
* Map topological sort; used by vanilla to sort feature generation

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

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

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

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

Co-authored-by: mschae23 <46165762+mschae23@users.noreply.github.com>

* Now this should be less confusing for "any"

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

* Apply suggestions from code review

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: mschae23 <46165762+mschae23@users.noreply.github.com>
2021-10-03 12:52:08 +01:00
haykam821 8281f23728
Rename the MushroomStewItem class to StewItem (#2722)
Fixes #2721
2021-10-03 12:49:43 +01:00
apple502j a27edb8888
21w39a MinecraftClient mapping (#2724) 2021-10-03 12:49:28 +01:00
enbrain 33e893fd8f
Fix build errors (#2727) 2021-10-03 12:48:29 +01:00
apple502j 033356dc68
21w39a util (#2728)
* 21w39a util

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

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-10-03 12:48:20 +01:00
Cammie 3d55cf6afa
changed flyingSpeed to airStrafingSpeed (#2684)
* changed flyingSpeed to airStrafingSpeed

* Added javadocs to airStrafeSpeed

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-03 12:47:33 +01:00
mschae23 89d7a1679c
Terrain generation mappings for 21w37a (#2697)
* Terrain generation mappings for 21w37a

* Added more terrain generation mappings

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: modmuss50 <modmuss50@gmail.com>
2021-10-01 19:09:33 +01:00
Shnupbups 45c3342757
21w39a stuff (#2719)
* 21w39a stuff

* __ -> _

* applied suggestions
2021-10-01 19:02:54 +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
enbrain f51ddcde21
Improve ProjectileEntity (#2715)
* Improve ProjectileEntity

* setProperties -> setVelocity

* Update speed javadoc

* Update divergence javadoc

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-01 19:00:45 +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
liach 2a2bcc8eb8
Map block column itf used for surface build (#2712)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-10-01 18:57:44 +01:00
modmuss50 1db265500d Update for fixed intermediary 2021-09-29 20:52:12 +01:00
Shnupbups de65bc207f
Package info (#2718) 2021-09-29 19:34:09 +01:00
modmuss50 7436b2b1d9 21w39a 2021-09-29 19:08:30 +01:00
liach c9c14ddad6
Fix translation key and display name, close #2693 (#2716)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-09-28 18:24:59 +01:00
liach 2cecd75ae7
Remove links to fandom (#2717)
* Remove links to fandom and polish docs

Fixes #2672

Also maps some params and one private method in state manager

* Remove extra qualification

Co-authored-by: liach <liach@users.noreply.github.com>
2021-09-26 17:34:25 +01:00
mschae23 8f383fa15e
Biome generation mappings for 21w37a (#2690)
* Biome generation mappings for 21w37a

* Fixed new blockstate providers not being in the right package
and added mappings in SurfaceRelativeThresholdDecoratorConfig

* Remove mappings for Range, remove "2D" from block state provider names

* Removed empty mapping file (Range)

* Fixed merge conflicts

* Renamed NoiseCutoffBlockStateProvider -> NoiseThresholdBlockStateProvider
2021-09-26 17:34:16 +01:00
liach 4477b82e21
Map some palette stuff (#2701)
* Map some palette stuff

Required to get javadoc working because singular palette otherwise has access problems

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

* Fix a few visual problems

* More docs and stuff

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

* Rename the array from storage to data as the class is called storage

* lint

* Fix javadoc. Now with this and the sig fix we can get javadoc up again

* Fix some record stuff manually

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

* Fix record component getters and bump mappingpoet

Co-authored-by: liach <liach@users.noreply.github.com>
2021-09-26 13:53:15 +01:00
apple502j 80138462c2
21w38a telemetry (#2705)
* 21w38a telemetry

* Map TelemetryFields.HARDCORE

* Rename MinecraftClient.socialInteractionsService

* Rename to TelemetryConstants

* Rename xuid param
2021-09-26 01:14:23 +00:00
apple502j 93711c1b7d
21w38a JFR (#2703)
* 21w38a JFR

* Rename to FlightProfiler
2021-09-26 01:13:54 +00:00
Shnupbups a346619d8d
21w38a stuff (#2704) 2021-09-24 13:08:11 +01:00
apple502j 56cc7ef391
Yet another 21w38a stuff (#2707)
* 21w38a stuff

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-09-24 13:06:56 +01:00
Player c90f6ad44b Update for intermediary fixes 2021-09-23 20:23:07 +02: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
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
enbrain 8abe3202a8
Fix the parameters of type MatrixStack (#2694) 2021-09-20 16:51:19 +01:00
apple502j 61372ae755
21w37a version and shared constants (#2687)
* 21w37a version and shared constants

* Update mappings/net/minecraft/SaveVersion.mapping

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

* Update mappings/net/minecraft/SharedConstants.mapping

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: modmuss50 <modmuss50@gmail.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-09-18 14:21:41 +00: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
modmuss50 59e55e43fe Map class_6552 as currenly causing issues. 2021-09-17 17:39:19 +01:00
Shnupbups d43dd63f45
21w37a stuff (#2685) 2021-09-17 16:18:49 +01: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 1c48b54960 Update for intermediary fix 2021-09-16 22:55:57 +02:00
Player 3c62b19290 21w37a 2021-09-16 21:06:33 +02:00
frqnny 2575997c1d
FollowTargetGoal -> ActiveTargetGoal (#2561)
* FollowTargetGoal -> TrackClosestTargetGoal

* update with some child class renames too

* Update mappings

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-09-14 21:22:32 +01:00
Xelo 0b4b9aaa85
Update Quaternion.mapping (#2662) 2021-09-14 21:21:59 +01:00
haykam821 5734f310ca
Rename the ServerWorld#handleSleeping method to sendSleepingStatus (#2675)
Fixes #2638
2021-09-14 21:21:50 +01:00
apple502j a0592ba0ce
1.17.1 passive entity stuff (#2664)
* 1.17.1 passive entity stuff

* Update AxolotlBrain.mapping
2021-09-08 12:21:48 +01:00
enbrain ea5508aff0
Add some block documentation (#2667) 2021-09-08 12:21:01 +01:00
liach be93b866e1
Fixes #2643 sound relative (#2658)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-09-08 12:20:34 +01:00
frqnny 9fb70f43fb
Registry ops (#2576)
* First RegistryOps attempt

* use registryManager
2021-09-08 12:20:15 +01:00
enbrain 6970561c32
Fix DrawableHelper parameters (#2668) 2021-09-08 12:19:59 +01:00
apple502j 26dbaa9cce
Backport adjustToAverageHeight mapping (#2663) 2021-09-07 15:14:23 +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
haykam821 973ab21029
Fix the player parameter of methods used for playing sounds in the World class being unclear (#2646)
* Fix the player parameter of methods used for playing sounds in the World class being unclear

* Document the except parameter of methods used for playing sounds in the World class
2021-09-02 12:35:48 +01:00
liach ff3f628029
Fix #2652 broken return tags (#2656)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-09-02 12:35:31 +01:00
deirn 80a35594f5
Add a note for where to get server's actual dynamic registry entries (#2649) 2021-08-31 20:40:36 +01:00
liach 64b428097f
NativeImage new stuff and refactors, significantly improve consistency (#2528)
Fixes #2527

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-08-31 20:40:12 +01:00
haykam821 19070213b2
Rename and document the BedBlock.isOverworld method (#2651)
* Rename the BedBlock.isOverworld method to isBedWorking

Fixes #2645

* Document the BedBlock.isBedWorking method
2021-08-31 20:39:59 +01:00
haykam821 2920a46c96
Rename the StatusEffectType class to StatusEffectCategory (#2648) 2021-08-25 16:26:03 +01:00
haykam821 15d3ef9a79
Rename the GameModeSelectionScreen.GameMode class to GameModeSelection (#2647)
Fixes #2626
2021-08-25 16:25:53 +01:00
haykam821 83b0f873a0
Document the BooleanBiFunction interface (#2493)
* Document the BooleanBiFunction interface

* Fix the documentation for the BooleanBiFunction#CAUSES and BooleanBiFunction#CAUSED_BY fields being incorrect

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-08-25 16:25:38 +01:00
Evan Steinkerchner 755162fb98
Update method mappings in RecipesProvider (#2644) 2021-08-22 22:21:41 +01:00
Juuxel 55c122e987
Rename and document HoeItem tilling names (#2635)
* Rename and document HoeItem tilling names

- TILLED_BLOCKS -> TILLING_ACTIONS (it's not a pure block->block map
  anymore)
- getTillingConsumer -> getTillingAction: more descriptive this way
- usagePredicate -> canUse: more conventional and descriptive name for a
  boolean-returning method

* HoeItem.canUse -> canTill

* Address code review

* Code review part II

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-08-22 22:15:46 +01:00
Jakob K b1b2179711
Improve ChunkStatus mappings (#2619)
* Improve ChunkStatus mappings

* Do not remap non-obfuscated doWork functions
2021-08-22 22:15:13 +01:00
Devan-Kerman c1602ae643
Update Element.mapping (#2641) 2021-08-21 10:37:06 +01:00
enbrain 260577f617
Document key binding instances (#2640)
* Document key binding instances

* 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-08-15 15:17:54 +01:00
白门守望者 35113d5133
Fixed A Mapping Mismatch in A Constructor Method (#2631)
* Fixed A Mapping Mismatch in Constructor Method

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

Yes. This value is for 'replaceable'. Agree.

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-08-13 12:08:22 +01:00
enbrain adf72aa42f
Document whether inclusive or not (#2611)
* Document whether inclusive or not

* Use math interval notations
2021-08-10 10:47:54 +01:00
haykam821 332abd0930
Fix the names of style fields in the CommandSuggestor class indicating the wrong type (#2628)
Fixes #2625
2021-08-10 10:46:46 +01:00
ByMartrixX 5c3acefeeb
Use upper snake case with static final fields (#2624)
* Use upper snake case with static final fields

* Fix fields that I missed
2021-08-07 16:51:52 +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
Jakob K 9dc7addd86
ChunkRegion block placement validation mappings (#2620)
* ChunkRegion block placement validation mappings

* Fix ChunkRegion placementRadius spelling mistake

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

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

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

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

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

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-08-07 11:01:56 +01:00
Devan-Kerman 56ae93966e
Add javadoc to getItemBarStep (#2610)
* Update ItemStack.mapping

* clarify length

* change to return javadoc

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

* change to return javadoc

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-08-02 11:09:59 +01:00
apple502j 19914956ae
1.17.1 arguments stuff (#2606)
* 1.17.1 arguments stuff

* Update mappings/net/minecraft/command/argument/ScoreboardObjectiveArgumentType.mapping

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

* Un-map method_9353

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-07-27 15:45:49 +01:00
Alex O'Neill 4a3b6e7eca
Remove \u200c (#2608) 2021-07-25 18:39:23 +01:00
LambdAurora fd85633178
Unpick lightmap constants. (#2595)
* Unpick lightmap constants.

* Update unpick-definitions/lightmap_coordinates.unpick

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-07-23 13:54:03 +01:00
apple502j bf596421bb
1.17.1 util.math stuff (#2596)
* 1.17.1 util.math stuff

* Map and document some methods

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

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

* Update Direction.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-07-23 13:53:43 +01:00
YanisBft fe859258e3
ChestStateManager -> ViewerCountManager (#2602)
* Bring back containers

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

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

* rename to ViewerCountManager

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

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

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

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

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-07-23 13:53:35 +01:00
marcus8448 e87883ace1
ElderGuardianAppearanceParticle#LAYER -> layer (#2604)
It is not a constant.
2021-07-23 13:53:17 +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
Dimas e56d581682
Rename optional tag provider builder (#2585) 2021-07-21 08:19:06 +01:00
modmuss50 8551f2ee31 Revert "Use automapped names for documented fields (#2571)"
This reverts commit c96f65c814.
2021-07-19 21:49:44 +01:00
Juuxel febccc5477
Color provider improvements (#2553)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-19 14:30:41 +01:00
YanisBft c96f65c814
Use automapped names for documented fields (#2571)
* Use automapped names for documented fields

* forgot those

* update filament
2021-07-19 13:06:35 +01:00
ByMartrixX 1b73d000c1
Ingame screen constant mappings (#2569)
* Ingame screen mappings

* Apply suggestions from code review

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

* Update mappings/net/minecraft/client/gui/screen/ingame/StonecutterScreen.mapping

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-07-19 13:05:42 +01:00
Devan-Kerman ead9e60a81
Rename BakedModel#getSprite to more intuitive name (#2545)
* Update BakedModel.mapping

* Update mappings/net/minecraft/client/render/model/BakedModel.mapping

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

* getSprite -> getModelIcon

* ItemModels#getSprite -> getModelIcon

* BlockModels#getSprite -> getModelIcon

* Update BlockModels.mapping

* Update ItemModels.mapping

* Update BakedModel.mapping

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-07-19 13:05:07 +01:00
YanisBft 15e4d8c166
Rename *Criterion.test methods to trigger (#2564)
* Rename *Criterion.test methods to trigger

* obtainedDate

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-19 12:58:03 +01:00
Juuxel bd19977499
Loot/JSON serialisation improvements (#2554)
* Loot/JSON serialisation improvements

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

* More JsonSerializing renames

* Clarify JD

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-19 12:57:43 +01:00
LambdAurora 2066393724
Map stuff in LightmapTextureManager. (#2591)
* Map stuff in LightmapTextureManager.

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-07-19 12:56:23 +01:00
haykam821 01b2651a3a
Map and document the maximum redirect distance constant in the LightningRodBlock class (#2589)
* Map the maximum redirect distance constant in the LightningRodBlock class

* Document the maximum redirect distance constant in the LightningRodBlock class
2021-07-19 12:55:52 +01:00
ByMartrixX d3d36f60a4
Map Mojang's GLFW constants (#2578)
* Map Mojang's GLFW constants

* scancode -> scanCode
2021-07-14 08:13:09 +01:00
IMS212 662779b615
Rename "bind" and "upload" to "unbind" and "bind" (#2577) 2021-07-13 11:13:43 +00:00
Dogeon188 af24263a0a
AxolotlEntity.Variant naming fix (#2575) 2021-07-13 11:07:02 +00:00
ByMartrixX 552595f20f
Some entity renderer and model mappings (#2566)
* Some entity renderer and model mappings

* More mappings

* Update mappings, add some parameters
2021-07-13 03:05:29 +00:00
liach 734e53a18a
Recipe docs (#2549)
* Recipe docs

Renames to fix #2544 and a few other less impactful ones

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

* Fix doc link

* Funny glossary

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

* thanks yanis for fixes

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-10 12:28:34 +01:00
frqnny 1b8645d951
Rename names around Fireworks to match FireworkRocket (#2556)
* Rename FireworkRocketEntity to FireworkEntity

* Fix requested changes

* Rename FireworkChargeItem to FireworkStarItem

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-10 12:28: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
liach 3e0278676c
rc2 stuff (#2565)
* rc2 stuff

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

* Don't use weird arrow

Co-authored-by: liach <liach@users.noreply.github.com>
2021-07-10 12:27:42 +01:00
ByMartrixX 62fb2bda10
Block render mappings (#2567)
* Block render mappings

* isBlockEntityInRenderDistance -> isInRenderDistance
2021-07-10 12:27:34 +01:00
frqnny b054090c81
Travel javadocs (#2568)
* Travel method javadocs

* moved param doc to param

* fix

* Fix a typo

* Fix a typo 2.0 electric boogaloo

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-07-10 12:27:29 +01:00
enbrain 11f052803c
Fix the parameter of SliderWidget.setValue (#2570)
* Fix the parameter of SliderWidget.setValue

* Fix format
2021-07-10 12:27:23 +01:00
Juuxel 1eee701121
MinecraftClient.openScreen -> setScreen (#2526)
* MinecraftClient.openScreen -> setScreen

Closes #1597.

* Fix javadoc error in Item.Settings

* 'currently opened' -> 'previous'

* Improve jd

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-10 12:27:09 +01:00
LambdAurora 3299249a97
ItemStack refactor and documentation. (#2511)
* ItemStack refactor and documentation.

* shouldSyncNbtToClient -> isNbtSynced

* Fix method name.

* Improve consistency.

* More documentation.

* NBT operations documentation.

* Fix bad link, add Sub part to operations to Sub NBT.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-10 12:26:50 +01:00
modmuss50 648897cd3e 1.17.1-rc2 2021-07-05 16:40:11 +01:00
liach 7c2336e817
Camera projection (#2532)
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-05 16:32:18 +01:00
apple502j 7d14ba4a2f
Map more screens stuff (#2546)
* Map more screens stuff

* Update mappings/net/minecraft/client/gui/screen/DeathScreen.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 isNarratable/BeaconButtonWidget

* narratorTimer -> lastNarrationTime

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-07-05 16:32:12 +01:00
frqnny e727668fbc
Rename BlockBox#empty to BlockBox#infinite (#2558) 2021-07-05 16:32:07 +01:00
frqnny ff0c40d8a1
Misc structure gen mappings (#2559)
* Misc structure gen mappings

* Update javadoc
2021-07-05 16:32:02 +01:00
liach 0bcc427a29
A few unnamed item renderer stuff (#2547)
Signed-off-by: liach <liach@users.noreply.github.com>
2021-07-04 15:39:31 +00:00
liach ab850df1d7
PortalUtil -> BlockLocating, and findColumnEnd (#2514)
Fixes #2510

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-04 01:31:50 +01:00
Juuxel 91c7aa7036
Block.addStacksForDisplay -> appendStacks + docs (#2538)
Closes #2537.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-04 01:31:17 +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
mschae23 d3ce24bdd9
Mapped ore vein and noodle caves generator (#2531)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-01 13:54:48 +01:00
YanisBft f3a7d261e1
Some datafixer methods and fields (#2536)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-01 13:54:37 +01:00
Juuxel 7a6582f2dd
Document SpawnEggItem.getColor (#2539) 2021-07-01 13:54:27 +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
modmuss50 0ad32f2247 1.17.1-pre3 2021-06-30 18:01:37 +01:00
Technici4n 8d5c0505e8
Name missing handled screen method (#2533)
* Name missing handled screen method

* Fix wrong param as well
2021-06-29 17:20:12 +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 4e2c6d333a
41 client constants (#2497)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-28 15:22:36 +01:00
haykam821 73e8c1e92e
Document the DyedCarpetBlock class (#2498)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-28 15:22:20 +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
Alexander 1763ecc994
Some NativeImage methods (#2522)
* Some NativeImage methods

* getColorOrLuminance -> getColor
2021-06-28 15:21:44 +01:00
apple502j ec09b29d49
Map screen handlers (#2523) 2021-06-27 11:18:10 +01:00
ByMartrixX 4af63f77cf
Map debug renderers stuff (#2520)
* Map some things in VillageDebugRenderer

* Map constants in BeeDebugRenderer

* PathfindingDebugRenderer mappings

* StructureDebugRenderer mappings

* GameEventDebugRenderer mappings

* ChunkLoadingDebugRenderer mappings

* GoalSelectorDebugRenderer and HeightmapDebugRenderer mappings

* GameTest, RaidCenter, VillageSections and SkyLight DebugRenderers mappings

* Apply suggestions from code review

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

* getNamesOfVillagersWithPotentialJobSite -> getNamesOfJobSitePotentialOwners and
getNamesOfVillagersWithPointOfInterest -> getNamesOfPointOfInterestTicketHolders

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-06-27 11:13:39 +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
apple502j baec669196
Map resource package params (#2515)
* Map resource package params

* Update mappings/net/minecraft/client/resource/metadata/AnimationFrameResourceMetadata.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-06-24 14:14:30 +01:00
haykam821 be992dfd43
Map lambda parameters in the BooleanBiFunction class (#2516) 2021-06-24 14:14:01 +01:00
liach 743dedee46
some util dynamic stuff (#2502)
* some util dynamic stuff

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

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

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-06-21 12:00:15 +01:00
apple502j 930449aca3
Map realms, again (#2505)
* Map realms, again

* Consistent capitalization of "tooltip"

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

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-06-21 11:59:03 +01:00
haykam821 0d177cd2e2
Rename the createTreeFeature and createLargeTreeFeature methods to indicate that they return a constant reference to a configured feature (#2508)
Fixes #2506
2021-06-21 11:58:53 +01:00
apple502j 45146d364a
Use "tooltip" instead of "toolTip" (#2509) 2021-06-21 11:58:38 +01:00
modmuss50 39bf6bccf6 1.17.1-pre1 2021-06-18 14:36:45 +01:00
jackassmc 62a05f3c86
Map SplashOverlay.renderProgressBar (#2495)
* Map SplashOverlay.renderProgressBar

* Improve renderProgressBar args
2021-06-16 13:06:23 +00:00
Yan Chubikov eb10920c4f
change SplashScreen to SplashOverlay (#2494)
SplashScreen does not extend Screen but instead Overlay.
2021-06-14 03:45:29 +00:00
frqnny e2e461741a
Add mappings to StructurePoolElement (#2489)
* Add mappings to StructurePoolElement

* Update the mappings

* Add one more method
2021-06-12 13:59:03 +00:00
YanisBft 5b8aaf9ec5
Some constants (#2487) 2021-06-12 00:32:38 +01:00
enbrain 44bbc4c531
Rename fontRenderer to textRenderer (#2491) 2021-06-12 00:32:20 +01:00
Frank 1d4e5813b5
Mapping for `TextRenderer method_37296` (#2488) 2021-06-11 11:32:32 +00:00
haykam821 fc64c34532
Document the ProjectileDispenserBehavior class (#2485)
* Document the ProjectileDispenserBehavior class

* Fix a grammatical issue in the documentation for the createProjectile method

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-06-10 09:25:33 +00: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
Draylar d49bf4a58f
JavaDocs for Item and Item.Settings (#1792)
* item mappings

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

Co-authored-by: Gegy <gegy1000@gmail.com>

* Grammar fix from Items's to Item's

Co-authored-by: Gegy <gegy1000@gmail.com>

* fix Item capitalization

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* Fix style issues. Use inline return

* Fix javadoc format error

* Remove periods at the end of inline returns

* Update Item.mapping

Co-authored-by: Gegy <gegy1000@gmail.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>
Co-authored-by: ByMartrixx <bymartrixx@gmail.com>
2021-06-09 00:14:38 +01:00
liach 3320a21d3c
Barebone javadoc for brain, explains why (#2475)
closes #2210, feel free to ask for more

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-09 00:14:21 +01:00
ByMartrixX 979e16e976
Map field_29709 and field_29735 (#2483) 2021-06-09 00:14:10 +01:00
Will 1bbd993937
Correct visibleOnly method name -> ignoreVisibility (#2479)
`visibleOnly` actually sets `respectsVisibility` to `false`
```java
    public TargetPredicate visibleOnly() {
        this.respectsVisibility = false;
        return this;
    }
```
later in `test`, you can see that `respectsVisibility` is correctly named, as precedes the visibility check:
```java
                if (this.respectsVisibility && baseEntity instanceof MobEntity && !((MobEntity)baseEntity).getVisibilityCache().canSee(targetEntity)) {
                    return false;
                }
```

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-07 15:00:32 +01:00
ByMartrixX 0cb9a06afb
Some block constants (#2477)
* Some block constants

* Fix typo, rename field_31008 and name field_31007

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

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

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

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-07 14:46:44 +01:00
apple502j 34eba1a24f
Random 1.17 pre-release stuff (#2476)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-07 14:46:10 +01:00
liach 93ef3bdefa
About entity network ID (#2472)
* About entity network ID

Fixes #2469

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

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

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

* Rename the entity id stuff to just id

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-07 14:45:06 +01:00
YanisBft 6d169d5422
Structure package constants (#2473)
* Structure package constants

* forgot that

* does this matter?

* remove block box prefix

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-07 14:44:50 +01:00
apple502j 23e05df05b
1.17-pre4 client stuff (#2466)
* 1.17-pre4 client stuff

* Apply suggestions from code review

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

* Rename TextHandler methods

* 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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-07 14:42:29 +01:00
ByMartrixX 8ef1ad747e
1.17-rc2 stuff (#2480) 2021-06-07 14:41:08 +01:00
ByMartrixX 6ac3f86f2e
Map some BeeEntity constants (#2462)
* Map some BeeEntity constants

* Fix typo

* Make difficulty the prefix in fields 30289 and 30290

* Rename fields 30291 and 30293

* Apply suggestions from code review

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

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2021-06-07 14:40:36 +01:00
liach e8461bf968
return inlining, up to enchantment package (#2461)
* return inlining, up to enchantment package

see #2454

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

* Apply suggestions from code review

Typos

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-07 14:40:13 +01:00
apple502j 7d8e711671
Map entity methods and params (#2455)
* Map entity methods and params

* Apply suggestions from code review

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

* Rename prevAge, change javadoc

* 1.17-pre3 methods

* Add javadocs

* Update mappings/net/minecraft/entity/damage/DamageSource.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>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-06-06 14:21:56 +00:00
haykam821 d3b85ba3b8
Map the remaining block state fields used in configured features (#2471) 2021-06-05 09:33:13 +00:00
mschae23 885a4c839c
Some world gen mappings (#2457) 2021-06-05 09:32:55 +00: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
Shnupbups 233d572f2c
Random stuff (#2463)
* Stuff

* Apply suggestions from code review

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-06-04 13:02:31 +01:00
LambdAurora 5d1e9d9800
Fixes some bad names and add new docs. (#2465)
* Fixes some bad names and add new docs.

* Fix missing Goal suffix.

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

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

* Apply suggestions from code review

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-06-04 10:57:41 +00:00
apple502j a308aa67e3
Map getLuminanceSupplier methods (#2464)
* Map getLuminanceSupplier methods

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-06-04 07:25:04 +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
modmuss50 a8eaec9181 1.17-pre4 2021-06-02 17:47:23 +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
ByMartrixX 5664605164
Name remaining world event (#2458)
* Name remaining world event

* Add unpick definition, remove trailing space in javadoc

* Revert "Add unpick definition, remove trailing space in javadoc"

This reverts commit 93edb9020c.

* Add unpick definition, remove trailing space in javadoc (this time without extra things)

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-06-02 11:14:12 +01:00
modmuss50 7f35349e0f
Screenshooter -> ScreenshotRecorder (#2456)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-02 11:13:48 +01:00
modmuss50 c13a13d765 1.17-pre3 2021-06-01 17:22:33 +01:00
enbrain 037c2c05f6
Map InGameHud and its inner class (#2450)
* Map InGameHud and its inner class

* Make it a link that goes to the actual field

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

* Update javadoc of renderStatusBars

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2021-06-01 16:43:38 +01:00
apple502j 78c11e972b
Map two new classes used in profiler (#2451)
* Map two new classes used in profiler

* Rename methods

* toProfilerString -> collect

* Name changes for consistency
2021-06-01 16:39:22 +01:00
liach 37f94858b0
status effect source (#2441)
* status effect source

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

* improve docs and update legacy packet handler name

* Another effect cause related method

* 2 vec3d methods seen in projectiles

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

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-01 16:29:19 +01:00
enbrain 10f5de0e61
Fix Entity.dealDamage (#2437)
* Fix Entity.dealDamage

* Rename to applyDamageEffects

* Document what attacker may be

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

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

* Document in the parameter itself

* Link to ProjectileEntity#getOwner()

* Remove period

* Use linkplain

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2021-06-01 16:26:08 +01:00
modmuss50 282fb18a0b 1.17-pre2 2021-05-31 17:31:55 +01:00
enbrain 4cbae4eb7f
Fix swapped names in Matrix3f and Matrix4f (#2453)
* Fix swapped names in Matrix3f and Matrix4f

* first -> major
2021-05-31 17:20:25 +01:00
ByMartrixX bd12181cb1
Map TradeOffers constants (#2449)
* Map TradeOffers constants

* Update mappings/net/minecraft/village/TradeOffers.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-05-31 17:19:40 +01:00
liach da2b442a92
Some required tag details (#2442)
* Some required tag details

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

* Forgot removing capitalizating when adding "Creates and"

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-05-31 17:19:24 +01:00
liach 6ad6ee9694
Some collision stuff, fixes #2443 (#2444)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-05-31 17:18:53 +01:00
ByMartrixX 668e0274c5
Map some shared constants (#2447)
* Map some shared constants

* Update mappings/net/minecraft/SharedConstants.mapping

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

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2021-05-31 17:18:27 +01:00
Emily Rose Alexandra 624433f650
Slot.isEnabled and CommandItemSlot -> StackReference (#2452)
* Fix infuriatingly mismapped Slot method

* CommandItemSlot -> StackReference

* Update command name
2021-05-30 22:10:13 +01:00
enbrain 4757c9a8c4
Map player list hud (#2439)
* Map player list hud

* Remove 'which is'

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

* lasthealth -> lastHealth

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-05-29 12:03:14 +01:00
LambdAurora a0ec4231f8
Entity and entity models documentations (#2431)
* Map some axolotl stuff and start work on entity and entity models documentation.

* Improve entity models documentation.

* Update mappings/net/minecraft/client/model/Model.mapping

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

* More entity model documentation.

* Axolotl brain and tasks.

* Update mappings/net/minecraft/client/render/entity/model/CatEntityModel.mapping

Co-authored-by: liach <7806504+liach@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-05-29 11:52:11 +01:00
YanisBft fa70358202
1.17-pre1 criteria (#2435) 2021-05-28 22:13:43 +00:00
Juuxel 9ccbdabbef
Rename HandledScreen.displayName -> playerInventoryTitle (#2434)
It's the display name of the player inventory, which in
a screen corresponds to its title.
2021-05-28 22:13:28 +00:00
marcus8448 ded034807f
Rename ShapedRecipe#getItemStack to getItem (#2440) 2021-05-28 08:08:52 +00:00
enbrain f59ff97386
Map lambda parameters of record codec instance (#2438) 2021-05-28 08:08:35 +00:00
modmuss50 372c15cf37 1.17-pre1 2021-05-27 18:09:37 +01:00
Alexander 8e7ee74ad5
Screen Narration stuff (#2425)
* Screen Narration stuff

* Function name fixes, removed semi-outdated documentation

* Update mappings/net/minecraft/client/gui/screen/narration/NarrationMessageBuilder.mapping

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

* Update mappings/net/minecraft/client/gui/screen/Screen.mapping

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

* getTitleNarrationMessage -> getNarratedTitle

* net/minecraft/util/ToStringTransformer -> net/minecraft/client/gui/screen/narration/ToStringTransformer

* ToStringTransformer -> Narration

* Update mappings/net/minecraft/client/gui/screen/narration/Narration.mapping

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

* Update mappings/net/minecraft/client/gui/screen/narration/Narration.mapping

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

* Readd lost in merge Screen::remove

* Keep existing clearChildren name

* Update mappings/net/minecraft/client/gui/screen/narration/Narration.mapping

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

* Update mappings/net/minecraft/client/gui/screen/Screen.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-05-26 11:08: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
jackassmc b830235152
Map Minecraft logo outline method (#2432)
* Map Minecraft logo outline method

* Rename to drawWithOutline

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

* Document consumer

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-05-25 20:36:44 +00:00
liach 6be1599808
Model predicate provider registry minor (#2420)
Works well with #2417

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-05-24 14:49:59 +01:00
liach 93ec3e9798
Block list checker for the allowed address resolver (#2418)
Co-authored-by: liach <liach@users.noreply.github.com>
2021-05-24 14:49:41 +01:00
apple502j 32a23a2cb9
21w20a gui (#2421)
* 21w20a gui

* Rename ScreenTexts methods
2021-05-24 14:49:17 +01:00
Shnupbups fd0d13ce44
21w20a stuff (#2417)
* 21w20a stuff

* Apply suggestions from code review

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

* AngledModelEntity

idk about the name but eh

* Update HoeItem.mapping

* Update FoodComponent.mapping

* stuff

* Update ItemCooldownManager.mapping

* Revert "Merge branch '21w20a-stuff' of https://github.com/Shnupbups/yarn into 21w20a-stuff"

This reverts commit 494e736d32, reversing
changes made to c481e02b48.

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-05-24 14:46:09 +01:00
LambdAurora 54b99399c7
Restore lost arguments and map some random stuff (#2426)
* Add back lost arguments.

* Map some random stuff.
2021-05-23 18:12:42 +00:00
apple502j b49df01f65
21w20a util stuff (#2424)
* 21w20a util stuff

* 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-05-23 18:12:20 +00:00
enbrain 0dfe85319d
Rename NPC to Npc (#2423) 2021-05-21 14:29:45 +00:00
Shnupbups 18d8ec67ce
world stuff (#2422) 2021-05-21 14:29:23 +00:00
apple502j 007d1f97a7
21w20a entity (#2413)
* 21w20a entity

* 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-05-21 14:28:57 +00:00
liach 0488093310
Two package info mappings from generatePackageInfoMappings (#2419)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-05-20 14:22:20 +00:00
enbrain 4700861064
Map button lambda parameters (#2416)
* Map button lambda parameters

* spawnNPCs -> spawnNpcs

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

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2021-05-20 14:21:46 +00:00
enbrain 46cc174c3c
Rename gamemode to gameMode (#2415) 2021-05-20 14:21:14 +00:00
apple502j 77e9df8643
21w20a blocks (#2412)
* 21w20a blocks

* Apply suggestions from code review

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

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2021-05-20 14:20:33 +00:00
Player 38f713e4fc 21w20a 2021-05-19 19:20:40 +02:00
liach dba53e8e93
Checks entity flags to unpick (#2406)
closes #2186

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-05-19 12:46:21 +00:00
liach 8fba2a7da0
Ram (#2403)
fixes a few bad names from shunpbups

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-05-19 12:45:47 +00:00
liach 9d99817d84
framebuffer, screenshots, gl info (#2402)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-05-19 12:45:15 +00:00
liach 9d4a721df1
Map noodle cave and aquifer abstracts. I will check details later (#2404)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-05-19 12:44:01 +00:00
liach 784cc5b34b
Abstract button widget renames (#2407)
* Abstract button widget renames

Fixes #1752 and closes #1770

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

* About the message

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

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

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

* Reword javadoc for pressable widget

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-05-19 12:43:44 +00:00
Shnupbups 0510c2b069
misc things (#2409)
* misc things

* 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>

* Update PlayerPredicate.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-05-18 15:38:15 +00: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
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
enbrain 4f1bb0a391
Document KeyBinding.isPressed and KeyBinding.wasPressed (#2393)
* Document KeyBinding.isPressed and KeyBinding.wasPressed

* 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-05-13 06:10:36 +00:00
Shnupbups 4e9beace48
21w19a stuff (#2392)
* 19a

* Update Items.mapping

* things

* datagen stuff
2021-05-13 06:09:53 +00:00
haykam821 74d2d7a232
Map the AbstractBlock#getHardness method (#2391) 2021-05-13 06:09:35 +00:00
Player 8fc50a424d 21w19a 2021-05-12 17:50:44 +02:00
enbrain 42e3aafffa
Map worldgen stuff (#2387)
* Map worldgen stuff

* 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-05-12 13:01:09 +00:00
enbrain a27c5b3aad
Map screen stuff (#2385) 2021-05-12 13:00:33 +00:00
enbrain a4620efe64
Drop invalid mappings (#2384) 2021-05-12 12:59:52 +00:00
enbrain 2ceb5834ac
Map client stuff (#2383) 2021-05-12 12:59:01 +00:00
apple502j 09f346eb81
Client resource reload stuff (#2381)
* Client resource reload stuff

* Apply suggestions from code review

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

* Rename ReloadLogger

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-05-12 12:58:32 +00:00
apple502j a0d779e7b6
Map util stuff (#2386)
* Map util

* Update mappings/net/minecraft/util/snooper/Snooper.mapping

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

* Update mappings/net/minecraft/util/snooper/Snooper.mapping

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

* Rename methods of UserCache

* Revert BooleanBiFunction mappings for now

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-05-08 03:39:34 +00:00
haykam821 c5ebf2eb73
Map new methods added to the AbstractBlock.Settings class in 21w18a (#2382) 2021-05-06 08:48:10 +00:00
haykam821 f5dc49b061
Readd parameter names removed by the update to 21w18a (#2380) 2021-05-05 19:35:14 +01:00
modmuss50 89ac006780 Add back lost mapping 2021-05-05 19:27:31 +01:00
modmuss50 b8cf5bdaef 21w18a 2021-05-05 18:45:23 +01:00
haykam821 f32ff77fb1
Improve documentation for teleport targets (#2379) 2021-05-05 11:57:42 +00:00
enbrain 9278744a19
Map command stuff (#2372) 2021-05-05 11:53:37 +00:00
enbrain 219575789e
Document property classes (#2375)
* Document property classes

* Merge two throws clauses

* Remove time complexity

* Use linkplain tag for the valid name pattern

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

* can take -> has

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

* can take -> contains

* Move notes on the enum class to the class javadoc

* Apply suggestions from code review

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

* Document the exception thrown when the name is invalid

* can take -> contains

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-05-05 11:52:32 +00:00
enbrain a30bafcec5
Map math classes (#2364)
* Map math classes

* Fix typo: rotateZCoutnerclockwise -> rotateZCounterclockwise

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

* Move Rect2i to client/util/math

* Document the range of the return value

* Use @code for range

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

* Revert multiplyModel

* cumulativeProportions -> getCumulativeDistribution

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-05-04 18:25:42 +01:00
Shnupbups 4445120f59
random misc things (#2376)
* random misc things

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-05-04 08:47:40 +00:00
enbrain 17fead3d2e
Refactor coordinate names to follow conventions (#2366) 2021-05-04 08:46:46 +00:00
enbrain 1481c1e9e6
Fix swapped names (#2369) 2021-05-01 04:57:07 +00:00
enbrain d974d8be2b
Map the parameter of all equals methods (#2363) 2021-04-30 17:03:23 +00:00
enbrain d29f5f29a3
Fix the parameter of CommandSuggestor: slashRequired -> slashOptional (#2367) 2021-04-30 17:03:11 +00:00
apple502j f344dece1a
21w17a stuff (#2355)
* 21w17a stuff

* Fix lint failure

* Rename onEntitiesDestroy

* Rename setYaw
2021-04-30 17:02:56 +00:00
Shnupbups daabbb8bff
ore vein stuff (#2356) 2021-04-29 17:13:11 +01: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
haykam821 4da1f7c91e
Rename the NbtCompoundTagArgumentType class to NbtCompoundArgumentType (#2360)
Fixes #2359
2021-04-29 17:12:19 +01:00
haykam821 bd93dbb980
Fix certain shape fields using the legacy naming 'ray trace' (#2354)
Fixes #2332
2021-04-29 00:09:40 +00:00
Player 71cbfa770b 21w17a 2021-04-28 17:44:41 +02:00
apple502j f2217e499c
Map text methods and params (#2351)
* Map text methods and params

* Update mappings/net/minecraft/text/ScoreText.mapping

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

* Fix #2353

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-04-28 14:25:24 +00:00
apple502j f50b55eecf
Map tree params (#2350) 2021-04-28 13:57:24 +00:00
apple502j 4a9c1c8639
Map top level classes (#2349) 2021-04-26 15:42:56 +00:00
apple502j 1597971e90
Map realms (#2347)
* Map realms

* Update mappings/net/minecraft/client/realms/dto/UploadInfo.mapping

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

* Update mappings/net/minecraft/client/realms/task/ResettingWorldTask.mapping

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-04-26 12:22:34 +01:00
enbrain 3d5a2db229
Fix javadoc errors (#2348) 2021-04-25 22:46:10 +01:00
Bohdan Yaroslavtsev c109973ce2
Change Slot.onStackChanged -> Slot.onQuickTransfer (#2346)
Fixes https://github.com/FabricMC/yarn/issues/1656
2021-04-24 14:17:30 +00:00
enbrain 7ad5228217
Document the Vec3d class (#2341)
* Document the Vec3d class

* oops

* reverseSubtract -> relativize

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

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

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

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

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

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

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

* Fix typo

* Fix doc (squared distance)

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-04-24 10:15:45 +01:00
apple502j 90d97a00af
Map tree decorator (#2345) 2021-04-24 10:14:41 +01:00
apple502j a99ec0c4f0
21w16a stuff (#2340) 2021-04-23 19:08:59 +00:00
Shnupbups e0d95e8960
small 21w16a things (#2342) 2021-04-22 11:10:10 +00:00
LambdAurora 21e55899a1
Fix regression and map recipe datagen. (#2339)
* Fix regression and map recipe datagen.

* Update mappings/net/minecraft/data/server/recipe/CraftingRecipeJsonFactory.mapping

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-04-22 10:47:56 +00:00
Player 7f65f51654 Fix src member names in unmatched root classes 2021-04-22 01:15:30 +02:00
Player 0d9ca60b62 21w16a 2021-04-22 00:49:29 +02:00
liach 01f3c5067b
structure piece holder and timed task nested class (#2315)
refactor some broken stuff

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-04-18 13:04:10 +00:00
liach 944e85408f
A few more constant classes (#2319)
* A few more constant classes

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

* Drop the name of class 6148 while keeping the javadocs

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-04-18 13:03:44 +00:00
­Sollace e1aec798d8
Map various render buffer / buffer builder internals (#2324)
* Map various render buffer / buffer builder internals

* Further mappings + added some names from #2312 (@liach)

* 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-18 13:03:07 +00:00
YanisBft 970cb76c9c
Entity flags and other constant fields (#2331)
* Entity flags and other constant fields

* updated unpick
2021-04-18 13:02:39 +00:00