935 Commits

Author SHA1 Message Date
Carrie
3d16252f52
Update ores in prep for #611 (#979)
* Update ores, add raw iron, tweak some textures

* Make raw iron a block item

* Remove temporary textures

* Delete raw iron and revert associated changes
2025-01-30 22:12:31 +01:00
IntegratedQuantum
38dcb5480e Add an ore rotation mode that allows you to put the ore on top of any other block.
fixes #611
2025-01-30 21:37:03 +01:00
IntegratedQuantum
a414d49637 Generate all stone in underground LOD3+ chunks.
This reduces the compressed size when initially sending chunks over the network by over 40%.
helps with #830
makes #720 less important
makes #631 less important
makes #444 more useful
fixes #135 (although in a different way than I expected)
2025-01-29 22:19:22 +01:00
Carrie
7e1749de0e
Reorganize items/textures and remove unused files (#975)
* Reorganize items/textures and remove unused files

* Remove translationIDs
2025-01-28 20:30:01 +01:00
IntegratedQuantum
ee4e2a7015 Add a linear gradient to the atmospheric fog, starting at 100 blocks, reaching 0 at 1000 blocks.
fixes #961
2025-01-27 18:39:02 +01:00
OneAvargeCoder193
1de5efbf6e
hopefully save the hand and also when the player leaves or server closes (#943)
* hopefully save the hand and also when the player leaves or server closes

* fixes

* change it to check the user id

* fix

* check pointers

* fix compilation error

* fix other bugs

* put player id in source

* fix error

* remove one line of code

* fix serialization

* revert < 22 to < 14

* change

* fix error where inventory not saved on alt f4

* change connected to a regular bool

* remove isConnected function
2025-01-26 21:30:23 +01:00
OneAvargeCoder193
fabc5c1aef
Added crouching and block based friction (#926)
* basic_crouching

* added crouching and block based friction

* use 1 / in friction calculation

* fix some issues

* remove spam

* make flying disable friction

* add slipping to the crouch when you move to fast

* change parameters to 20 and 0.2

* final changes

* fixes

* fix issue when flying

* lower the slip limit

* change slip again

* only change crouch perc when on ground

* small fixes

* other changes

* change slip limit

* revert to linear

* make friction more accurate

* fixes i think

* clamp it

* swap min and max if max is smaller

* change it again

* make it symmetrical
2025-01-26 19:53:02 +01:00
OneAvargeCoder193
818f736311
Added fall damage and /kill (#959)
* add player health and fall damage and /kill

* less latency for taking damage

* clamp health

* changes

* final changes maybe

* return serverFailure if target not found

* fix error

* remove /damage
2025-01-25 22:54:23 +01:00
careeoki
967e24a1c4
Darken flower stems + minor plant tweaks (#962)
* Darken flower stems, Tweak plant textures

* Lush grass tweak
2025-01-25 22:03:40 +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
IntegratedQuantum
659deab1f4 Rename sepcial texture and texture info file names.
Should make adding these just a little less painful.
fixes #954
2025-01-24 22:59:32 +01:00
OneAvargeCoder193
07d9451580
Change SyncOperation to use a tagged union (#958)
* change syncoperation to a tagged union

* remove comments

* fixes
2025-01-24 22:36:52 +01:00
OneAvargeCoder193
b39cfc199c send user id to the client 2025-01-24 22:06:31 +01:00
IntegratedQuantum
d8723da57c Rewrite the formatter in Zig, dropping the partial python dependency.
Also added a check for .zon but not .zig.zon which is the preferred extension.
2025-01-24 21:04:03 +01:00
IntegratedQuantum
2b3f56a33c
Add a CI step to check if the game compiles on Linux and Windows (#956)
* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update ci.yml

* oops

* Update assets.zig
2025-01-24 18:12:52 +01:00
IntegratedQuantum
a0d015a07a Disable ambient occlusion for all vegetation textures.
Forgot to add these files in my last commit.
2025-01-24 12:04:52 +01:00
IntegratedQuantum
93f28e6621 Allow disabling ambient occlusion per face using the textureInfo.zig.zon.
I also disabled it for a bunch of plants.

fixes #362
2025-01-23 23:30:18 +01:00
ikabod-kee
0f4b93330e
Add Block Health (ft. QuantumDeveloper) (#945)
* PR!

* Rename hardness to blockHealth

* Replaced Hardness!

* Adjusted new blocks

---------

Co-authored-by: IntegratedQuantum <jahe788@gmail.com>
2025-01-23 22:35:00 +01:00
careeoki
a169e96dab
Daffodil, Castilleja, and Ferns (#951)
* Add daffodil, castilleja, and fern

* Add fern item texture, tweak dry and lush grass items. tweak vetch and item

* Update flower models to stay within 1 block of space

* Castilleja.zig.zon, fix some formatting
2025-01-23 22:24:39 +01:00
OneAvargeCoder193
47a854d3cc
make a open log button (#946)
* make a open log button

* move to function

* make an icon

* do something

* small changes
2025-01-23 18:37:37 +01:00
Carrie
3eddbb5483 Make breaking animation transparent 2025-01-23 18:34:47 +01:00
IntegratedQuantum
faaae6ff4a Add a block breaking animation
fixes #620
2025-01-22 21:32:10 +01:00
OneAvargeCoder193
b1dc5cacf0
add support for _defaults.zig.zon in blocks and biomes assets (#923)
* add support for _defaults.zig.zon in blocks and biomes assets

* this is temporary and doesnt fix anything and adds a couple segafaults dont merge this

* finally fix segfault and make it work

* changes

* changes
2025-01-18 10:59:23 +01:00
IntegratedQuantum
daba532012 Use a different settings file in debug mode.
I keep getting annoyed by slow loading time in debug mode if my render distance is too high. This should speed up my debug cycles.
2025-01-17 21:20:10 +01:00
ikabod-kee
599d6bdb52 Made marble a material 2025-01-17 19:42:09 +01:00
ikabod-kee
3bead46293 Changed colors 2025-01-17 19:42:09 +01:00
ikabod-kee
8ac2966a42 Made different stone types usable in crafting 2025-01-17 19:42:09 +01:00
ikabod-kee
8dea53fc99 Added missing recipes 2025-01-17 19:05:22 +01:00
IntegratedQuantum
d74e85b181 Add temporary recipe to create iron from crafting it in your inventory. 2025-01-16 21:49:20 +01:00
IntegratedQuantum
211641d324 Calculate the block breaking time from the block and tool properties in survival mode.
progress towards #620
2025-01-15 23:33:14 +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
IntegratedQuantum
7d3a348863 Water shouldn't drop any blocks when destroyed.
fixes #925
2025-01-14 21:47:39 +01:00
OneAvargeCoder193
137b7e4706 make / open chat 2025-01-14 20:20:36 +01:00
IntegratedQuantum
d47a4ab62a Prevent crashes from recursively opening the error prompt and fix error message from the inventory_crafting window.
fixes #921
2025-01-13 16:52:10 +01:00
IntegratedQuantum
2c681fbffb Simplify the process of sending formatted messages to the user chat entry, as is done often by commands. 2025-01-12 19:20:38 +01:00
IntegratedQuantum
36c38dca2d Show an error prompt every time there is an error message added to the log.
This should make it easier to find and fix problems in the assets.

fixes #911
2025-01-12 16:41:32 +01:00
IntegratedQuantum
1908a487cb Fix the remaining error messages in the console.
fixes #910

Warnings remain in the game, since they serve a different purpose.
2025-01-12 16:10:47 +01:00
IntegratedQuantum
1b1f61cae9 Change some warning messages to error messages.
Errors are things that come from actual problems, like incorrect parametrizations.
Warnings are things that hint at potential problems, but could also occur during regular runtime, like for example server lag.

progress towards #911
2025-01-12 15:54:53 +01:00
IntegratedQuantum
bf2a78a0e6 Load the block breaking textures into the block texture array.
progress towards #620
2025-01-12 14:59:12 +01:00
OneAvargeCoder193
2d783c9ece
Let the player set the default gamemode and disable cheats during world creation (#915)
* let the user change the default world gamemode and enable or disable cheats

* changes

* make old worlds not have gamerules

* fixes
2025-01-11 23:40:31 +01:00
IntegratedQuantum
16dde882e8 Show the biome properties in the F3 debug menu.
fixes #918
2025-01-11 23:00:43 +01:00
IntegratedQuantum
eae85ce519 Fix mistake in the caching of the ItemSlot amount string.
fixes #913 and should make rendering a bit faster.
2025-01-11 21:00:34 +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
careeoki
7ffbfb9445
Dry & Lush grass item textures + tweaks and colour edits (#912)
* New dry grass texture, new grass_vegetation textures and items

* Darken baobab leaves, make dead leaves more brown, tweak lush grass plant
2025-01-10 20:15:16 +01:00
IntegratedQuantum
14e475dc2a Add new climate parameters for the amount of vegetation.
fixes #877
2025-01-09 22:04:59 +01:00
IntegratedQuantum
71e0554ed2 Fix memory leak when a parent of a sub biome couldn't be found 2025-01-08 22:43:03 +01:00
ikabod-kee
4992176274 Change Mud Grass to Lush Grass 2025-01-08 22:19:39 +01:00
ikabod-kee
fecadc1a14
Default Climate Changes (#899)
* Added Blocks

* More consistent naming for grass types

* Source Code Changes
2025-01-08 21:44:10 +01:00
ikabod-kee
f492a51d63
Blocks + Block Changes necessary for Terrain Revamp 1.0 (#898)
* Added Blocks

* More consistent naming for grass types
2025-01-08 20:27:32 +01:00
careeoki
7631be234f
Update glow crystals to new coloured blocks palette (#894)
* Update glowcrystal texture, update to new coloured block palette, start on special textures

* Fixes + more work on special textures

* Tweak special textures and emmision vlalues

* Tweaks

* Final edit

* Geen

* Revert glass changes
2025-01-08 00:11:40 +01:00