Commit Graph

12 Commits

Author SHA1 Message Date
Shnupbups d8f166c134
24w09a stuff (#3800)
* oh lord

* the rest

* Fix conflict

* Map components

* Map items

* Map text

* Map blocks, etc

* command, data, enchantment, inventory packages

---------

Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>
2024-02-29 09:06:13 +00:00
Shnupbups 4359ec7d9e
24w07a stuff (#3790)
* 24w07a stuff

* Update TeleportCommand.mapping
2024-02-15 10:28:31 +09: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
modmuss50 026d197686
Some small fixes to the game test framework (#2283)
* Some small fixes to the game test framework

* Update mappings/net/minecraft/test/AfterBatch.mapping

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

* Update mappings/net/minecraft/test/CustomTestProvider.mapping

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

* TestTimeoutException

* GameTestException

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-04-05 22:41:12 +01:00
BeetMacol 53e9c8abe5
Add StartupParameter and GameTest mappings (#2248)
* Add StartupParameter mappings

* Remove the new BlockBox mappings - already covered in #2239

* Add mappings for all TestImplementation methods

* Suggested changes
rename `GameTest` to `GameTestState`
rename `TestImplementation` to `GameTest`

* More suggested changes

* Fix GameTest package

* Another package fix

sorry

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-04-05 19:39:21 +01:00
apple502j d92659cd00
Map GameTest methods (#2260)
* Map GameTest methods

* Rename some mappings
2021-04-03 13:30:32 +01:00
Shnupbups c1fd11697c
test stuff (#1991) 2021-01-30 13:44:00 +00:00
modmuss50 e9c5c02d50 20w22a 2020-05-29 14:31:34 +01:00
Shnupbups 8cd54e4886
stuff (#1231)
* stuff

less cursed this time hopefully

* Apply suggestions from code review

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

* Update ItemSteerable.mapping

* Update HungerManager.mapping

* revert Quaternion changes

* supplier -> table

* Update CrashReport.mapping

* Apply suggestions from code review

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

* Update WorldBorderListener.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-03-30 09:10:03 +00:00
liach 02908445ab Mapped all top-level classes (#934)
* Mapped all top-level classes

No more obfuscated top-level class

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

* Mapping inner classes (Still some left)

These to go:
net/minecraft/datafixers/fixes/LeavesFix$class_1192
net/minecraft/structure/NetherFortressGenerator$class_3404
net/minecraft/structure/OceanMonumentGenerator$class_3367
net/minecraft/structure/OceanMonumentGenerator$class_3368
net/minecraft/structure/OceanMonumentGenerator$class_3369
net/minecraft/structure/OceanMonumentGenerator$class_3370
net/minecraft/structure/OceanMonumentGenerator$class_3371
net/minecraft/structure/OceanMonumentGenerator$class_3372
net/minecraft/structure/OceanMonumentGenerator$class_3373
net/minecraft/structure/OceanMonumentGenerator$class_3375
net/minecraft/structure/OceanMonumentGenerator$class_3388
net/minecraft/structure/StrongholdGenerator$class_3427
net/minecraft/structure/StrongholdGenerator$class_3466
net/minecraft/structure/Structure$class_3500
net/minecraft/structure/WoodlandMansionGenerator$class_3478

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

* Update StructurePoolBasedGenerator.mapping

* Fixes as suggested by @Runemoro

Signed-off-by: liach <liach@users.noreply.github.com>
2019-11-02 21:51:27 +00:00
modmuss50 841e352c61 19w41a 2019-10-09 18:17:26 +01:00
Runemoro 35891f155e Map some new 19w34a classes (#831)
* Map some new 19w23a classes

* Fixes

* Fix typo

* Drop methods that are gone
2019-09-01 16:21:31 +01:00