Repository navigation
1.12.2 Modpack Integrations
Minecraft 1.12.2 local candidate · 0.1.22.112021 · Forge 14.23.5.2859 · API 8. This port is not published yet.
All integrations are optional. Install their original jars alongside Sky's
Realistic Weather; none are bundled. The integrations config category can
disable each bridge. Restart after changing these flags or rule definitions.
The default runClient launches this mod alone. Separate Eclipse launch files
cover the individual integrations, ScriptSupport and PackSupport. See
building for the profile list.
Target: CraftTweaker 1.12.2 4.1.20.718 (crafttweaker). Example:
import mods.skysrealisticweather.Climate;
// Absolute Celsius temperatures, regardless of a player's display units.
// Selector syntax matches plant_growth.mappings, including block properties.
Climate.setCropTemperatureCelsius("minecraft:wheat", -5, 5, 25, 40);
Climate.exemptCrop("minecraft:nether_wart");
Climate.mapBiome("minecraft:plains", "central_european");Place this in the pack's scripts directory as a .zs file. Crop definitions
resolve in this order: KubeJS, CraftTweaker, config, Java API registration, bundled rule.
Specific property selectors beat general selectors within the same source.
Unknown plants keep native growth; magical crops remain exempt unless mapped.
Sky never destroys crops, speeds them above native growth or replaces native
soil, light, genetics and fertiliser checks.
The bridge participates in CraftTweaker 4 loader events. While a world is running,
changed definitions are held pending its next restart. Weather, existing crop
rules and connected clients keep the active snapshot. /skyweather validate
reports pending changes. An unchanged reload does not require a restart.
The pinned CraftTweaker build loads its default definitions with the recipe
event before world creation in these checks. Custom loaders and other builds
can run later. Put mappings that must apply from the first terrain request in
biome_climates in Sky's config. Existing terrain is never regenerated.
Read-only queries accept a CraftTweaker IPlayer:
// Use from an event that supplies a player, rather than at script load time.
// Climate.getSeason(player) -> "spring", "summer", "autumn", "winter", or "unavailable"
// Climate.getLocalClimate(player) -> IData map
// Climate.getPlantGrowth(player, x, y, z) -> IData mapCheck available before using results. Local climate includes
temperatureCelsius, source, precipitation, climate and season when
available. Plant growth includes multiplier and reason. These queries
inspect loaded positions only; they do not generate terrain.
CraftTweaker 4 has no general /ct reload command in this build. Restart to
apply edited files. The legacy engine may reuse already loaded modules; the
native replay test uses a fresh module name. When a custom loader supplies new
definitions, the bridge stages them safely,
but does not promise that unrelated mods support live reload. The two engines
keep separate rule banks and a failed load retains its last valid bank.
The original 1.12.2 KubeJS engine adds crop and biome rules, local queries, season/weather callbacks, direct controls and owned temperature zones. See KubeJS for examples and reload behaviour.
Controller edits are previews until Save to world or
/skyweather world save. Only edited fields are stored, so untouched values
inherit future pack changes. A chosen preset is stored by ID and inherits
future edits to that definition; explicitly changed phase fields override it.
World fields take precedence over pack settings. They do not replace crop or
biome definition banks.
Discard or /skyweather world discard restores the last saved settings.
/skyweather world reset removes the saved overrides and restores pack defaults.
An unsupported/malformed saved record is retained unchanged and reported;
explicit reset is required before replacing it. Save files live in the world's
normal data/skysrealisticweather_settings.dat storage.
Calendar controls use a saved, whole-day seasonal offset. They preserve the
Minecraft daylight clock; /time, sleep and doDaylightCycle retain their
normal clock effects. Forced storm previews expire on elapsed server ticks and
are never saved. Changing to a preset with different phase lengths can change
the season represented by the same date.
calendar.startingSeason can choose a starting phase for new worlds. The
default WORLD_CLOCK preserves existing behaviour. It never resets the season
on an existing world. The default calendar remains 365 Minecraft days.
Target: Tough As Nails 1.12.2-3.1.0.141 on Minecraft 1.12.2. When present, the bridge uses Sky's effective local temperature, including registered heated zones and burning furnaces, as TAN's ambient target. TAN retains its body temperature, response timer, clothing, wetness, proximity and other modifiers, health and thirst systems. Sky adds only its own named ambient correction, at most once per second per player. This does not replace TAN's UI or set the player's body temperature directly.
This TAN version does not include the older SeasonsOption. Sky corrects its
native biome, altitude, daylight and optional season ambient inputs, including
the configured maximum biome offset and underground attenuation. Other native
modifiers continue to apply. Set integrations.toughasnails=false to keep
TAN's ambient calculation. Avoid enabling a second mod's world-season and snow
control alongside Sky without deliberately configuring which system owns it.
Missing capabilities, unloaded sampling positions and unsupported worlds use
native TAN behaviour. An incompatible bridge disables itself and logs why.
JEI 4.16.1.1013 adds a Climate requirements category for recognised plant items once a world is available. It shows preferred temperatures, current local suitability and typical phase-midpoint temperatures at the player's position. Phase estimates exclude weather episodes and local heating; native soil/light requirements still apply. Moving, changing season or heating an area changes the displayed live reading. The item catalogue is indexed once per joined world, rather than scanned every frame. The compact recipe panel includes a ? marker: hover over it for full details, including the local temperature source. The summary stays readable while the pointer is over its ordinary text.
Hwyla 1.8.26-B41 and The One Probe 1.4.28 show the same current crop requirements and growth status when looking at a plant. Rules and climate data come from the server; each player sees Celsius or Fahrenheit according to their existing preference. An unavailable temperature never becomes a false grow/do-not-grow claim. These interfaces need no operator permission. Hwyla uses server NBT for tile-based plants; ordinary crops use the same synchronized client climate calculation as inventory tooltips because legacy Hwyla does not request NBT for blocks without tile entities.
The thermometer uses a normal Forge recipe JSON, with blockGlass and
ingotMercury ore-dictionary ingredients. Its stable recipe ID is
skysrealisticweather:thermometer. Without a mercury provider the item remains
registered, but its standard recipe cannot be crafted. A pack can replace it
through CraftTweaker 4:
recipes.remove(<skysrealisticweather:thermometer>);
recipes.addShaped(<skysrealisticweather:thermometer>,
[[<ore:blockGlass>], [<ore:blockGlass>], [<ore:ingotMercury>]]);Keep JEI and HEI as alternative installations. The weather category uses the JEI API that HEI preserves. Server settings, crop rules and temperature zones are synchronized; each client keeps its own temperature-unit preference. Quests and progression scripts can use the existing server commands or API; Sky does not require a quest or stage mod.
Registry IDs select the bundled climate mappings. Actual biome temperature, rainfall, altitude and precipitation flags still affect local conditions. If BiomeTweaker or another pack script substantially changes an existing biome, set its climate mapping explicitly as well. Changes to dimension generation do not expand Sky's normal Overworld-only weather scope.
Operators and the server console can run:
-
/skyweather validate: summarise invalid/unresolved rules, missing IDs, unavailable mercury, saved-data issues and scripts awaiting restart. -
/skyweather dump: write a JSON report below the world'sskyweather-reportsdirectory, with resolved biome climates and crop states, rule sources/precedence, integration/hook status, calendar offset and saved field overrides.
Validation is read-only: it does not repair config, load chunks or alter weather. Optional absent-mod IDs can be harmless warnings. Reports omit player data and real-world location coordinates. Inspect the normal log for complete startup errors and third-party warnings.
For local packaged checks, build check preparePackProbe, then run
scripts/Run-PackChecks.py --profile combined --phase contracts --output build/verification/pack-support/my-check. Run the same command with
--phase reload afterwards. Profiles also include core, crafttweaker,
tan, jei, hwyla and top; full adds the supported farming mods to the
combined profile. These hidden native server tests use one CPU at
BelowNormal priority and disposable worlds. Server checks do not establish
visual acceptance of client interfaces.
Home · Version support · Languages
- Version guide
- Port status and builds
- Getting started
- Mod integrations
- Java API and examples
- API reference
- Generator compatibility
- Multiplayer and performance
- JEI client checks
- Integration versions
- Dependency metadata and publishing
- Getting started
- Configuration
- Climate presets and biomes
- Weather events
- Farming
- Thermometers
- Distant weather
- Pack workflow
- Mod integrations
- CraftTweaker
- Generator compatibility
- Administration
- Saved world settings
- Real-world requests