75 Commits

Author SHA1 Message Date
Krzysztof Wiśniewski
8f9ebe55fa
Allow direct use of blueprints as SBBs (#1500)
## Descriptions

This pull request adds inline SBBs feature which allows blueprints to be
used directly (without SBB zon file) as child in other SBB files.
Blueprint used this way must not any child blocks on it's own.
To ensure that the feature works correctly some of the now redundant SBB
zon files were removed.
Current implementation generates SBB at runtime for each of the
blueprints that has 0 child blocks and doesn't have an SBB with same ID.
In the future the implementation could be changed to create SBBs on
demand, to avoid wasting memory on blueprints which are not used or use
SBB with different name, that is not critical tho (really small gains)
and requires #1499

## Links

Resolves: #1403

---------

Co-authored-by: IntegratedQuantum <43880493+IntegratedQuantum@users.noreply.github.com>
2025-06-01 12:56:54 +02:00
ikabod-kee
2991febe3f
Oak and Birch Tree Generators (#1382)
* Added Blueprints and SBBs for oak and birch trees

* Whoops! Added .zig to .zon

* Format Change (agh)

* Fixes to generators

* Changed nulls and put trees in Tree folder

* Removed Treefixes

* Update leaf_1.zig.zon

* Omitted chances

* 5 years

* Changed the two oak roots I had neglected
2025-05-07 18:37:45 +02:00
Carrie
7fed896a77
Permafrost, cold grass, and osier (+ biome changes) (#1369)
* Permafrost, cold grass, osier, cold taiga, tweaks

* Tweak osier and cold grass item

* formatting

* Move cold_taiga to taiga/cold and migrate taiga/base

* Fix subbiomes
2025-05-04 12:39:44 +02:00
Krzysztof Wiśniewski
f193eb68bd
Migrate jungle(TODO) to jungle (#1334) 2025-04-22 22:44:49 +02:00
Carrie
8d54e187cf
Convert leaf piles into texturePiles (#1242)
* Convert leaf piles to texturePiles, add to biomes, reduce break time

* Fix rotation name, tweak yellow leaf pile texture, delete unused leaf pile textures
2025-03-28 19:57:19 +01:00
ikabod-kee
ce750dbe77
Added Duckweed (#1247) 2025-03-27 16:15:30 +01:00
Carrie
8f0693f7b0
Lily pads / adjust water reflectivity (#1221)
* Add lily pads and reduce water reflectivity

* tweka water reflectivity
2025-03-23 19:36:31 +01:00
Carrie
302544bbcb
Add cactus flowers, tussock, and cactus top texture (#1195)
* Add cactus flowers, tussock, and cactus top texture

* minor cactus flower texture tweaks

* Gradient cactus flower
2025-03-19 21:45:12 +01:00
IntegratedQuantum
6f26dde472 keepOriginal is now specified in the biome and can be used for subbiomes.
fixes #1135
2025-03-17 21:30:08 +01:00
IntegratedQuantum
b303244773
Run the zon format check with our zig fmt (#1175)
* Format all the zon assets to prepare for running the the format check with our zig fmt

* Update ci.yml

* Remove zon files from the old formatter

* Add a formatting violation to test the CI

* Undo the check
2025-03-07 22:34:55 +01:00
ikabod-kee
5a9e537ed4
Birch, Thin Birch + Rare Chopped Forests (#1170)
* A

* Added Thin Birch Biome

* Density

* Changes

* Changes 2
2025-03-07 22:08:38 +01:00
Carrie
f9c5e4bb98
Glimmergills and Glimmergill caves (#1174)
* Add glimmergills and glimmergill caves

* Lower glimmergill cave height

* Formatting
2025-03-07 22:07:44 +01:00
Carrie
b497133967
Mushrooms: Bolete and Toadstool (#1165)
* Add bolete and toadstool

* Add item textures and add to biomes
2025-03-06 20:34:47 +01:00
IntegratedQuantum
4b45f4fef5 Rename file to .zig.zon 2025-03-06 20:22:41 +01:00
IntegratedQuantum
1d6ca53cf7 Add the "spawn" biome 2025-03-06 20:18:57 +01:00
ikabod-kee
07a8d4ba5c
Added Limestone Mountains and some sub-biomes (#1131)
* Added Limestone Mountains and some sub-biomes

* Changed chances

* Update base.zig.zon

* Update patchy.zig.zon

* Slight Adjustments

* Fixed the totally-not-embarrassing syntax error
2025-03-06 18:36:39 +01:00
Garrett
1eb813ff51
Reduce Cacti spawn rates (#1163)
This is my first contribution to Cubyz. There were too many cacti spawning in the desert. I adjusted the rates so they would appear more infrequently and make the desert look more natural.
2025-03-06 17:56:04 +01:00
Carrie
5b0e476fff
Unique Baobab leaves and leafElongation in savannah (#1101) 2025-02-23 21:22:32 +01:00
ikabod-kee
9bfa17812d
Made biomes bigger (#1086)
* Made biomes bigger

* More changes

* Update save_creation.zig
2025-02-23 20:37:55 +01:00
ikabod-kee
568d694756
Autumn Forest Biomes (#1010)
* Added Autumn Forests

* Gold

* No!

* The line!
2025-02-20 20:58:26 +01:00
ikabod-kee
894a8bd93a
Wetlands and Swamp Revamp 2! (#1026)
* Wetlands Revamp

* Swamp changes

* Made flowers grouped!

* Sparser Wetland Trees

* Added the single line!
2025-02-20 19:40:50 +01:00
Carrie
2a2b599d5d
Hibiscus, Trumpet Lily, and Dandelions (#1044)
* Add hibiscus, trumpet lily, dandelions, tweak daffodil, and give flowers planar rotation

* Add item textures for new flowers

* Add new flowers to biomes
2025-02-15 09:15:46 +01:00
IntegratedQuantum
22488a28ae CI: Check for trailing spaces and (missing) newlines at the end of the file
fixes #737
2025-02-12 17:36:44 +01:00
ikabod-kee
fd43253f4a
Add Ice Caves! (#1028)
* Add Ice Caves!

* Update glacite.zig.zon

* Reverted Glacite and Better Ice Caves

* Added Fog
2025-02-11 19:09:18 +01:00
ikabod-kee
7d0147af2a
Reduced Lava Caves Spawn Chance (#1021)
* Lava Caves

* Fixed the unintended change
2025-02-10 22:42:07 +01:00
IntegratedQuantum
2cc1e383d9 Add the modern art biome, as a natural source of cloth.
makes #1003 less important
2025-02-07 21:17:40 +01:00
Carrie
07be80d418 Add leafElogation and flowers to the forest 2025-02-04 21:14:39 +01:00
IntegratedQuantum
b384ec9ed8 Allow making less spherical trees with the leafElongation parameters.
as proposed in https://github.com/PixelGuys/Cubyz/issues/893#issuecomment-2573743185
2025-02-03 21:12:32 +01:00
ikabod-kee
a7987e5bbc Tundra Moved 2025-02-01 16:25:11 +01:00
ikabod-kee
57658d6b10
Some Biomes --> Their own folders + Extra Sub Biomes (#955)
* Moved things into their own folders

* Small changes

* Changed Clearing Chances

* Fixes

* Radius Changes + Limestone Boulders
2025-01-24 23:06:09 +01:00
ikabod-kee
07ab2c8e58
Swamp Revamp (#931)
* Added New Swamp

* Renamed Wetlands internally

* Bam

* Updated Wetlands height

* Update base.zig.zon

* Increased average biome size
2025-01-15 18:14:16 +01:00
ikabod-kee
a2d8ce5fb5
Hot, Dry Biomes (Terrain Revamp 1.0) (#903)
* Desert

* Change 1

* Changes 2

* Update ferrock_mountains.zig.zon

* Some Issues Addressed

* Added vegetation to savannah

* Increased radius of desert and ferrock mountains

* Exposed stone more!

* Updated Prairie

* Did the thing

* Addressed issues

* Butte Fix

* Move Cactus

* No Widow

* Get rid of it

* Put savannah into its own folder

* As you wish

* Update prairie.zig.zon

* Update elevated.zig.zon
2025-01-11 20:47:41 +01:00
ikabod-kee
c784f16c19
Added a void to separate the cave world from the root world. (#833)
* Add files via upload

* Move the files because I love github

* ACTUALLY replace the files. I love github

* Changed it to 50k

* Folder for void biomes + other changes

Made torches rarer,
Fixed void caverns generating too high,
Made the fog lighter,
Added a root crystals biome (it's a bit rare, I haven't seen it generate, but hypothetically it should be there)

* Removed air patches

* Various Void Changes

Made void spawn lower,
Made void root torches more common,
Changed fog color

* Fixed Fog Color and Made Fog Thicker

* Made the void 1500 blocks tall

* Added caves parameter to Void

* Removed stoneblock replacement
2024-12-19 20:58:49 +01:00
IntegratedQuantum
be818cd452 I forgot to actually add the beach biomes. 2024-12-15 12:38:52 +01:00
IntegratedQuantum
60f5da1724 Add transition biomes and beaches.
could also help with #344 (although that might require some more system changes)
2024-12-14 18:21:53 +01:00
IntegratedQuantum
518bc0bf1f Add flower patches
fixes #557
2024-12-03 21:11:05 +01:00
IntegratedQuantum
4ca28668f1 Add a priority system for biome structures.
This solves a big part of the degradability problem and allows removing non_degradable_oak_leaves.
2024-12-02 21:13:56 +01:00
IntegratedQuantum
f36ad5215f Add a volcano biome. 2024-11-07 20:57:41 +01:00
IntegratedQuantum
6ed0800b4a Change all assets from json to zon.
fixes #733
2024-09-29 17:34:40 +02:00
IntegratedQuantum
d27029ee2b Allow slightly changing the cave radius parameters in the biome settings.
A negative radius is interpreted as adding terrain instead of removing terrain.
This is used in the new void_roots biome and fixes #725

Until #231 is implemented I give this biome the entire area below -50000.
2024-09-17 20:03:22 +02:00
Carrie
44bb49ee5b Add lava caves, obsidian, and dirt 2024-08-11 10:44:28 +02:00
IntegratedQuantum
55a3957917 Structure chance is now a chance per spawn point instead of a chance per block.
This is more intuitive, but it requires multiplying all the chances in existing biomes by 16×.
2024-08-03 15:49:35 +02:00
Carrie
033ff55c02 Convert stalagmites to simple structures 2024-07-12 10:05:47 +02:00
IntegratedQuantum
358c0f38a8 Implement Stalagmites as their own simple structure model, which allows configuring the parameters in detail, potentially even adding multiple stalagmites with different block types..
Could also help with #547 once the biomes in question are transitioned to the new stalagmite structures, instead of using the old, dedicated generator.
2024-07-11 21:12:32 +02:00
careeoki
56acfd05f3
Update biome structure chance, Ice and Frost (#550)
* Fix biome structure chance, Ice and Frost

* Make grassland consistent with other changes

* Revert glacier stoneBlock

* Warm Ocean stoneBlock is now sandstone

* 1/3 forest trees are birch
2024-07-08 22:10:54 +02:00
IntegratedQuantum
1f61ea0c37 Load music by ID from the assets folder and improve error handling when the file isn't found.
fixes #535
fixes #543
2024-07-03 17:22:07 +02:00
IntegratedQuantum
d2bc6e6428 Allow configuring leaf radius and tree height independently.
fixes #519
2024-07-02 10:23:31 +02:00
IntegratedQuantum
07ede27823 Fix missing block warnings from the glass forest. Also make their stems opaque. 2024-07-01 17:07:44 +02:00
careeoki
3956f07556
Marble caves + bricks (#538)
* Lower contrast of bricks + add marble and limestone bricks

* Add files via upload

* Add marble cabve
2024-07-01 10:22:11 +02:00
careeoki
e0d2645f29
Mahogany trees, updated jungle (somewhat) (#527)
* Add mahogany textures

* Add mahogany blocsk

* Add mahogany to jungles

* Tweak mahogany textures
2024-06-28 09:56:53 +02:00