Commit Graph

9 Commits

Author SHA1 Message Date
apple502j 5d1ff50949
24w03a stuff 2024-01-19 00:02:23 +09:00
modmuss50 e003d7446f 24w03a 2024-01-17 16:52:02 +00: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
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
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
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
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
Shnupbups 80e8183975 Begin 19w34a mappings (#828)
* Begin 19w34a mappings

* more stuff

* More stuff

* stuff

* stuff again

* Update EntityRenderer.mapping

* x

* Finish mapping and modify BeeEntity, name string damagesource, map bee model

* Fix typo in class_1282 method 21748

* Update BeeEntity.mapping

* Update BeeHiveBlockEntity.mapping

* more stuff
2019-08-25 15:18:10 +00:00