Commit Graph

38 Commits

Author SHA1 Message Date
Player 5dc883892e 22w18a 2022-05-04 20:34:27 +02:00
Shnupbups 67250a55d3
22w15a stuff (#3091)
* 22w15a stuff

* Apply suggestions from code review

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2022-04-19 11:06:11 +01:00
Player 8b8dc86b74 22w15a 2022-04-13 18:50:51 +02:00
Shnupbups 77aef71b0a
22w12a stuff (#3059)
* 22w12a stuff

* fixes from @apple502j and a bit more

* Update mappings/net/minecraft/block/entity/SculkShriekerWarningManager.mapping

Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>

Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>
2022-03-30 09:10:15 +00:00
Player 845467b67e 22w11a 2022-03-16 21:42:31 +01:00
Shnupbups 7dfbb2f61b
moved a couple classes (#3032)
`TextureMap` moved to `data/client`  - `data/client/model` package is no longer used, but `TextureMap` was still in it accidentally due to being renamed by another PR
`NoiseHelper` moved to `world/gen/noise` - makes sense to be with other noise related classes
2022-02-25 08:52:19 +00:00
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
haykam821 e92e4b57c1
Rename the Texture class to TextureMap (#2974) 2022-02-09 11:41:36 +00:00
haykam821 53a6bb1e84
Rename the BlockStateModelGenerator#registerCarpet method to registerWoolAndCarpet (#2973) 2022-02-09 11:37:57 +00:00
haykam821 08011fd376
Rename the BlockStateModelGenerator#registerCauldron method to registerCauldrons (#2972) 2022-01-20 12:26:27 +00:00
modmuss50 26c319461b 22w03a 2022-01-19 17:26:32 +00:00
Shnupbups a5591c2146
Data stuff (#2846) 2021-11-19 11:08:19 +00:00
Shnupbups 28da2e9f1e
misc stuff (#2806)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-11-08 23:33:58 +00:00
modmuss50 a3a508b7cf 21w42a 2021-10-20 20:37:00 +01:00
apple502j a5b43d42be
21w41a data (#2768) 2021-10-17 22:16:34 +01:00
modmuss50 c13a13d765 1.17-pre3 2021-06-01 17:22:33 +01:00
Shnupbups 4e9beace48
21w19a stuff (#2392)
* 19a

* Update Items.mapping

* things

* datagen stuff
2021-05-13 06:09:53 +00:00
Player 8fc50a424d 21w19a 2021-05-12 17:50:44 +02: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
haykam821 67597d2529
Map light blocks (#2215) 2021-03-31 20:55:13 +01: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
modmuss50 252ad11d0a 21w10a 2021-03-10 18:34:17 +00:00
haykam821 ade9c3ded9
Map block families (#1965)
* 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
2021-01-21 23:33:13 +00:00
modmuss50 a6ba184207 21w03a 2021-01-20 19:22:41 +00:00
YanisBft 2fcb4af423
Client stuff and MultilineText class (#1955) 2021-01-14 13:44:48 +00:00
modmuss50 c91f482141 20w45a 2020-11-04 20:44:22 +00:00
modmuss50 04b555a4ff 1.16.2-pre1 2020-07-29 16:36:02 +01:00
Joseph Burton d3e8fd1935
Fix lots of spelling errors throughout yarn (#1506)
* Fix lots of spelling errors throughout yarn

* Delete empty comment
2020-06-24 17:34:48 +01:00
modmuss50 64b704d914 1.16-pre5 2020-06-12 16:18:26 +01:00
­Sollace 294117575e
20w15a Mapping Fixes 2: The Jumping The Shark Update (#1172)
* Fill in missing names, fix questionable ones

* ForgingScreen -> AbstractForgingScreen

* Revert background -> texture

* Revert background -> texture (2)

* AbstractForgingScreen -> ForgingScreen

* AbstractForgingScreen -> ForgingScreen
2020-04-23 13:37:17 +01:00
modmuss50 cf0ef0a6bd 20w15a 2020-04-08 15:44:19 +01:00
modmuss50 0c14fa6444 20w14a 2020-04-02 18:40:17 +01:00
liach ab49bb2e7b
Jigsaw and rotation/rule test stuff (#1227)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-26 14:10:31 +00:00
modmuss50 a068df5d3d 20w13a 2020-03-25 17:49:03 +00: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
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
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