Skip to content

Commit

Permalink
Updates:
Browse files Browse the repository at this point in the history
- Remove dimension article, replace with world_preset as per 1.20 changes, and rewrite for updated rock layers
- Flatten folder structure - remove `/data`, simplify ToC, and flatten links
- Replace links to minecraft.gamepedia with minecraft.wiki
  • Loading branch information
alcatrazEscapee committed Jul 5, 2024
1 parent 6297d10 commit 3acf1e3
Show file tree
Hide file tree
Showing 16 changed files with 320 additions and 141 deletions.
2 changes: 1 addition & 1 deletion 1.20.x/data/common-types.md → 1.20.x/common-types.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: page
title: "Common Types"
permalink: /1.20.x/data/common-types/
permalink: /1.20.x/common-types/
---

# Common Types
Expand Down
2 changes: 1 addition & 1 deletion 1.20.x/data/crafting.md → 1.20.x/crafting.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: page
title: "Crafting Recipes"
permalink: /1.20.x/data/crafting/
permalink: /1.20.x/crafting/
---

# Crafting Recipes
Expand Down
6 changes: 3 additions & 3 deletions 1.20.x/data/custom.md → 1.20.x/custom.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: page
title: "Custom Data"
permalink: /1.20.x/data/custom/
permalink: /1.20.x/custom/
---

# Custom Data
Expand Down Expand Up @@ -137,9 +137,9 @@ Fauna allow datapacks to specify some spawning requirements for mobs.

Fauna have the following properties:

- `chance`: An optional integer, by default 1, of the chance in 1/N chunks that something will spawn. Note that the ratio between mob spawns is better set in the [Biome](../../worldgen/biomes/) json, as those values are baked into the spawn generator.
- `chance`: An optional integer, by default 1, of the chance in 1/N chunks that something will spawn. Note that the ratio between mob spawns is better set in the [Biome](../worldgen/biomes/) json, as those values are baked into the spawn generator.
- `distance_below_sea_level`: An optional integer that sets the distance below sea level something must spawn. This should only be set for underwater creatures.
- `climate`: A [Climate Decorator](../../worldgen/decorators/#climate) configuration for the climate requirements of the fauna.
- `climate`: A [Climate Decorator](../worldgen/decorators/#climate) configuration for the climate requirements of the fauna.
- `solid_ground`: A boolean. Requires the mob to spawn on a `minecraft:valid_spawn` block tag.
- `max_brightness`: An optional integer specifying the maximum brightness a mob may spawn at.

Expand Down
87 changes: 0 additions & 87 deletions 1.20.x/data/index.md

This file was deleted.

79 changes: 77 additions & 2 deletions 1.20.x/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,81 @@ This is the documentation for the **3.x.x** version of TFC, currently for **Mine

All of TFC's world generation is available to be customized through vanilla data packs. There are many different pieces, so this will hopefully explain what TFC does, how it does it, and what you can safely modify. (And also, what can be extended with addons or compatibility mods.)

### [Data](data/)
### [Crafting Recipes](crafting/)

These are custom crafting recipe types that are used by TFC.

<!--linky_begin_sort_alphabetical-->

- [Advanced Shaped Crafting](crafting/#advanced-shaped-crafting)
- [Advanced Shapeless Crafting](crafting/#advanced-shapeless-crafting)
- [Casting](crafting/#casting)
- [Damage Inputs](crafting/#damage-inputs)
- [Extra Products](crafting/#extra-products)
- [Food Combining](crafting/#food-combining)

<!--linky_end_sort_alphabetical-->

### [TFC Recipes](recipes/)

These are custom recipe types that are loaded by TFC, for TFC devices.

<!--linky_begin_sort_alphabetical-->

- [Alloy](recipes/#alloy)
- [Anvil Welding](recipes/#anvil-welding)
- [Anvil Working](recipes/#anvil-working)
- [Barrel Instant](recipes/#barrel-instant)
- [Barrel Sealed](recipes/#barrel-sealed)
- [Bloomery](recipes/#bloomery)
- [Casting](recipes/#casting)
- [Collapse](recipes/#collapse)
- [Heating](recipes/#heating)
- [Knapping](recipes/#knapping)
- [Landslide](recipes/#landslide)
- [Loom](recipes/#loom)
- [Pot](recipes-pot/)
- [Quern](recipes/#quern)
- [Scraping](recipes/#scraping)

<!--linky_end_sort_alphabetical-->

### [TFC Data](custom/)

These are custom data types that are loaded by TFC.

<!--linky_begin_sort_alphabetical-->

- [Damage Resistances](custom/#damage-resistances)
- [Drinkables](custom/#drinkables)
- [Fertilizers](custom/#fertilizers)
- [Food Items](custom/#food-items)
- [Fuels](custom/#fuels)
- [Item Heats](custom/#item-heats)
- [Item Sizes](custom/#item-sizes)
- [Lamp Fuels](custom/#lamp-fuels)
- [Metals](custom/#metals)
- [Supports](custom/#supports)

<!--linky_end_sort_alphabetical-->

### Misc

<!--linky_begin_sort_alphabetical-->

- [Block Ingredients](common-types/#block-ingredients)
- [Block State](common-types/#block-state)
- [Fluid Ingredients](common-types/#fluid-ingredients)
- [Fluid Stack Ingredients](common-types/#fluid-stack-ingredients)
- [Fluid Stack](common-types/#fluid-stack)
- [Food Traits](common-types/#food-traits)
- [Ingredients](ingredients/)
- [Item Stack Ingredients](common-types/#item-stack-ingredients)
- [Item Stack Modifiers](item-stack-modifiers/)
- [Item Stack Providers](common-types/#item-stack-providers)
- [Item Stacks](common-types/#item-stacks)
- [Tags](tags/)
- [Temperature](common-types/#temperature)

<!--linky_end_sort_alphabetical-->

TFC has a large number of crafting recipe types, other recipes, custom data, tags, and more which are also customizable via datapacks. This can be used to add or remove recipes from TFC devices, change or give things TFC-like behavior, or interact with other mods.
2 changes: 1 addition & 1 deletion 1.20.x/data/ingredients.md → 1.20.x/ingredients.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: page
title: "Ingredients"
permalink: /1.20.x/data/ingredients/
permalink: /1.20.x/ingredients/
---

# Ingredients
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
layout: page
title: "Item Stack Modifiers"
permalink: /1.20.x/data/item-stack-modifiers/
permalink: /1.20.x/item-stack-modifiers/
---

# Item Stack Modifiers

An item stack modifier is a entry in a [Item Stack Provider](../common-types/#item-stack-providers). It must contain at least a `type` field which identifies the type of the modifier. Modifiers may also require additional properties based on their type.

Note that some modifiers only function when used in crafting recipes that support the use of an [Item Stack Provider](../common-types/#item-stack-providers), that is, [Advanced Shaped Recipe](../../data/crafting/#advanced-shaped-crafting) and [Advanced Shapeless Recipe](../../data/crafting/#advanced-shapeless-crafting).
Note that some modifiers only function when used in crafting recipes that support the use of an [Item Stack Provider](../common-types/#item-stack-providers), that is, [Advanced Shaped Recipe](../crafting/#advanced-shaped-crafting) and [Advanced Shapeless Recipe](../crafting/#advanced-shapeless-crafting).

TFC adds the following item stack modifier types:

Expand Down
2 changes: 1 addition & 1 deletion 1.20.x/data/recipes-pot.md → 1.20.x/recipes-pot.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: page
title: "Firepit Pot Recipes"
permalink: /1.20.x/data/recipes-pot/
permalink: /1.20.x/recipes-pot/
---

# Firepit Pot Recipes
Expand Down
2 changes: 1 addition & 1 deletion 1.20.x/data/recipes.md → 1.20.x/recipes.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: page
title: "Recipes"
permalink: /1.20.x/data/recipes/
permalink: /1.20.x/recipes/
---

# Recipe Types
Expand Down
2 changes: 1 addition & 1 deletion 1.20.x/data/tags.md → 1.20.x/tags.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: page
title: "Tags"
permalink: /1.20.x/data/tags/
permalink: /1.20.x/tags/
---

# Tags
Expand Down
2 changes: 1 addition & 1 deletion 1.20.x/worldgen/carvers.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ permalink: /1.20.x/worldgen/carvers/

# Configured Carvers

*[Vanilla Reference for Carvers](https://minecraft.gamepedia.com/Custom_world_generation#Carvers)*
*[Vanilla Reference for Carvers](https://minecraft.wiki/w/Carver_definition)*

TFC adds two variants on vanilla carvers, which are modified to be able to both carve, and replace TFC rock blocks. These blocks are defined in the [dimension](../dimension/) settings.

Expand Down
2 changes: 1 addition & 1 deletion 1.20.x/worldgen/features/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ A modified version of vanilla's iceberg feature to use salt water.
- `state`: The main block of the iceberg.

### Powder Snow
Places a disc of a block, replacing anything with the `tfc:powder_snow_replaceable` [Block Tag](../../data/tags/)
Places a disc of a block, replacing anything with the `tfc:powder_snow_replaceable` [Block Tag](../../tags/)

- Type: `tfc:powder_snow`
- Config:
Expand Down
12 changes: 4 additions & 8 deletions 1.20.x/worldgen/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,16 @@ permalink: /1.20.x/worldgen/

# World Generation

Note: this documentation will assume a working knowledge of how both data packs, and custom world generation works in vanilla Minecraft. If you are unfamiliar with those topics, the wiki provides a good starting point to learn about [Data Packs](https://minecraft.gamepedia.com/Data_Pack), [Custom World Generation](https://minecraft.gamepedia.com/Custom_world_generation), and [Custom Dimensions](https://minecraft.gamepedia.com/Custom_dimension).
Note: this documentation will assume a working knowledge of how both data packs, and custom world generation works in vanilla Minecraft. If you are unfamiliar with those topics, the wiki provides a good starting point to learn about [Data Packs](https://minecraft.wiki/w/Data_pack), and [Custom World Generation](https://minecraft.wiki/w/Custom_world_generation).

TFC exposes the "TFC World Generation" `level-type` (for servers), and preset (for clients). When you create a new world using this generation, it creates a default chunk generator and biome source. In order to modify these, you will need to override the overworld dimension (`data/minecraft/dimension/overworld.json`), and use the TFC chunk generator and biome source. More information can be found in the [dimension](dimension/) article.

All other world generation, including biomes, configured features, decorators, carvers, and surface builders can be customized to various extents by replacing the specific files.

Finally, **all** of TFC's world generation is already done using JSON, and every existing file can be found in the [world generation folder](https://github.com/TerraFirmaCraft/TerraFirmaCraft/tree/1.20.x/src/main/resources/data/tfc/worldgen) in the TFC repository.
TFC adds the `tfc:overworld` [World Preset](https://minecraft.wiki/w/World_preset_definition) which generates TFC terrain, and can be selected both in client and on servers. TFC also adds various biomes, features, decorators, carvers, which can be found below:

### Sections

- [Dimension](dimension/)
- [World Presets](world-preset/)
- [Biomes](biomes/)
- [Configured Features](features/)
- [Decorators](decorators/)
- [Configured Carvers](carvers/)
- [Common Types](common-types/)
- [WorldGen Tags](tags/)
- [Tags](tags/)
2 changes: 1 addition & 1 deletion 1.20.x/worldgen/tags.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: "WorldGen Tags"
permalink: /1.20.x/worldgen/tags/
---

This page details all the world generation tags TFC adds. For generic tags, see [Tags](../../data/tags/).
This page details all the world generation tags TFC adds. For generic tags, see [Tags](../../tags/).

## Biome Tags

Expand Down
Loading

0 comments on commit 3acf1e3

Please sign in to comment.