Commit Graph

216 Commits

Author SHA1 Message Date
modmuss50 ba1a44d4cb 22w44a 2022-11-02 14:58:41 +00:00
apple502j 8bf7695876
22w42a worldgen (#3340) 2022-10-23 13:31:35 +01:00
Player be004e3916 22w42a 2022-10-19 19:11:34 +02:00
mschae23 9469bff86a
More 1.19 worldgen mappings (#3251)
* Terrain generation

* A few multi noise and terrain parameter things

* Fixed typo

* Mappings for DensityFunctions

* Added JavaDocs

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-25 20:26:28 +01:00
mschae23 835ed46274
Fixed typo in calculateBlendResult (#3250) 2022-07-18 19:00:26 +01:00
mschae23 4cc869a891
World generation mappings (#3235)
* 1.19 worldgen (BlendingData)

* 1.19 worldgen mappings

* Fixed JavaDoc

* More mappings (blending)

* Dropped invalid mappings

* More mappings (blending)

* Added a few cache mappings (ChunkNoiseSampler)

* Removed mappings for unobfuscated methods

and added missing parameter doc

* More mappings

* initialised -> initialized
2022-07-11 19:54:26 +01:00
Jake Potrebic e7298d5d0b
Add and fix mappings for structure placements (#3212)
* Add and fix mappings for structure placements

* reset shouldGenerate to obfuscated

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-19 14:01:15 +01:00
apple502j 48e25ce929
22w24a misc stuff (#3217)
* 22w24a misc stuff

* Update mappings/net/minecraft/SharedConstants.mapping

* Forgot to commit this
2022-06-19 13:58:19 +01:00
Player cdd3db74fb 22w24a 2022-06-15 19:37:40 +02:00
itsmiir 0ac8b8ccfa
peaks/valleys noise is a function of weirdness (#3208)
* peaks/valleys noise is a function of weirdness

* small change to ChunkNoiseSampler + getters

sampleNoise should probably be changed to sampleNoiseZ based on usage and the presence of a sampleNoiseX and sampleNoiseY function

Co-authored-by: itsmiir <itsmiir@users.noreply.github.com>
2022-06-14 18:17:35 +01:00
apple502j eb2bbb15ae
Rename Structure and StructureType (#3183)
* Rename Structure and StructureType
Structures really need a revisit. In my opinion the net.minecraft.structure package should be gone and
everything should be moved to net.minecraft.world.gen.structure. That'd be a very big change, though.
This commit basically reverts the entirety of #3079 and contains the changes necessary to keep consistency
(but not other new changes). I could make it bigger, but this needs an ASAP merge to stop the bad names from
going to the release.

Summary of the renames:

- `structure.Structure` became `structure.StructureTemplate`. See `/place template`, datafixes, etc.
- `structure.StructureType` became `world.gen.structure.StructureType`.
- `world.gen.structure.StructureType` became `world.gen.structure.Structure`.
- `world.gen.structure.StructureTypes` became `world.gen.structure.Structures`.
- Other names referencing the renamed classes by their old name
- And missed "feature" renames (Fixes #3179)

* Rename StructureManager

* merging gone wrong

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-01 16:07:00 +01:00
apple502j 972c44000a
Fix typo (#3203) 2022-05-31 12:06:09 +01:00
apple502j b1d5144743
1.19-pre1 structures (#3169)
* 1.19-pre1 structures

* Fix javadoc, rename to ChunkGenerator#biomeSource

* Bring StructureManager stuff from my other PR

* Map more structures

* Fix unmapped param

* Rename configuredStructureFeatureRegistry

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-05-30 15:51:30 +01:00
apple502j 6b0fbc14a5
1.19-pre1 stuff (#3167)
* 1.19-pre1 stuff

* More 1.19-pre1 stuff

* Revert StructureManager, doing in other PR

* Finish 1.19-pre1 mapping

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-05-24 08:56:17 +01:00
Shnupbups 3a6d5f8450
1.19-pre2 stuff (#3189)
* 1.19-pre2 stuff + random things

* Apply suggestions from code review

Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>

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

Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>

Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>
2022-05-24 08:55:49 +01:00
Shnupbups 47b246db87
1.19-pre1 stuff (#3163)
* 1.19-pre1 stuff

* Update mappings/net/minecraft/server/command/PlaceCommand.mapping
2022-05-20 16:53:18 +01:00
Player d5927e8419 1.19-pre1 2022-05-18 18:58:03 +02:00
Player 33ca01b966 22w19a 2022-05-12 20:28:43 +02:00
Shnupbups d9b288b901
22w18a stuff (#3137)
* 22w18a stuff

oh gosh oh heck

* whoops i did more

* Update Registry.mapping

* fixes

* Update MinecraftServer.mapping

* Apply suggestions from code review

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: frqnny <45723631+frqnny@users.noreply.github.com>
2022-05-11 19:28:01 +01:00
Shnupbups e575e9ca64
22w17a stuff (#3120)
* 22w17a stuff

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

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

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

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

* Apply suggestions from code review

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2022-05-02 13:52:17 +01:00
Player a31d28ee5e 22w17a 2022-04-27 19:09:08 +02:00
Player 39344922af 22w13a 2022-03-31 19:20:30 +02:00
Jake Potrebic 1c1f593167
Chunk generator stuff (#3067)
* Chunk generator stuff

* rename codec builder getter
2022-03-31 06:38:03 +00:00
Shnupbups 9a3618695c
22w12a just a bit more (#3069) 2022-03-30 13:02:05 +00:00
Leximon 1b9e6aed78
swap parameter names (#3056)
Co-authored-by: Lex305 <lex305@web.de>
2022-03-30 09:13:59 +00:00
Shnupbups 77aef71b0a
22w12a stuff (#3059)
* 22w12a stuff

* fixes from @apple502j and a bit more

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

Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>

Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>
2022-03-30 09:10:15 +00:00
modmuss50 18cd8cc489 22w12a 2022-03-24 19:10:04 +00:00
apple502j 4702895447
22w11a misc stuff (#3053)
* 22w11a networking

* 22w11a world

* 22w11a misc stuff

* Update javadoc for PacketByteBuf
2022-03-23 10:37:54 +00:00
Shnupbups 64377ac365
22w11a stuff (#3044)
* this is all i can bear to do for now, im tired

* i lied

* Update DispenserBehavior.mapping

* have a little more, as a treat

* fixes

* *more* stuff

* more animation stuff

* model parts

* initAndGetDefault

y'all have some weird defaults mojang
2022-03-19 15:55:02 +00:00
Player 845467b67e 22w11a 2022-03-16 21:42:31 +01:00
modmuss50 f0f44472dd 1.18.2-pre3 2022-02-23 16:15:59 +00:00
apple502j 29f36d2f10
1.18.2 pre2 stuff (#3027) 2022-02-22 16:29:15 +00:00
modmuss50 ceb3a205fb 1.18.2-pre2 2022-02-21 16:09:06 +00:00
Shnupbups 4731a2c3ce
22w07a stuff (#3012)
* biome tags

* more biome tag stuff + datafix

* more stuff

* remove stuff mapped by #3013

* some noise stuff

* Apply suggestions from code review

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

* dropped invalids

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2022-02-19 11:29:24 +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 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
modmuss50 0ef70746f2 22w06a 2022-02-09 18:58:35 +00:00
modmuss50 26c319461b 22w03a 2022-01-19 17:26:32 +00:00
apple502j 6975c6f1e6
Fix ChunkGeneratorSettings param (#2963) 2022-01-17 21:20:59 +00:00
Player fa3916ac6f 1.18.1-rc2 2021-12-08 14:38:38 +01:00
Shnupbups fbcd127c32
1.18-rc stuff (#2887)
* 1.18-rc1 stuff

resolves #2886

* small things

* Update WorldRenderer.mapping

* stuff

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-11-27 22:03:48 +00:00
Shnupbups 2eb2fe0f63
Mapping Bonanza Part 12: World gen stuff (#2856)
* World gen stuff

* Update mappings/net/minecraft/world/gen/surfacebuilder/MaterialRules.mapping

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

* pre5

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-11-22 15:31:34 +00:00
modmuss50 071aba24e7 1.18-pre5 2021-11-19 16:35:58 +00:00
Shnupbups 4bdab49349
1.18-pre2-4 stuff (#2836)
* 1.18-pre2 stuff

* SurfacePlacedFeatures -> VillagePlacedFeatures

* Update BlendingData.mapping

* stuff
2021-11-18 09:08:32 +00:00
modmuss50 d792ab8d27 1.18-pre2 2021-11-16 18:18:51 +00:00
apple502j 3d209563b2
Structure stuff, based on liach's PR (#2829)
* Structure stuff

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

* This is post placement, not generation (addition of pieces)

* docs

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

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

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

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

* Merge branch '1.18-pre1' of https://github.com/FabricMC/yarn into pr-2729-structure

* Drop invalid mappings

* Re-add dropped mappings

* PostPlacementProcessor: map lambda arg, rename args

* Structure: bring mapping from my branch

* StructurePiecesGenerator: follow convention of naming every World superinterface `world`

* StructurePoolBasedGenerator: follow naming conventions

* ChunkGenerator: follow naming conventions

* ConfiguredStructureFeature: follow naming conventions

* EndCityFeature: follow naming conventions

* StructureFeature: fix naming, follow naming conventions

* WoodlandMansionFeature: follow naming conventions

* StructureFeature: remove invalid javadoc

* Apply suggestions from code review

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: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-11-16 01:31:21 +00:00
modmuss50 1f0b4b7ebc 1.18-pre1 2021-11-11 18:05:24 +00:00
Shnupbups 8d8823dca6
21w44a stuff (#2809)
* 21w44a stuff

* look man idk

* Apply suggestions from code review

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

* Remove things mapped in #2729

* Restore things that shouldn't have been removed

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-11-09 16:55:29 +00:00
mschae23 ebf26ed390
World generation mappings for 21w44a (#2808) 2021-11-05 05:19:16 +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
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
modmuss50 a3a508b7cf 21w42a 2021-10-20 20:37:00 +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
modmuss50 fa2f4838b2 Remove duplicate class mapping + drop invalid mappings. 2021-10-15 17:14:42 +01:00
Shnupbups 065317d2b3
Random stuff (#2744)
* Random stuff

* more stuff

* just a little more
2021-10-15 16:23:39 +01:00
Player 4a7974d557 21w41a 2021-10-13 19:18:52 +02:00
Shnupbups 7025a2b539
Dropped invalid mappings (#2747) 2021-10-12 14:38:46 +01:00
modmuss50 1391c4cb97 21w40a 2021-10-07 15:55:57 +01:00
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
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 7436b2b1d9 21w39a 2021-09-29 19:08:30 +01:00
Player 2f4b31c7df 21w38a 2021-09-23 18:35:53 +02: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
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
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
mschae23 885a4c839c
Some world gen mappings (#2457) 2021-06-05 09:32:55 +00:00
enbrain f59ff97386
Map lambda parameters of record codec instance (#2438) 2021-05-28 08:08:35 +00:00
Shnupbups 18d8ec67ce
world stuff (#2422) 2021-05-21 14:29:23 +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
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
Shnupbups daabbb8bff
ore vein stuff (#2356) 2021-04-29 17:13:11 +01:00
Player 71cbfa770b 21w17a 2021-04-28 17:44:41 +02:00
Shnupbups e0d95e8960
small 21w16a things (#2342) 2021-04-22 11:10:10 +00:00
Player 0d9ca60b62 21w16a 2021-04-22 00:49:29 +02:00
SuperCoder79 1c509d5860
21w15a worldgen (#2336) 2021-04-16 14:19:52 +00: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
YanisBft 339a846b43
Some world-related methods and constants (#2313) 2021-04-11 13:08:51 +01:00
modmuss50 3d39c74f21 21w14a
All of the package-info classes are just reformatted. The tool used to generate them didn't output the same format as matcher/engima
2021-04-07 18:22:56 +01:00
modmuss50 414cedb22f 21w13a 2021-03-31 19:47:17 +01:00
mschae23 87ebde22cc
World generation mappings (#2150)
* World generation mappings

* Fixed parameters in IcebergFeature

* Used suggestion and mapped more things

* heightLimitView -> world

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-03-23 17:59:22 +00:00
modmuss50 696ae0e310 21w11a 2021-03-17 18:44:18 +00:00
Shnupbups 8805b2ba8e
some world stuff (#2143)
* some world stuff

* Update ChunkStatus.mapping

* Update ChunkStatus.mapping
2021-03-15 17:56:31 +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
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
SuperCoder79 2674326689
Carver mappings (#2106)
* Carver mappings

* Apply suggestions from code review

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

* Fix grimstone

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-02-28 14:41:04 +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
modmuss50 03e20d7d9a 21w07a 2021-02-17 18:45:32 +00:00
SuperCoder79 bfc3f23a7d
21w06a worldgen mappings (#2047)
* 21w06a worldgen mappings

* fix typo

* Simplify offset noise

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

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-02-11 17:11:27 +00:00
modmuss50 16b9ec5cf2 21w06a 2021-02-10 18:42:45 +00:00
SuperCoder79 2263069b4e
Worldgen javadoc (#2036)
* Worldgen javadoc

* Apply suggestions from code review

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

* Javadoc improvements

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-02-08 19:46:49 +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 db51af34b7
World package stuff (#1980)
* world stuff

* more stuff

also resolves #1960

* revert GlowLichenFeatureConfig

* fromTag -> fromNbt

liach seems to prefer this so whatever
2021-01-24 16:38:19 +00:00