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
Shnupbups
a5591c2146
Data stuff ( #2846 )
2021-11-19 11:08:19 +00:00
Sollace
5535953433
Data Package Mappings ( #2301 )
...
* Data package mappings
* Fix a whoops
* Update mappings/net/minecraft/data/server/RecipesProvider.mapping
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
* Update mappings/net/minecraft/data/server/RecipesProvider.mapping
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
* WORKING_DIRECTORY -> DEBUG_OUTPUT_DIRECTORY
* eh
* Update mappings/net/minecraft/tag/Tag.mapping
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
* Update mappings/net/minecraft/data/SnbtProvider.mapping
* Missed a few things
* inputItem -> input + outputItem -> output
* Update mappings/net/minecraft/data/SnbtProvider.mapping
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-04-12 13:28:55 +01:00
liach
84c59b348d
Fully map out block state model generator ( #1208 )
...
* Fully map out block state model generator
Now eliminated all unmapped classes! 🎉
Signed-off-by: liach <liach@users.noreply.github.com>
* The block is cocoa
* Model map fixes
* derivative -> texture/model pool
Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-20 22:16:59 +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
liach
d24dec94fb
Plant block, smithing table container, data gen, dfu, dynamic seriali… ( #1148 )
...
* Plant block, smithing table container, data gen, dfu, dynamic serializable boolean
Signed-off-by: liach <liach@users.noreply.github.com>
* updateresult
Signed-off-by: liach <liach@users.noreply.github.com>
* Some biome sound and container screen etc
Signed-off-by: liach <liach@users.noreply.github.com>
* More stuff
block state model generator is too big, maybe need cloak (enigma too slow)
Signed-off-by: liach <liach@users.noreply.github.com>
* Update mappings/net/minecraft/container/ForgingContainer.mapping
* conatiner name -> screen title
Signed-off-by: liach <liach@users.noreply.github.com>
* Document the 3 types of sounds; biome ambient sound player -> effect sound player
Signed-off-by: liach <liach@users.noreply.github.com>
* Update ModelIds.mapping
* container -> screen handler
Signed-off-by: liach <liach@users.noreply.github.com>
* Update mappings/net/minecraft/client/gui/screen/ingame/SmithingScreen.mapping
Missed this boi
Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-08 22:23:40 +00:00