1100 Commits

Author SHA1 Message Date
IntegratedQuantum
7145aca964 Support simple modifiers (currently they can only change tool stats one time) 2025-02-25 21:26:17 +01:00
IntegratedQuantum
ba50014acd Make the biome transition smooth
fixes #1107
2025-02-24 20:47:55 +01:00
IntegratedQuantum
43b6d9e5a0 Optimize and simplify the CaveBiomeMap value interpolation, making use of the axis aligned nature of the underlying grid. 2025-02-24 20:19:21 +01:00
Carrie
5b0e476fff
Unique Baobab leaves and leafElongation in savannah (#1101) 2025-02-23 21:22:32 +01:00
IntegratedQuantum
958f00c9f0 Improve the spawn searching algorithm.
It now uses a spiral starting at (0, 0), and it should be a lot faster too.

fixes #1093
2025-02-23 21:17:13 +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
IntegratedQuantum
f83479264e Trigger button release actions when switching between menu and game.
fixes #1080
2025-02-23 20:21:34 +01:00
IntegratedQuantum
70c3772b1b Reset the eyePos on death.
Should fix #968
2025-02-23 20:15:31 +01:00
IntegratedQuantum
dc3b2924a5 Don't change color of immutable slots on click.
fixes #1085
2025-02-23 20:13:01 +01:00
IntegratedQuantum
c343d434cb Limit player names and chat messages, both in terms of visible and total characters.
fixes #1099
fixes #1098
2025-02-23 19:21:11 +01:00
IntegratedQuantum
8e4a39e84e Fix entity models with transparent pixels.
fixes #820
2025-02-23 18:48:24 +01:00
IntegratedQuantum
02710fdba6 Run the game in ReleaseSafe by default.
fixes #409
2025-02-23 15:53:28 +01:00
Carrie
a5c3f2e65b
Make plants, leaves and torches break faster (#1094) 2025-02-23 11:48:40 +01:00
IntegratedQuantum
30e24c2687 Explicitly specify the path of windows tar.
Some people also have linux tar installed, which of course works differently.

I hate windows.
2025-02-23 11:26:11 +01:00
MnHs
5cfe09190f
Add coyote time (#1053)
* add coyote time

* remove getJumpBlocking function

* fix undeclared constant error

* try to fix input delay

* fix coyote jump input delay

* fix paranoid check

* add jump coyote timer to f3 menu, cleanup
2025-02-22 15:18:58 +01:00
IntegratedQuantum
1a7c4c3ae6 Make diamond veins smaller, but more common 2025-02-22 10:52:03 +01:00
ikabod-kee
61cf456af8
Added durability for binding (#1089) 2025-02-22 10:19:32 +01:00
IntegratedQuantum
c46c469f21 Don't run the power check when trying to place ores on blocks.
fixes #1076
2025-02-22 10:10:38 +01:00
IntegratedQuantum
efd9ce8141 Deblobification 2025-02-21 20:26:38 +01:00
ikabod-kee
52724bbe6e
Pickaxe Rebalance (v1) (#1078)
* Pickaxe Revamp

* Void Stone and Obsidian Rebalance

* Fixes

* New pickaxe shape

* Removed Density = Durability

---------

Co-authored-by: Carrie <carriecapp9@gmail.com>
2025-02-21 20:14:34 +01:00
ikabod-kee
568d694756
Autumn Forest Biomes (#1010)
* Added Autumn Forests

* Gold

* No!

* The line!
2025-02-20 20:58:26 +01:00
IntegratedQuantum
feff96b3f3 Rename some material parameters, look up the true material density, and add some more function types.
fixes #1074
2025-02-20 20:42: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
5ae29fb891
Add Pebbles (#1073)
* Add pebbles

* Tweak pebbles texture

* Add pebbles item texture and recipe
2025-02-19 20:27:29 +01:00
IntegratedQuantum
5d37993132 Fix floating point precision issue in the fog gradient calculation, which lead to weird black lines.
fixes #1034
2025-02-19 19:18:03 +01:00
IntegratedQuantum
1bcd5095da Fix problem of the post processing shader sampling the fog values at the wrong resolution, leading to stripes at low resolution scales.
fixes #1065
2025-02-19 19:11:20 +01:00
Carrie
980588f6ed
Coal and Diamond blocks (#1059)
* Add coal and diamond blocks and recipes

* Diamond block needs breaking power of 10

* Tweak diamond block texture

* New diamond block, cut diamond block + recipes
2025-02-19 16:44:28 +01:00
IntegratedQuantum
3d81ef9d3d
Revamp the procedural crafting system. (#974)
* Add a button in the workbench.

This can be used to toggle the thing.

* Do all the tool type reading and registering stuff

* The button now toggles

* Send the tool type to the server when opening the workbench inventory.

Clicking the button will now just close and reopen the inventory.

* Unify the tool powers (no more shovers for you).

The tool type is no determined by the button

* Add the new system for calculating the tool properties based on per-slot parameters.

* Some fixes for the previous commit

* Allow disabling slots, or making them mandatory

* The return of the shover, and other tools. Also fixed some bugs.

* Tool texturing can now be configured using an actual texture, where each color corresponds to one slot.

Also added temporary textures for the current tools.

* Remove all the unused tool code

* Hide disabled slots and change color of optional slots.

* Add support for overlay tool textures and add an example texture for the pickaxe.

* Avoid needless error outputs when no image was loaded.
2025-02-19 16:43:17 +01:00
IntegratedQuantum
ca0a37cabb Add an option to allow people to join without being invited (requires a public IP address).
Due to the non-obvious technical requirements, I decided to hide it a bit.

fixes #618
2025-02-16 16:24:51 +01:00
IntegratedQuantum
8aa0e9101b Leave behind the stone block when mining ores, only dropping the ore itself.
fixes #981
2025-02-16 10:50:14 +01:00
IntegratedQuantum
a28188de93 Consume item when putting ores onto a block.
fixes #1049
2025-02-16 10:32:07 +01:00
IntegratedQuantum
c1a882c163 Fix undefined values being used when calculating tool properties.
should fix #1055
2025-02-16 10:18:11 +01:00
IntegratedQuantum
1f08735177 Only print a warning when the stun server couldn't be reached.
fixes #1052
2025-02-16 09:24:30 +01:00
Carrie
ddb96ab3a4
Add terracotta and its brick variants (#1057) 2025-02-16 08:58:05 +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
911abe7ae4
dynamic lighting (it's all fake) (#1039)
* Get the smallest light value from sampling 4 light samples in the normal direction

* Fix small sampling mistake

* Restrict the code to just one step and fix a small bug regarding colored transparent blocks

* Set the block contrast to zero, it now only relies on the flood fill lighting.

* Revert unintended changes

* Actually make it do something. And disable it in LOD, to reduce its performance cost.

* Increase the contrast further

* Change contrast from 2 to 2.5
2025-02-14 20:15:53 +01:00
IntegratedQuantum
6f33963e8c Check for low z values in the gradient fog integral.
Also simplified the logic a bit.

might fix #1034
2025-02-13 19:58:25 +01:00
IntegratedQuantum
47adc1067d Fix pixel errors at chunk borders.
The floating point numbers were rounded differently depending on the chunk.
2025-02-12 21:09:11 +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
a0663d7338 Allow sticking ores back into the ground (and other things)
fixes #982
2025-02-09 19:57:46 +01:00
IntegratedQuantum
5bea8f41b6 Disallow the .fillFromCreative command outside of creative mode.
fixes #1022
fixes #743
2025-02-09 17:32:55 +01:00
IntegratedQuantum
c9bac6377e Refactor how recipes are handled:
- They now have a fixed source type
- The server is responsible for filling the recipe items, disabling use of fillFromCreative for recipes
- The server now checks if the recipe is known (→ recipes cannot be exploited to get unobtainable items)
- The inventory is now cached on the client, instead of being recreated every time the recipes update (→less traffic)
2025-02-09 17:11:21 +01:00
IntegratedQuantum
2b3f38827e Make fog and lava don't drop items and fix syntax error 2025-02-09 12:40:02 +01:00
ikabod-kee
ba3091ff23 Cobblestone! 2025-02-09 12:34:28 +01:00
Carrie
9d1e4005b8 New clay texture 2025-02-08 15:34:15 +01:00
IntegratedQuantum
35883591d2 Hardcode the chisel break time to 0.5 seconds, to make it easier in survival. 2025-02-08 15:30:35 +01:00
IntegratedQuantum
4196870814 Some rebalancing:
- Diamonds increase efficiency, but decrease durability
- Iron now gets you more durability
- Stone now gets you more durability
2025-02-08 12:44:32 +01:00
IntegratedQuantum
70021a9721 Keep the old scroll state when recalculating the inventory crafting gui.
fixes #997
2025-02-08 12:19:54 +01:00