Commit Graph

791 Commits

Author SHA1 Message Date
modmuss50 ceb3a205fb 1.18.2-pre2 2022-02-21 16:09:06 +00:00
apple502j 20e6725f2c
22w07a stuff (#3013)
* 22w07a stuff

* Update Registry.mapping

* Apply suggestions from code review

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

* registryKeys -> keys

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-18 22:44:32 +00:00
Jake Potrebic fb1700efe5
Remove reference to wool (#3021) 2022-02-18 18:35:12 +00:00
modmuss50 e268e3d958 1.18.2-pre1 2022-02-18 17:15:29 +00:00
Player fd8c5a7486 22w07a 2022-02-16 19:13:28 +01:00
apple502j ab17c13eb1
22w06a more cursed stuff (#3004)
* 22w06a more cursed stuff

* Even more cursed stuff

* Finish mapping cursed stuff

* Revert move

* Fix javadoc lint

* Update mappings/net/minecraft/util/registry/RegistryEntryListCodec.mapping

Co-authored-by: Shnupbups <shnupbups@gmail.com>

* 6903 is RegistryOps

* Copy javadocs

* More fixes

* Fix invalid mapping

* Apply suggestions from code review

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

* Rename RegistryCodecs methods

Co-authored-by: Shnupbups <shnupbups@gmail.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2022-02-16 15:57:25 +00:00
apple502j 3fa5f241ce
22w06a more tags/registries stuff (#3003)
* 22w06a more tags/registries stuff

* rename to getIndexedEntries
2022-02-12 17:04:11 +00:00
haykam821 3e9aadc6d2
Map structure placements (#2997)
* Map structure placements

* Update mappings/net/minecraft/world/gen/chunk/placement/StructurePlacementType.mapping

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

Co-authored-by: modmuss50 <modmuss50@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2022-02-11 08:56:39 +00:00
Shnupbups 81898922c6
22w06a stuff (#2996)
* man wtf is this

* Revert "man wtf is this"

This reverts commit 8e63ae95e9.

* oh gosh oh heck what is this

* why

* seriously

* Update RegistryEntryList.mapping
2022-02-10 18:47:38 +00:00
haykam821 c6ba227c7d
Map the RegistryEntryList class (#3001)
* Map the RegistryEntryList class

* Move the RegistryEntryList class to the net.minecraft.util.registry package
2022-02-10 18:39:46 +00:00
modmuss50 0ef70746f2 22w06a 2022-02-09 18:58:35 +00:00
apple502j d6fb8204b8
Map spline (#2953)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-09 11:35:43 +00:00
apple502j 10fda6dd17
22w03a stuff (#2971)
* 22w03a stuff

* Fix ExclusiveNbtCollector

* Remove OpenDoorsTask mapping for conflict

* Remove SpreadPlayersCommand mapping for conflict

* Apply suggestions from code review

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

* Renames, javadoc, etc

* Fix description of shouldCrashOnException

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

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-09 11:33:27 +00:00
apple502j a70b1d3cea
22w05a stuff (#2993)
* 22w05a stuff

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

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

* Rename WeaponSmithChestLootTableFix

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2022-02-09 11:25:03 +00:00
modmuss50 a038ffcefc 22w05a 2022-02-02 17:09:28 +00:00
modmuss50 26c319461b 22w03a 2022-01-19 17:26:32 +00:00
enbrain b8d5ad7dda
Document MathHelper.binarySearch (#2956)
* Document MathHelper.binarySearch

* 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>
2022-01-17 21:23:49 +00:00
apple502j c715653edb
Fix more typos (#2954) 2022-01-02 18:50:05 +00:00
haykam821 c1fd719b76
Rename the BackgroundHelper class to ColorHelper (#2915)
* Rename the BackgroundHelper class to ColorHelper

Fixes #2907

* Move the ColorHelper class to the net.minecraft.util.math package

* Rename the ColorHelper.ColorMixer class to Argb

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-12-23 14:19:12 +00:00
apple502j 664426de11
Document Vec3i (#2930)
* Document Vec3i

* Update mappings/net/minecraft/util/math/Vec3i.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>

* Apply suggestions from code review

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: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/util/math/Vec3i.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-12-23 14:18:44 +00:00
enbrain 8bb2ba44ce
Fix TimeHelper.SECOND_IN_MILLIS (#2941) 2021-12-23 14:17:43 +00:00
enbrain 80dcaed6ac
Fix the parameter of DefaultedList.add (#2936) 2021-12-22 19:20:26 +00:00
apple502j 24a1ee97f8
Fix typos (#2928)
* Fix typo, step 1
Changes to mappings:
- `SetDamageLootFunction#<init>` `conditons` -> `conditions`

* Fix typos, step 2
Changes to mappings:
- `BedBlock#getAroundAndOnBedOffets` -> `getAroundAndOnBedOffsets`
- `EntityShapeContext#<init>` `walkOnFluidPrecicate` -> 
`walkOnFluidPredicate`
- `HungerConstants#EXHAUSION_UNIT` -> `EXHAUSTION_UNIT`
- `HungerConstants#EXHAUSION_PER_HITPOINT` -> `EXHAUSTION_PER_HITPOINT`

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

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-12-15 17:33:40 +00:00
apple502j 752fcb213f
1.18.1-rc1 stuff (#2908)
* 1.18.1-rc1 stuff

* Apply suggestions from code review

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

* Rename shouldRecalculate, etc

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-12-13 13:47:39 +00:00
apple502j ab446c8e46
1.18.1-pre1 stuff (#2902) 2021-12-04 01:55:07 +00:00
haykam821 3b79d0cf5e
Move the EightWayDirection class to the net.minecraft.util.math package (#2892)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-12-03 15:06:53 +00:00
Shnupbups 220dd80038
1.18-pre7 stuff (#2872)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-11-25 14:52:58 +00:00
apple502j 7ee4de9d98
1.18-pre8 stuff (#2885)
* 1.18-pre8 stuff

* Update mappings/net/minecraft/text/TranslatableText.mapping
2021-11-25 09:33:54 +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
modmuss50 2300dbccaf 1.18-pre7 2021-11-23 17:12:25 +00:00
enbrain 83d7540f2f
Fix javadoc reference errors (#2871) 2021-11-23 10:37:28 +00:00
modmuss50 3eb7466178 1.18-pre6 2021-11-22 18:18:04 +00:00
enbrain abb1308444
Map misc stuff (#2843) 2021-11-22 16:43:57 +00:00
apple502j fe93c6bbe1
Map BufferedInputStream (#2860)
* Map BufferedInputStream

* Apply suggestions from code review

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

* Update and rename BufferedInputStream.mapping to FixedBufferInputStream.mapping

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-11-20 18:11:51 +00:00
modmuss50 071aba24e7 1.18-pre5 2021-11-19 16:35:58 +00:00
Shnupbups efc6d81042
Util stuff (#2854) 2021-11-19 11:08:33 +00:00
apple502j 5c1f90e127
More 1.18-pre2 stuff (#2838)
* More 1.18-pre2 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-17 14:33:42 +00:00
Shnupbups 202f05009d
1.18-pre1 Features stuff (#2822)
* Features stuff

* Update LakeFeature.mapping

* stuff

* Delete WorldgenProvider.mapping

* Update PlacedFeatures.mapping
2021-11-15 23:01:05 +00:00
mschae23 a76fb4aa58
Mappings for 1.18-pre1 placement modifiers (#2819)
* Mappings for 1.18-pre1 placement modifiers

* Some feature mappings

* Applied review suggestions
2021-11-14 20:30:34 +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
modmuss50 1f0b4b7ebc 1.18-pre1 2021-11-11 18:05:24 +00:00
enbrain a62ad058b5
Map int/float/height providers (#2813) 2021-11-08 23:34:57 +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 28da2e9f1e
misc stuff (#2806)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-11-08 23:33:58 +00:00
enbrain 59a527d6d2
Restore parameters lost in 21w44a update (#2810) 2021-11-04 12:00:14 +00:00
modmuss50 35c46fc6b7 21w44a 2021-11-03 18:39:11 +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
Shnupbups 68829991ca
Document ActionResult.CONSUME_PARTIAL (#2807) 2021-11-03 16:54:01 +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
Shnupbups 875038dab0
21w42a stuff (#2776)
* 21w42a stuff

* stuff

* AutoSave -> Autosave

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

Co-authored-by: YanisBft <yanis.briffaut@gmail.com>

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

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

Co-authored-by: YanisBft <yanis.briffaut@gmail.com>
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2021-10-26 14:11:35 +01:00
YanisBft b817650055
Noise parameters and int provider (#2774) 2021-10-22 11:31:08 +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
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
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
apple502j 85ee28e1e9
More 21w40a stuff (#2736)
* More 21w40a stuff

* Rename and add javadoc
2021-10-10 22:10:05 +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
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
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
modmuss50 7436b2b1d9 21w39a 2021-09-29 19:08:30 +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
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
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
Xelo 0b4b9aaa85
Update Quaternion.mapping (#2662) 2021-09-14 21:21:59 +01:00
frqnny 9fb70f43fb
Registry ops (#2576)
* First RegistryOps attempt

* use registryManager
2021-09-08 12:20:15 +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
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
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
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
modmuss50 8551f2ee31 Revert "Use automapped names for documented fields (#2571)"
This reverts commit c96f65c814.
2021-07-19 21:49:44 +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
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
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
frqnny e727668fbc
Rename BlockBox#empty to BlockBox#infinite (#2558) 2021-07-05 16:32:07 +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
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
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
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
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
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
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 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
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
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
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
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 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
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
Player 8fc50a424d 21w19a 2021-05-12 17:50:44 +02: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
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
enbrain 17fead3d2e
Refactor coordinate names to follow conventions (#2366) 2021-05-04 08:46:46 +00:00
enbrain d974d8be2b
Map the parameter of all equals methods (#2363) 2021-04-30 17:03:23 +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
enbrain 3d5a2db229
Fix javadoc errors (#2348) 2021-04-25 22:46:10 +01: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 a99ec0c4f0
21w16a stuff (#2340) 2021-04-23 19:08:59 +00: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
­Sollace a00c699024
Yet more obscure stuff (#2323)
* Map some incidental fields

* Map the very hard to understand (unused) class. Name is WIP. Mahjong pls.

* ExpandingLongLinkedOpenHashSet -> LinkedBlockPosHashSet + docs

* Fix typo

* Apply suggestions from code review

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

* Update mappings/net/minecraft/util/collection/LinkedBlockPosHashSet.mapping

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-04-16 14:20:36 +00:00
SuperCoder79 1c509d5860
21w15a worldgen (#2336) 2021-04-16 14:19:52 +00:00
Shnupbups a046ab2dbb
21w15a stuff (#2330) 2021-04-15 12:41:15 +01:00
YanisBft 00a863b1b9
Map new int and height providers (#2328)
* Map new int and height providers

* oops

* oops again
2021-04-15 12:41:05 +01:00
modmuss50 9ac44da9db 21w15a 2021-04-14 18:18:43 +01:00
Juuxel e7d81b806c
Add javadoc linting task using Filament (#2318)
* Add javadoc linting task

* Fix all javadoc formatting
2021-04-13 12:59:43 +01:00
liach 177f38b9aa
Last few top level classes (annotations) (#2321)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-04-12 13:23:18 +01:00
enbrain d7d90b87ce
Fix base and spread in UniformFloatProvider (#2305) 2021-04-11 13:09:21 +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 0992c71424
Map and document the Box class (#2304)
* Map and document the Box class

* method_35580 -> contract

* Add javadoc links

* Update mappings/net/minecraft/util/math/Box.mapping
2021-04-10 14:05:02 +01:00
enbrain ec97f0745c
Map Matrix3f and Matrix4f (#2297)
* Map Matrix3f and Matrix4f

* Use row first/column first than transpose or not
2021-04-09 19:50:40 +01:00
­Sollace 2caa310241
Map the internals of PackedIntegerArray. (#2285)
* Map the internals of PackedIntegerArray. Some values taken from #1686

* Update mappings/net/minecraft/util/collection/PackedIntegerArray.mapping

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

* Map BitStorageAlignFix

* Update mappings/net/minecraft/datafixer/fix/BitStorageAlignFix.mapping

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

* Update mappings/net/minecraft/datafixer/fix/BitStorageAlignFix.mapping

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

* Update mappings/net/minecraft/datafixer/fix/BitStorageAlignFix.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-04-07 16:56:58 +01:00
­Sollace fba9d9e178
Map misc weighting stuff (#2281)
* Map misc weighting stuff

* Map pools and move to the collection package

* Implement @liach's suggestions

* More code review

* Move pool to the correct package

* God dammit Enigma

* Bleh

* decode -> mapCodec

* Update mappings/net/minecraft/util/collection/Pool.mapping

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

* Update mappings/net/minecraft/util/collection/Weighted.mapping

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

* Update mappings/net/minecraft/util/collection/ImmutablePool.mapping

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

* ImmutablePool -> DataPool

* Update mappings/net/minecraft/util/collection/Weighted.mapping

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

* Update mappings/net/minecraft/util/collection/Weighted.mapping

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

* Update mappings/net/minecraft/util/collection/Weighted.mapping

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

* WeightingUtil -> Weighting

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-04-07 16:56:50 +01:00
liach f1a8f3efa0
3 random classes (#2278)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-04-05 12:39:27 +01:00
Shnupbups f0f341e715
util 21w13a stuff (#2273)
* util 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-04-05 11:30:17 +01:00
liach 0bc94eeaeb
Some network stuff, and minor atomic stack/affine transformation revisit (#2246)
* Some network stuff, and minor atomic stack/affine transformation revisit

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

* typos

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

* Let unpick glitch. I'm hopeless

* End of experiment

the uncommented ones work while the commented ones don't

Turns out unpick is unpicking what's exposed to the public api than
what's in the method body. So yeah, not much valuable stuff to unpick
in network package as a result.

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-04-03 15:02:25 +01:00
­Sollace 9d9739c2ad
Map the debug profiler classes (#2212)
* Map the debug profiler classes

* Place Recorder in the correct package

* A few more tweaks and fixes

* Update mappings/net/minecraft/client/util/profiler/SamplerFactory.mapping

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

* Update mappings/net/minecraft/client/util/profiler/SamplingRecorder.mapping

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

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-04-03 15:01:53 +01:00
Lava 8a1b1ea1c2
Re-add WeightedList mappings (#2252) 2021-04-02 19:06:29 +01:00
liach e9fdb87bed
Assorted fixes (#2253)
Always name registry fields. Otherwise the name inference messes things up.
Javadocs start building again
Cfr decompile fails because decompileClasspath is resolved too early
and cannot be modified in downloadMcLibs

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-04-02 19:01:34 +01:00
Shnupbups 5c895a7da4
21w13a misc stuff (#2233)
* misc stuff

* nbt_key -> key
2021-04-02 13:01:06 +01:00
Alexander c58cee8a8d
Util math IntProviders (#2221)
* Util math IntRanges

* [Fix] Renamed similar to FloatProviders

* Add builder lambda parameters names

* Update mappings/net/minecraft/util/math/intprovider/IntProvider.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-04-02 10:27:05 +01:00
liach d440a7188c
Two annotations. They write cursed annotations (#2241)
* Two annotations. They write cursed annotations

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

* stuff

* Update mappings/net/minecraft/obfuscate/DontObfuscate.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-02 10:26:16 +01:00
BoogieMonster1O1 660a99737f
BlockBox mappings (#2239) 2021-04-01 19:58:05 +01:00
Alexander 97eab003b3
BlockPos mappings (#2237)
* BlockPos mappings

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-04-01 19:54:46 +01:00
Juuxel 187b0bc81a
Add nonnull annotations (#2244)
* Add nonnull annotations

* Move to util.annotation

* Add docs
2021-04-01 19:45:28 +01:00
liach 771d2c5cbd
Fixes javadoc gen for 21w13a (#2238)
Closes #2217

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-04-01 08:49:22 +01:00
apple502j ed764a5358
Map MathConstants (#2214)
* Map MathConstants

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-03-31 20:55:20 +01:00
modmuss50 414cedb22f 21w13a 2021-03-31 19:47:17 +01:00
YanisBft 1e6db48a06
Some world stuff (#2202) 2021-03-30 22:24:22 +01:00
SuperCoder79 330aeee0fb
Refactor some worldgen names (#2175)
* Refactor some worldgen names

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-03-23 13:05:29 +00:00
apple502j 7ea618ed76
Map a lot of util methods and stuff (#2172)
* A lot of util mappings

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

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-03-21 13:13:33 +00:00
Shnupbups 76d049b459
21w11a stuff (#2160)
* 21w11a stuff

* fixes

* spriteProvider

* funni lightning haha

* javadoc
2021-03-20 11:15:54 +00:00
modmuss50 696ae0e310 21w11a 2021-03-17 18:44:18 +00:00
mschae23 9fb9461398
Mapped world gen noise interpolator (#2138)
* Mapped world gen noise interpolator

* Noise3DInterpolator -> NoiseInterpolator

* Use SuperCoder79's suggestions

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

Co-authored-by: SuperCoder7979 <25208576+SuperCoder7979@users.noreply.github.com>
2021-03-15 14:49:32 +00:00
haykam821 f46af2fa9b
Map vertical surface types (#2128) 2021-03-12 20:18:13 +00:00
liach 9ae5d6af60
Add missing methods for util math from 10a update (#2126)
* Add missing methods for util math from 10a update

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

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

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

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

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: SuperCoder79 <25208576+SuperCoder7979@users.noreply.github.com>
2021-03-11 23:32:53 +00:00
modmuss50 252ad11d0a 21w10a 2021-03-10 18:34:17 +00:00
SuperCoder79 5b8943ee10
21w08b worldgen mappings (#2116)
* 21w08b worldgen mappings

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

* Apply suggestions from code review

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

* Update mappings/net/minecraft/world/gen/feature/Feature.mapping

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>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-03-09 19:52:29 +00:00
liach 70f7e4cfe0
Some util mappings (#2083)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-27 10:57:26 +00:00
modmuss50 1bc0fa389c 21w08a 2021-02-24 19:41:03 +00:00
SuperCoder79 625f8bd4ea
21w07a worldgen mappings (#2089)
* 21w07a worldgen mappings

* Update mappings/net/minecraft/world/gen/decorator/Decoratable.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-02-18 22:03:29 +00:00
liach 7c8ac787c8
Codecs.XorCodec (#2084)
* Codecs.XorCodec

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

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

Co-authored-by: i509VCB <i509vcb@gmail.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: i509VCB <i509vcb@gmail.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-18 18:01:27 +00:00
liach be4b29287b
Move registry lookup codec to dynamic (#2068)
Solves the one package warning for registry lookup codec

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-17 18:16:29 +00:00
liach 896d6340d5
Move affine transformation and vector 4f to regular util math (#2074)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-15 22:40:39 +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
haykam821 b32a964e46
Map new methods added to the MathHelper class in 21w06a (#2043)
* Map new methods added to the MathHelper class in 21w06a

* Fix the first parameter of the lerpFromProgress method being incorrectly named larpValue
2021-02-10 20:16:20 +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
Kroppeb f1a60b3f99
Mapped some stuff in util.math (#2010)
* Mapped some stuff in util.math

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

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

* changed to

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-02-05 08:20:56 +00:00
SuperCoder79 34808daff7
21w05a worldgen mappings (#2016)
* 21w05a worldgen mappings

* consume -> skip

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-02-04 18:34:17 +00:00
modmuss50 323e6f8e29 21w05a 2021-02-03 19:34:30 +00:00
Shnupbups 4f69f09764
Util package stuff (#1994)
* util stuff

* Apply suggestions from code review

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

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

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

* Update Identifier.mapping

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-02-02 17:57:50 +00:00
liach 852f1e5c3d
codec utilities (#2001)
* codecs extra stuff. why are they reluctant to update dfu 🤔

also util.toIntArray double and int version both now named toArray

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

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-02 17:53:26 +00:00
YanisBft ecb173a29a
Various stuff (#1987) 2021-01-31 12:37:36 +00:00
modmuss50 a6ba184207 21w03a 2021-01-20 19:22:41 +00:00
yyny a94825617b
Complete Util mappings (#1961) 2021-01-19 18:58:47 +00:00
YanisBft 553ad17e3c
Random stuff (#1947) 2021-01-03 20:53:34 +00:00
YanisBft 7a3b5e7c30
Beacon beam rendering and other be renderers (#1944)
* Beacon beam rendering and other be renderers

* missing parameters

* follow conventions
2020-12-31 14:23:15 +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
SuperCoder79 ed7e60a9fb
Random misc world gen mappings (#1908)
* Random misc world gen mappings

* Apply suggestions from code review

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-12-23 18:37:43 +00:00
modmuss50 9ba8dbc9df 20w51a 2020-12-16 18:52:22 +00:00
YanisBft 33da594c95
20w49a cleanup (#1911)
* 20w49a cleanup

* Update Vibration.mapping
2020-12-14 21:35:39 +00:00
yitzy299 80fbe2cea7
Mapped parts of ScreenHandler (#1910)
* Mapped some methods in ScreenHandler

- Mapped method_30010 as removeStack
- Mapped some variable related to these methods
- A few more mappings in ScreenHandler

* Complete requested changes from PR review

- Changed back unrelated methods
- Fixed an area of ambiguity in onSlotClick

* Changed slotid to slotIndex

Fixing issue raised by Juuxel
2020-12-09 13:21:10 +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
SuperCoder79 b095467b34
Dripstone mappings (#1904)
* Dripstone mappings

* move DripstoneColumn to world/gen

* Apply suggestions from code review

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

* move dripstone utils to feature/util

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-12-03 19:51:28 +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
­Sollace c0a046c665
Model part names (#1900)
* Update all the models fields that come from Mojang's json code

* Unswap tailAngle and spikeExtension fields

* Fill in missing names in MathHelper

* Apply suggestions from code review

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

* More code review fixes

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-12-03 13:51:45 +00:00
modmuss50 db6fa87282 20w49a 2020-12-02 18:29:46 +00:00
SPGoding 6596cd0f81
Map something for experience orb (#1893)
* Map something for experience orb

* Remap method_30048
2020-11-29 22:05:30 +00:00
YanisBft ce0c5cae51
client.util.math.Vector3f -> util.math.Vec3f (#1879)
* client.util.math.Vector3f -> util.math.Vec3f

* Vec to Vector

* Revert "Vec to Vector"

This reverts commit 844d3cb107.

* simple class docs

* better word
2020-11-28 13:44:50 +00:00
YanisBft 40d713533d
Fix javadoc warnings (#1884)
* Fix javadoc warnings

* attempt 2

* attempt 3

* last attempt

* apply juuxel's comment
2020-11-20 17:31:04 +00:00
Shnupbups cb23ebee38
46a things (#1869)
* 46a things

* Update Registry.mapping

* Update Item.mapping
2020-11-12 08:52:04 +00:00