# Migration to Mojang Mappings
Based Mojang's move towards removing obfuscation, and anticipating Fabric's likely inevitable move to MojMap, I have remapped Thermoo to MojMap. This was a big change code-side for Thermoo but, thanks to intermediary, this should not constitute any breaking changes to the public API. However, I may have messed something up, so this version will initially be released as a beta.
While no breaking changes are planned to be made at this time, a few fields and methods have been renamed to better conform to Official Mappings standards. These are as follows:
- `EnvironmentProvider.ENTRY_CODEC` -> `EnvironmentProvider.HOLDER_CODEC`
- `LightThresholdLightProvider#lightType` -> `LightThresholdLightProvider#lightLayer`
- `AttributeModifierTemperatureEffect$Config#id` -> `AttributeModifierTemperatureEffect$Config#location`
- `ScalingAttributeModifierTemperatureEffect$Config#id` -> `ScalingAttributeModifierTemperatureEffect$Config#location`
- `EnvironmentTickContext#world` -> `EnvironmentTickContext#level`
- `TemperatureEffects.STATUS_EFFECT` -> `TemperatureEffects.MOB_EFFECT`
The resource location of the temperature effect type `thermoo:status_effect` was changed to `thermoo:mob_effect`, however an alias has been added to allow existing datapacks to continue to work.
All old fields and methods have been deprecated and just redirect to the new ones, so there are no breaking changes.
When Minecraft fully moves over to using the unobfuscated jar (the update after Mounts of Mayhem), the old fields will be removed and other names, particularly class names, that could not be easily changed without breaking the public API will also be changed.
Optional dependencies
Polymer
Any compatible version
Thermoo Patches
Any compatible version
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }