* 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>
* 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
* `BlockStateDefinitionProvider` -> `ModelProvider`
`BlockStateDefinitionProvider` is inaccurate, as it also handles all the models in the game including item models.
Also moved everything from `data/client/model` down to just `data/client` as they're *all* model related so there's no point in having it be separate.
Should probably backport this to 1.18, and maybe even 1.17.1 if #2904 is merged. Also recommend the rename is reflected in the Fabric API implementation also.
* Make all providers and generators plural where appropriate
Also change `WorldgenListProvider` to `WorldgenProvider`... why did it have `List` in the first place?
* Change to singular prefixes
* Fix some incorrect names
* Update Tag.mapping
* Update RecipeProvider.mapping
* Update RecipeProvider.mapping
* Fix bad merge
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: modmuss50 <modmuss50@gmail.com>
* Map deepslate block families
* Rename the BlockFamily.chsieled method to chiseled
* Update the names of copper block families to match the new oxidation level names
* Map the waxed oxidized cut copper block family
* Map various parameters related to block families in the RecipesProvider class
* Map block families
* Move the RecipeJsonFactory class to the proper package
* Rename the RecipeJsonFactory class to CraftingRecipeJsonFactory
* Fix the Javadoc for the RecipesProvider.getVariantRecipeInput method
* some stuff
new criterions, gamemode switcher screen, and datafixes
* more stuff
predicates and the other criterion i missed
* more predicate stuff
* Update mappings/net/minecraft/advancement/criterion/ItemUsedOnBlockCriterion.mapping
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
* Update PlayerGeneratesContainerLootCriterion.mapping
* Update GameModeSwitcherScreen.mapping
* more gamemode switcher stuff
* Update mappings/net/minecraft/advancement/criterion/PlayerGeneratesContainerLootCriterion.mapping
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
* Update mappings/net/minecraft/client/gui/screen/ingame/GameModeSwitcherScreen.mapping
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
* toast and tutorial things
just figured i'd throw this in
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
* Rename Gson fields in some classes to GSON
* Name some methods in RecipesProvider
Also a param fix in InventoryChangedCriterion's constructor.
* Rename field in LootTablesProvider
* Rename some methods in AbstractTagProvider
* Name some methods in AdventureTabAdvancementGenerator
* Rename some fields and methods for BlockLootTableGenerator
* Rename some fields and methods in EntityToolTableGenerator and EntityType
* Rename fields in FishingLootTableGenerator
These were loot condition constants checking for biomes.
* Rename fields and methods in HusbandryTabAdvancementGenerator
* method_10422 -> RecipesProvider.requireEnteringFluid
* Rename parameters to SnbtProvider.CompressedData
* Rename some fields and methods in NbtProvider
* method_10422 -> ItemListProvider#toJson
* NEED_ and REQUIRE_ -> NEEDS
* Remove 'loot table' and 'block' in BlockLootTableGenerator method names
Suggested by liach.
* Fix names in EntityLootTableGenerator to align with standards