Перейти к содержимому
Mineforgian

TFCGenViewer

Preview your TFC worlds before creating them!

Загрузки
73K
Подписчики
18
Обновлён
1 июля 2026 г.
Лицензия
MIT

Опубликован 12 июля 2024 г.

Adds an additional button to the "More" tab of the world creation screen, which opens a preview of the world to be created

This preview has several buttons for configuring the preview. In addition to the configuration options there are four other buttons

  • Apply: Applies the preview configuration to the review and generates a new image
  • Save: Saves the configuration to the world creation context, preserving things like continentalness and (if not empty) the seed and returns to the "More" tab
  • Cancel: Returns to the "More" tab without saving any world configurations
  • Current Seed: Displays the seed currently being previewed, clicking the button copies the seed to the clipboard

Центр версий

15 версий
  • Релиз462 КБ
  • Релиз459 КБ
  • Релиз388 КБ
  • Релиз386 КБ
  • Релиз385 КБ
  • Релиз375 КБ
  • Релиз383 КБ
  • Релиз359 КБ
  • Релиз252 КБ
  • Релиз242 КБ
  • Релиз212 КБ
  • Релиз169 КБ
  • Релиз160 КБ
  • Релиз104 КБ
  • Релиз95 КБ

Ченджлог

2.1.1Релиз1.21.1 · 1 июля 2026 г.
  • Update to TFC 4.2.4, which is the new minimum version
  • Add colors for the biomes added in TFC 4.2.0
2.1.0Релиз1.21.1 · 13 июня 2026 г.
  • Add the ability to visualize the world at a chunk (16 block) scale
    • Has Biome, Climate Restricted Features, Elevation, Köppen Climate Classification, Rainfall, Rock, and Temperature visualizer types
    • The Elevation VT has three elevation bands:
      • Low, for elevations below y = 63
      • Middle, for elevations above y = 63 and below y = 103
      • High, for elevations above y = 103
  • Many biome colors have been added to accommodate the biomes now visible with the finer resolution
  • Visualizer types now have the ability to draw previews in a parallel manner
    • The maximum level of parallelism (concurrent pixel draws) can be configured, defaults to 5
    • If previews may even be drawn in parallel can be disabled, defaults to allowing
    • Currently, only the chunk-scale Elevation and Rock (when on at-depth mode) use this
    • With this, a configurable timeout for the drawing of a single pixel has been added and is configurable
      • Those with weaker systems may want to increase this if they notice the log has a lot of warning about pixel draws timing out or previews have lots of empty space
  • The preview center and spawn center coords can now be set by clicking on the displayed preview
    • Control-left alt clicking the preview will set the preview center
    • Shift-left alt clicking the preview will set the spawn center
    • The modifier keys for each can be set in the keybinds screen
  • All slider and cycle values in the preview screen can now be reset to their default value by right-clicking them
  • Add tfcgenviewer:dark_blue preset gradient
  • the seed box of the preview screen now has the hint text present on create world screen's seed box
  • This version is network compatible with 2.0.3 through 2.0.1
  • [API]
    • Add MutableImage#setPixel(int,int,ColorDefinition)
    • Add DrawParallelism, a holder for the canonical parallelism of a preview draw operation
    • Add ChunkDataProvider, a pseudo-cache type for ChunkDatas
    • ClimateFeatureCache now has methods to delegate IVisualizerType#additionalSynchronization and #elementCodecForRegistry calls to
    • RegionPointCache#isNortherHemisphere has been deprecated in favor of IVisualizerType$DrawInfo#isNorthernHemisphere
    • IVisualizerType
      • #createCache now has O extends $Options<O> and DrawParallelism parameters
        • With this, the call order of $Options#copy and #createCache has been reversed
      • #afterComplete now has two int parameters for the x and z drawing offset of the image
      • Add #timeoutFillBGR, the BGR color to fill a pixel with if the drawing operation times out. Defaults to 0
      • Add #requestDrawInParallel, request parallel drawing. Defaults to false
      • Add #maxLevelOfParallelism, the max parallelism the VT can handle if allowed to draw in parallel. Defaults to 10
      • $Drawinfo
        • Add #isNorthernHemisphere, self-explanatory
        • Add #pixelResolutionToBlock, a simple delegator to the same method in IScale
        • Add #evaluateAtBlockPosition, perform an action at a certain block-pos resolution as determined from the given pixel-resolution coordinates
        • Add #settings, a simple delegator to the same method in the chunk generator extension
        • Add #rockLayerSettings, a simple delegator to the same method in the chunk generator extension
    • Move OptionProvider#withgenericDisplay to $Order where it is called in place of #withDisplay
    • VT caches which implement AutoClosable will now be closed upon completion of an image draw
2.0.3Релиз1.21.1 · 21 февраля 2026 г.
  • Fix incompatibility with Sodium's BiomeMixin
  • Add the ability to disable (and re-enable) the permissions system outright, allowing full access when disabled
    • This can be done using the /tfcgenviewer disable_permissions and /tfcgenviewer enable_permissions commands
  • The permissions system for integrated servers (single player worlds) will now default to allowing players to see all visualizer types
  • This version is network compatible with 2.0.1 and 2.0.2
2.0.2Релиз1.21.1 · 13 февраля 2026 г.
  • Fix classloading issue on servers
2.0.1Релиз1.21.1 · 8 февраля 2026 г.
  • Add dispatch gradient type
    • Only one dispatch type, tfcgenviewer:hue_wheel, currently exists
  • The Temperature visualizer type now has tooltips in increments of 5°C, instead of 12°C
  • The Rainfall VT now has tooltips in increments of 50mm, instead of 100mm
  • The Biomes, Rocks, and Climate Restricted Features VTs now have dynamic color keys, only showing values encountered during generation
  • VT specific options now have a teal border
  • Tweaked the Rocks VT options
    • Changed 'at surface' to 'mode'; functionality is unchanged, but the wording should be more clear/descriptive
    • The 'elevation' option is now disabled if 'mode' is set to 'at surface'
  • Add tooltips to all current VT options
  • The configs now have lang entries
  • [API]
    • VT specific options can now be dynamically disabled by passing a BooleanSupplier to OptionProvider$Order#finish
    • Add dispatch gradient registry, used by the above-mentioned dispatch gradient type
    • Add RockCache, a cache which
      • Wraps an inner cache, like ClimateFeatureCache
      • Keeps track of the colors in the rock color manager which have been encountered
      • Provides a color key describing the encountered colors
    • Add ChunkSize and ChunkScale for general use
  • A new demo video for this update/2.0.0 in general
2.0.0Релиз1.21.1 · 30 января 2026 г.
  • Update to 1.21.1!
  • Complete rework to the underlying functionality; TFCGenViewer now has an API! Expect more on it in the docs at some point
  • Several reworks to certain visualizer types
    • By default, The Biomes VT now shows a lot more biomes to match TFC's expanded biome palette
    • The Inland Height VT has been merged with Biome Altitude, which now shows 7 discrete altitudes from very deep ocean to mountain elevation
    • The Rivers and Mountains VT now has a flat land color, shows hot spot ages, and has a 'sensitivity' option for river positions
    • The Rocks VT now has two options
      • 'At surface': If the preview should be created for the surface rock layer
      • 'Elevation': The y-level the preview should be created for if 'at surface' is turned off
  • Add the Köppen Climate Classification visualizer type, which colors land according to its Köppen climate classification
  • The mod is now properly server optional! Players can join servers without TFCGV without any issues, though naturally they will not be able to use the visualizer features
  • The permissions system has received an overhaul allowing for more fine-grained control of visualizer permissions
  • For the moment, the rock editor sub-screen is unimplemented
  • The seed button now also puts the seed into the seed text box when clicked

Note: Currently the wiki is pretty barren and only has pages on using the new permission system and the json types used to define colors. More will be added as I have the time

1.5.1Релиз1.20.1 · 4 октября 2025 г.
  • Add Climate Restricted Features visualizer
    • By default shows Kaolin Clay and Coral spawn locations
    • Will display anything in the tfcgenvewier:visualizable_features placed feature tag
      • Can handle multiple, overlapping features gracefully
      • Uses the climate range set in the tfc:climate modifier of the feature
      • If the configured feature is a TFC ore-type, its biome tag will be respected
      • All entries also require a matching color definition in the /tfcgenviewer/features/ folder
  • Improve Rivers and Mountains and Rocks visualizer speeds, most noticeable with large visualization scales
1.5.0Релиз1.20.1 · 25 августа 2025 г.
  • Add rock editor sub-screen
    • Can be opened via the "Edit Rocks" button below "Export Preview" in the preview screen
    • See the wiki page for more information about usage
  • Color gradients are now interpolated over the linear sRGB color space
  • Changed the default gradients for the Rainfall and Temperature previewers to be more vibrant and distinct
    • As part of this, the temp, temperature, rain, and rainfall reference gradients are now separate from the climate gradient, which is now unused by default
  • Adjust Temperature visualizer range to be -23 to 33 °C

Комментарии

Загружаем…