* 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
* Switch to mappingpoet 0.2.0
Now includes obf name in javadoc. Though it takes longer to generate
Signed-off-by: liach <liach@users.noreply.github.com>
* removed the global toolchain version requirement
enable a few superstrict doclints (won't fail build) and we are now compliant!
Signed-off-by: liach <liach@users.noreply.github.com>
Co-authored-by: liach <liach@users.noreply.github.com>
Some command arguments were named based on their ID strings, which while
they may match the Mojang names, do not match the Yarn names for their
value types. This aligns the command argument types with the correct
established yarn names for their values.
As an optimization, this method returns the first model if there was only one model added. In the general case, this returns a `new WeightedBakedModel`
```java
BlockState otherState = world.getBlockState(pos.offset(dir));
return !isStairs(otherState)
|| otherState.get(StairsBlock.FACING) != state.get(StairsBlock.FACING)
|| otherState.get(StairsBlock.HALF) != state.get(StairsBlock.HALF);
```
Pretty self-explanatory.
The `isStairs(otherState)` case is irrelevant and only exists to avoid exceptions, this function should only receive other stair blocks.
I don't see a need for `isDifferentlyOrientatedStair` because of this.
* Random misc world gen mappings
* Apply suggestions from code review
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
* couple of SplashScreen names (#1766)
* couple of SplashScreen names
* Update SplashScreen.mapping
* Add missing mappings in LevelSummary
`field_24191` contains a `net.minecraft.text.Text` storing game mode, version, and other level details (such as if cheats are enabled) as a formatted string (This is the third line of text for each level in the list on the world selection screen).
The value of this field is created by `method_27430` and publicly accessible via `method_27429`.
Also mapped the `SaveVersionInfo` member to `versionInfo`, which seems like a no-brainer.
* Reorder `field_24191` to stay alphabetical
Co-authored-by: LoganDark <logandarklock@gmail.com>
This method used to be called `isUvLocked`, and was at some point renamed to `isShaded`, which is a horribly misleading name. I'd just like to change it back to actually describing what it does.
If no settings file is found, Gradle will assume the project could be a
subproject and will scan any containing directories for a
settings.gradle. This can cause issues if such a file exists, which can
happen when using a composite build to set up a local development
workspace.
* Fix some boolean getter methods being prefixed with 'get'
Fixes#1892
* Fix the setter method for thickening fog in the BossBar class being renamed instead of the getter method
* Mapped some methods in ScreenHandler
- Mapped method_30010 as removeStack
- Mapped some variable related to these methods
- A few more mappings in ScreenHandler
* Complete requested changes from PR review
- Changed back unrelated methods
- Fixed an area of ambiguity in onSlotClick
* Changed slotid to slotIndex
Fixing issue raised by Juuxel
* 48a things
* stuff
* Apply suggestions from code review
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
* just to get checks running again
* Revert "just to get checks running again"
This reverts commit 509ab81d80.
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
* Update all the models fields that come from Mojang's json code
* Unswap tailAngle and spikeExtension fields
* Fill in missing names in MathHelper
* Apply suggestions from code review
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
* More code review fixes
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
* client.util.math.Vector3f -> util.math.Vec3f
* Vec to Vector
* Revert "Vec to Vector"
This reverts commit 844d3cb107.
* simple class docs
* better word
* Map classes relating to powder snow
* Map methods used to manage freezing
* Move the PowderSnowBucketItem class to the correct package
* Rename the subtractWaterLevel method to decrementFluidLevel in the LeveledCauldronBlock class
* Remove the implicit mapping for the POWDER_SNOW_BUCKET field
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
* Map the remaining static Text fields
* Remove an incorrect mapping for a volatile field
* Fix a typo in the mapping for result folder text static field
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
* Improve static Text field suffixes
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
* Remove a stray argument mapping in the RealmsSelectWorldTemplateScreen class
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
* Map classes relating to candles
* Use the same names for property fields in AbstractCandleBlock subclasses
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
* Simplify the name of the AbstractBlock.testIfInTag method
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
* Rename the AbstractBlock.Settings.materialColor method to match the new class name
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
* Things
* Update AbstractCauldronBlock.mapping
* a few more things
* Create EntityModelLayers.mapping
* Update MinecraftVersion.mapping
* Update Oxidizable.mapping
* Minor BlockEntity ticking names.
* And some more.
* More.
* More.
* Map a lot more BlockEntity.tick methods.
* World mappings.
* Javadoc for BlockWithEntity.checkTYpe.
* Name params.
* Map BlockEntityType.class_5559 as BlockEntityCreator
* Rename BeehiveBlockEntity.tick to tickServer as it's not used on the client.
* WorldChunk.emptyBlockEntityTicker -> EMPTY_BLOCK_ENTITY_TICKER
* tickServer -> serverTick and tickClient -> clientTick
* WorldChunk.method_31718 -> wrapTicker (rather than createTicker, as this is more accurate).
* Map WorldChunk.method_31715 as canTickBlockEntities.
* DirectBlockEntityTicker -> BlockEntitytTickInvoker
* "ChunkBlockEntityTicker" -> "BlockEntityTickInvoker".
* Bring back "direct" instead of "impl".
* "null*" -> "empty*"
* BlockEntityCreator -> BlockEntityFactory.
* CampfireBlockEntity: tickUnlit/tickLit -> unlitServerTick/litServerTick
* creator/supplier -> factory in BlockEntityType.