2.4-b05a
Fixes:
Technical Changes:
- Redesigned some parts of the hearth, boiler, and icebox GUIs
- New fuel gauge textures that are more in line with Vanilla
- Less prominent particle visibility toggle button
- Tweaked the position & design of redstone current indicators
- Tweaked textures for several other things:
- Items:
- Chameleon Molt
- Chameleon Scale Armor
- Goat Fur Parka
- Hoglin Hide Armor
- Hearth
- Insulated Minecart (very slightly)
- These changes are a mix of general design improvements and more closely aligning them with the Vanilla style
- Blocks:
- Boiler, Icebox
- UI:
- World temperature gauge (both with and without thermometer)
- Items:
- ! Changed armor item IDs to follow the normal helmet/chestplate/leggings/boots convention
- i.e. cold_sweat:goat_fur_parka is now cold_sweat:goat_fur_chestplate
- The word "scale" is now omitted from chameleon armor IDs; i.e. cold_sweat:chameleon_scale_helmet -> cold_sweat:chameleon_helmet
- Old configs targeting these IDs will continue to work, but should be updated when possible
- Existing items in worlds will be automatically converted to the new IDs
- The fuel slot of iceboxes/boilers can no longer be taken from by automation (i.e. hoppers)
- This makes automation easier and more consistent with Vanilla blocks like furnaces
- Changed wording of "it is freezing/sweltering outside" messages to "it is freezing/sweltering here" for more clarity
- Dried kelp blocks can now be used as fuel in hearths and boilers
Fixes:
- (1.21) Fixed crash when registries are loaded in a certain order; triggered by some mod combinations
- (1.21) Fixed potential crash when KubeJS tries to scan Cold Sweat registries
- (1.21) Fixed recipes that are dependent on other mods trying to load when the mod isn't present
- (1.16) Fixed the top half of a hearth not breaking when the bottom half is broken
- Fixed crash when common-side KubeJS events are fired
- Fixed world temperature increasing/decreasing indefinitely after pouring a waterskin
- Fixed Cold Sweat not compiling from source due to outdated build.gradle dependencies
- Fixed soul stalk not generating more commonly in soul sand valley biomes
- Fixed bed-like blocks setting the player's spawn point when they shouldn't
- Fixed the resulting temperature of TemperatureChangedEvent not being used
- Fixed insulation attribute modifiers not being arranged correctly on the tooltip if some of them have unmet requirements
- Fixed empty "matches" parameter on registry removals returning true for all registries
- Fixed the hearth not accepting items via automation (i.e. hoppers)
- Fixed the icebox not using the proper top texture when placed beneath a smokestack
Technical Changes:
- Added SimpleTempModifier (cold_sweat:simple), a basic TempModifier controlled by NBT
- Good for use in commands or simple KubeJS implementations
- Parameters:
- "Temperature": The value to apply to the entity's temperature
- "Operation": Any of: add, subtract, multiply, divide, power, root, set, max, min
- Augment what the modifier does to the entity's temperature
- "set" overrides the entity's temperature with the modifier's value
- "max" ensures the entity's temperature is >= the modifier's value
- "min" ensures the entity's temperature is <= the modifier's value
- Changes to the modifier's NBT will be reflected immediately
- When modifying the NBT in Java or KubeJS, make sure to call markDirty() so the changes are sent to clients
- JSON configs now require a wildcard "*" to apply to all objects in a registry
- i.e. "items": ["*"] applies to all items
- Previously, an empty list applied to all objects, which caused issues when some IDs in a list failed to parse
- During config loading, the IDs of registered configs will now be logged instead of their contents
- "Registered" configs are those which are part of JSON datapacks or added by mods
- Other configs will log their full contents as before
2.4-b04d
Fixes:
- Made water droplets more evenly distributed when the player emerges from water
- Water droplets are now tinted to the biome's water color
- Waterskins now make the player wet when poured
Fixes:
- Fixed potential crash due to duplicate registries
- Fixed crash when carrying temperature-affecting items
2.4-b04b
Fixes:
Technical Changes:
- Added support for Ad Astra
- This is an updated and fixed port of Mars Popsicle by igalaxy
- Added UI element displaying food temperature effects
- Shows a timer for the effect, and its strength
- Has settings for repositioning and toggling like other UI elements
- When the player has multiple food effects, now only the strongest one will apply
- Example: if the player eats chicken (+5 heat), then steak (+10 heat), the steak will override the chicken until it expires
- Hot and cold effects are handled independently,
- Added setting to hide non-essential information in tooltips, such as "Hold [Shift]" prompts
Fixes:
- (1.21) Fixed armor insulation not working
- (1.21) Fixed Cold Sweat armor sets not having durability
- (1.21) Fixed error during startup due to access transformer file name discrepancy
- Fixed performance degradation due to hearths, boilers, and iceboxes not being properly unloaded
- Fixed the insulation tooltip not showing for naturally-insulating armor items
- Fixed waterskin tooltip erroneously saying "Hold [crouch] to drink" when secondary action is set to pour
Technical Changes:
- Added new methods to TempModifier that fire when they are are added/removed on an entity:
- onAdded/onRemoved: Fires on the TempModifier immediately when it is added/removed
- onSiblingAdded/onSiblingRemoved: Fires on all other TempModifiers applied to a trait when a new modifier is added/removed
- Added #forge:soul_campfires tag (#c:soul_campfires in NeoForge), which is now used by the block temperature of soul campfires
- CreateRegistriesEvent has been broken up into two events:
- AddRegistriesEvent: Fires right before Cold Sweat registers its registries to Minecraft's datapack system.
- Use this event to make new registries. They will now be properly registered as Minecraft registries
- LoadRegistriesEvent: Drop-in replacement for CreateRegistriesEvent. Has Pre/Post sub-classes that fire at the same stages of registry loading
- AddRegistriesEvent: Fires right before Cold Sweat registers its registries to Minecraft's datapack system.
2.4-b04b
Fixes:
Technical Changes:
- Added support for Ad Astra
- This is an updated and fixed port of Mars Popsicle by igalaxy
- Added UI element displaying food temperature effects
- Shows a timer for the effect, and its strength
- Has settings for repositioning and toggling like other UI elements
- When the player has multiple food effects, now only the strongest one will apply
- Example: if the player eats chicken (+5 heat), then steak (+10 heat), the steak will override the chicken until it expires
- Hot and cold effects are handled independently,
- Added setting to hide non-essential information in tooltips, such as "Hold [Shift]" prompts
Fixes:
- (1.21) Fixed armor insulation not working
- (1.21) Fixed Cold Sweat armor sets not having durability
- (1.21) Fixed error during startup due to access transformer file name discrepancy
- Fixed performance degradation due to hearths, boilers, and iceboxes not being properly unloaded
- Fixed the insulation tooltip not showing for naturally-insulating armor items
- Fixed waterskin tooltip erroneously saying "Hold [crouch] to drink" when secondary action is set to pour
Technical Changes:
- Added new methods to TempModifier that fire when they are are added/removed on an entity:
- onAdded/onRemoved: Fires on the TempModifier immediately when it is added/removed
- Added support for Ad Astra
- This is an updated and fixed port of Mars Popsicle by igalaxy
- Added UI element displaying food temperature effects
- Shows a timer for the effect, and its strength
- Has settings for repositioning and toggling like other UI elements
- When the player has multiple food effects, now only the strongest one will apply
- Example: if the player eats chicken (+5 heat), then steak (+10 heat), the steak will override the chicken until it expires
- Hot and cold effects are handled independently,
- Added setting to hide non-essential information in tooltips, such as "Hold [Shift]" prompts
- (1.21) Fixed armor insulation not working
- (1.21) Fixed Cold Sweat armor sets not having durability
- (1.21) Fixed error during startup due to access transformer file name discrepancy
- Fixed performance degradation due to hearths, boilers, and iceboxes not being properly unloaded
- Fixed the insulation tooltip not showing for naturally-insulating armor items
- Fixed waterskin tooltip erroneously saying "Hold [crouch] to drink" when secondary action is set to pour
- Added new methods to TempModifier that fire when they are are added/removed on an entity:
- onAdded/onRemoved: Fires on the TempModifier immediately when it is added/removed
- onSiblingAdded/onSiblingRemoved: Fires on all other TempModifiers applied to a trait when a new modifier is added/removed
- Added #forge:soul_campfires tag (#c:soul_campfires in NeoForge), which is now used by the block temperature of soul campfires
- CreateRegistriesEvent has been broken up into two events:
- AddRegistriesEvent: Fires right before Cold Sweat registers its registries to Minecraft's datapack system.
- Use this event to make new registries. They will now be properly registered as Minecraft registries
- LoadRegistriesEvent: Drop-in replacement for CreateRegistriesEvent. Has Pre/Post sub-classes that fire at the same stages of registry loading
- AddRegistriesEvent: Fires right before Cold Sweat registers its registries to Minecraft's datapack system.
- onSiblingAdded/onSiblingRemoved: Fires on all other TempModifiers applied to a trait when a new modifier is added/removed
2.4-b04b
Fixes:
Technical Changes:
- Added #forge:soul_campfires tag (#c:soul_campfires in NeoForge), which is now used by the block temperature of soul campfires
- CreateRegistriesEvent has been broken up into two events:
- AddRegistriesEvent: Fires right before Cold Sweat registers its registries to Minecraft's datapack system.
- Use this event to make new registries. They will now be properly registered as Minecraft registries
- LoadRegistriesEvent: Drop-in replacement for CreateRegistriesEvent. Has Pre/Post sub-classes that fire at the same stages of registry loading
- AddRegistriesEvent: Fires right before Cold Sweat registers its registries to Minecraft's datapack system.
2.4-b04a
Fixes:
Technical Changes:
Fixes:
- Fixed gradually decreasing server performance due to registry leaks
- Fixed long freeze when exiting a world or server
- Fixed crash when loading TOML configs in some cases
- Fixed boolean block state values in JSON not being read properly
Technical Changes:
- (1.16) The file structure of JSON registries has changed to match that of other versions:
- Registries are now located in data/<yourmod>/cold_sweat/* (instead of data/cold_sweat/config/*)
- This means that JSON registries registered by other mods will have that mod's namespace in their IDs
- Datapacks still do not work. This is only for mod developers
- Block temperature JSON configs can now be added to "effect groups"
- Block temperatures in an effect group will count towards each other's max effect limits
- i.e. if redstone lamps and copper bulbs are part of the same group, redstone lamps will count towards the max number of copper bulbs and vice-versa
- Implemented via the "effect_group" field in block temperature JSON configs
- This field takes in a tag ID containing block temps (i.e. "yourpack:yourtag" [no #hashtag])
- Add your block temp tag to data/<yourpack>/tags/cold_sweat/block/block_temp/<yourtag>.json
- Include the IDs of the block temps in the tag (i.e. "yourpack:your_block_temp")
- registerByClassName() in TempModifierRegisterEvent now accepts constructor arguments as its last parameter (varargs)
- These arguments will be passed to the constructor of the modifier class upon creation