Shnupbups
0a36582e4b
Datagen refactors ( #2905 )
...
* `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>
2022-02-11 08:55:08 +00:00
liach
89399d070e
A few more block state model gen stuff ( #2154 )
...
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
2021-03-22 21:48:14 +00:00
YanisBft
2fcb4af423
Client stuff and MultilineText class ( #1955 )
2021-01-14 13:44:48 +00:00
modmuss50
64b704d914
1.16-pre5
2020-06-12 16:18:26 +01:00
modmuss50
9497721136
20w11a
2020-03-11 17:25:56 +00:00
liach
e380edac44
tiny works on model/blockstate data gen ( #1169 )
...
* BlockStateVariantManager#register(2)[1 = ] -> properties
* BlockStateVariantManager#register(2)[2 = ] -> possibleVariants
* BlockStateModelGenerator#method_25681(1) -> registerWithSimpleModel
* BlockStateModelGenerator#method_25543(2) -> registerWithLinkedModel
* BlockStateModelGenerator#registerWithSimpleModel(1)[1 = ] -> block
* BlockStateModelGenerator#registerWithLinkedModel(2)[1 = ] -> block
* BlockStateModelGenerator#registerWithLinkedModel(2) -> registerModelReference
* BlockStateModelGenerator#registerModelReference(2) -> registerStateWithModelReference
* BlockStateModelGenerator#registerStateWithModelReference(2)[2 = ] -> modelReference
* BlockStateModelGenerator#registerWithSimpleModel(1) -> registerSimpleState
* +44 doc in net/minecraft/data/client/model/BlockStateSupplier
* VariantsBlockStateSupplier#<init>(2)[2 = ] -> variants
* VariantsBlockStateSupplier%field_22862 -> variantManager
* BlockStateVariantManager#register(2)[1 = properties] -> condition
* +62 doc in net/minecraft/data/client/model/PropertiesEntry
* +86 doc in net/minecraft/data/client/model/Properties
* +30 doc in net/minecraft/data/client/model/Properties
* +30 doc in net/minecraft/data/client/model/PropertiesEntry
* +81 doc in PropertiesEntry#streamAllFor(1)
* +62 doc in net/minecraft/data/client/model/BlockStateVariant
* net/minecraft/data/client/model/BlockStateVariantManager -> net/minecraft/data/client/model/VariantMap
* +96 doc in net/minecraft/data/client/model/VariantMap
* +20 doc in net/minecraft/data/client/model/VariantMap
* net/minecraft/data/client/model/VariantMap -> net/minecraft/data/client/model/BlockStateVariantMap
* +1 doc in net/minecraft/data/client/model/BlockStateVariantMap
* VariantsBlockStateSupplier%field_22861 -> definedProperties
* VariantsBlockStateSupplier%variantManager -> variantMaps
* net/minecraft/data/client/model/Properties -> net/minecraft/data/client/model/PropertiesMap
* BlockStateModelGenerator#method_25690(1) -> registerCommandBlock
* BlockStateModelGenerator#method_25692(1) -> registerAnvil
* BlockStateModelGenerator#registerCommandBlock(1)[1 = ] -> block
* BlockStateModelGenerator#registerAnvil(1)[1 = ] -> block
* +50 doc in net/minecraft/data/client/model/TexturedModel
* +47 doc in TexturedModel$Factory#get(4)
* remove broken docs
Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-11 15:10:12 +00:00