c7e04649ff
Resource: Biome: add 1.19 biomes
...
Add the new biome temperature and rainfall values, as found in
decompiled Minecraft code:
- Deep Dark uses the same the values as plains
- Mangrove Swamp has the same temperature/rainfall as regular Swamp, but a
different water color
2022-10-16 13:14:31 +02:00
Bruno Saad
7bba6d0863
Adding new blocks for 1.19
2022-06-07 16:48:43 +00:00
73dfecf379
Resource: BlockType: update colors with MC1.18 texture data
2021-12-11 22:50:24 +01:00
76e5d322b1
Resource: Biome: add biome palette name mapping
...
For now we will continue to use the numerical biome IDs internally, as
our biome storage format is based on these IDs.
2021-12-11 22:50:23 +01:00
457e993c92
Introduce separate types for block/section/chunk indices
...
Newtypes are cumbersome in C++, so this is mostly documentation for now.
Also replace lots of questionable uses of size_t with int or types with
explicit width and add a few comments for constants.
2021-12-11 22:50:23 +01:00
d4be401bcd
Resource: Biome: fix integer underflow
...
Explicitly cast height value to signed integer to fix incorrect biome color
values below a height of 64.
2021-12-11 22:28:22 +01:00
fd4773c8ca
treewide: replace license headers with SPDX-License-Identifier
2021-11-17 12:07:56 +01:00
73e5c12cde
Rename .inc files to .inc.cpp for better language detection by editors and Github
2021-06-25 19:43:14 +02:00
af1afc3315
Biome: add Dripstone Caves and Lush Caves
...
Temperature and downfall values were taken from the Caves & Cliffs: Part II
Preview datapack.
2021-06-24 19:28:25 +02:00
0a42605a2b
Add Minecraft 1.17 block types, update all color values
2021-06-24 19:28:25 +02:00
Aaron Webster
367078178f
Change BlockType from struct to class
...
Fixes the -Wmismatched-tags compilation warning.
2020-09-16 18:14:09 -07:00
19ef022a67
Biome: return FloatColor for block colors
2020-06-20 11:40:29 +02:00
5946d19629
Biome: add biome-specific water colors
...
Also fix default and swamp water colors.
2020-06-19 01:21:35 +02:00
685a4959f1
Add correct foliage colors for birch and spruce
2020-06-19 00:00:30 +02:00
ef4b6eac02
BlockType: replace list of booleans with flags bitfield
2020-06-18 23:38:21 +02:00
446e74791f
Add Minecraft 1.16 biomes
...
These are Nether biomes. We still add them for completeness.
2020-06-18 23:18:11 +02:00
985eb18e52
Update temperature values for 1.15 ocean biomes
2020-06-18 23:11:34 +02:00
a47b34de0d
Add block types for Minecraft 1.16 (rc1)
2020-06-18 22:57:38 +02:00
c313db2994
Add block types for Minecraft 1.15
2019-12-10 23:47:34 +01:00
ae68c3bab4
Add quirk for stone_slab rename
...
The old stone_slab block from pre-1.14 has been renamed to
smooth_stone_slab, and the name stone_slab was reused for a new block.
Resolve the palette entry depending on the chunk's dataVersion.
2019-05-25 19:51:28 +02:00
359ace4932
Update block types for Minecraft 1.14
...
Based-on-patch-by: Roman Shishkin <spark@uwtech.org>
2019-05-25 18:55:29 +02:00
Roman Shishkin
b8d6b905bf
Add new 1.14 biomes
2019-05-25 16:41:46 +02:00
0bdf249307
Add biome color computation
...
Rather than using fixed values for all biomes, generate grass and foliage
colors based on (height-dependent) temperature and rainfall parameters.
This changes a lot of colors; in general, the new colors should be closer
to the actual Minecraft rendering. It also fixes a few colors that were
completely off (like in the badlands biomes) and adds the MC 1.13 biomes
(which were rendered in black).
Some of the newer biomes (warm/cold/... oceans) don't have proper
parameters yet, and we do not derive the water color from the biome yet.
Fixes #1 .
2018-11-08 17:49:28 +01:00
4ffa28dd63
Distinguish grass and foliage green in block types
2018-11-07 23:07:45 +01:00
dd432af298
Resolve pre-1.13 block types by mapping them to 1.13 types
2018-07-24 19:26:40 +02:00
fed9c21f5e
Resource: add mapping data from pre-1.13 block types/values to 1.13 states
2018-07-24 00:15:48 +02:00
2ed7f13268
Resource: add generated block type definiton file for Minecraft 1.13
2018-07-22 16:57:00 +02:00
64f81ff50c
BlockType: make double plants visible
...
We use the bottom block to distinguish plant types, as the top block's
data values are weird.
2017-08-19 13:28:22 +02:00
b04e1cb056
BlockType: allow specifying visible and green value per damage value
2017-08-19 13:01:01 +02:00
6177612ea4
Resource/BlockType: update for Minecraft 1.12
2017-06-13 15:39:52 +02:00
7c4254ba34
Resource/BlockType: correctly distinguish stone subtypes
2017-05-19 13:45:03 +02:00
b2a5b19422
Resource/BlockType: fix color of "ready" saplings
2017-03-01 11:51:27 +01:00
b3d5b69a32
Fix red_sand color
2016-11-22 16:32:03 +01:00
df595b3117
Add support for Minecraft 1.11 blocks
2016-11-15 23:59:28 +01:00
b97e5ddb58
Add support for Minecraft 1.10 blocks
2016-06-08 21:21:44 +02:00
f6624d04aa
Fix beetroots color/visiblity
2016-03-14 22:28:10 +01:00
b048c1eb5c
Add missing biome 128
2016-03-01 19:19:57 +01:00
e5cbd3f7ce
Add support for Minecraft 1.9 blocks
2016-03-01 19:11:35 +01:00
22b9cfcb8b
Move ressource files to a separate directory
2015-02-02 00:31:52 +01:00