Fossil

A fossil is a rarely-occurring skeletal feature composed of bone blocks, coal ore, or diamond ore.
== Generation ==
Fossils randomly generate only in desert, swamp and mangrove swamp biomes. Each chunk has two attempts within y-coordinates 0 to 320 or -63 to -8 underground to generate a fossil, each with a chance of . They have an equal chance to generate as any of the four variants of skull or four variants of spine.
Fossils first generate the pure-bone layer with a structure integrity of 0.9, meaning 10% of the bone blocks are removed and will not override original terrian blocks, leaving 90% bone blocks. Next, the ore layer generates with a structure integrity of 0.1, replacing 10% of the existing fossil with coal ore for fossils that generate above Y level 0, or deepslate diamond ore for fossils that generate below Y level -8. The locations of these ore blocks do not always correspond with the voids generated in the initial bone fossil, so the resulting combination of both generations will usually result in an incomplete fossil structure composed of bone blocks and ores.
Because fossils are features instead of structures, they generate even when the "Generate Structures" option is turned off.
== Structure ==
Naturally-generated fossils are composed of a mix of bone blocks and coal or diamond ores, as detailed above. They are made with the NBT structure block file format and have NBT files for each type of fossil located in the folder .
There are 4 type of skulls and 4 type of spines.
Structure file 	Description 	Consists of	Images
fossil/skull_1fossil/skull_1_coal	The largest skull. 	
86 in total , , or	
fossil/skull_2fossil/skull_2_coal	The second largest skull. 	
75 in total , , or	
fossil/skull_3fossil/skull_3_coal	The second smallest skull. 	
58 in total , , or	
fossil/skull_4fossil/skull_4_coal	The smallest skull, one-eyed.	
32 in total , , or	
fossil/spine_1fossil/spine_1_coal	The narrowest spine. 	
37 in total , , or	
fossil/spine_2fossil/spine_2_coal	The second narrowest spine. 	
61 in total , , or	
fossil/spine_3fossil/spine_3_coal	The second widest spine. 	
97 in total , , or	
fossil/spine_4fossil/spine_4_coal	The widest spine. 	
121 in total , , or	
== Data values ==
=== ID ===
:
:
== History ==
== Issues ==
== Trivia ==
*Hidden in the structure NBT is data that credits ProfMobius with the creation of the fossils.
== Gallery ==
CaveFossil.png|A fossil that generated inside a cave.
FossilExcavated.png|Excavating the fossil.
AllBoneFossils.png|All skull and spine structures, excluding those made of coal ore.
Superflatfossil.png|Fossil generated on a superflat world. Some bone blocks are removed/replaced with coal ores.
Excavated Skull Fossil.jpg|A fossil that has been excavated.
FossilWithCoalAndStone.png|A partially excavated fossil underground.
Fossil with Diamond.png|A fossil whose bone block is partly replaced by deepslate diamond ore.
Ender Dragon and Fossil 4 size comparison.jpg|The smallest skull fossil and largest spine fossil together compared to the largest mob, the ender dragon.
Ender Dragon and Fossil 4 size comparison 2.jpg|The same from above.
=== Odd generation ===
Many fossils in a super flat world.jpg|Many fossils that have generated on a superflat world in a swamp biome.
Underwater Fossil.jpg|A fossil that has generated underwater, inside an underwater ravine.
Underwater Floating Fossil.png|A fossil that generated mid-air in a flooded cave.
Skull Fossil that have generated Underwater.jpg|A fossil generated at the bottom of an ocean.
Fossil in a ocean ravine.png|A fossil generated in an ocean ravine.
Fossil Floating Underwater.png|Another fossil generated at the bottom of an ocean.
Fossil Underwater Excavated.png|A fossil that generated just below the seafloor.
Fossil beneath Lush Cave with Axolotl photobomb.png
=== Skulls ===
Fossil Skull 1.png
Fossil Skull 2.png
Fossil Skull 3.png
Fossil Skull 4.png
=== Spines ===
Fossil Spine 1.png
Fossil Spine 2.png
Fossil Spine 3.png
Fossil Spine 4.png
== See also ==
*Feature
*Nether fossil
== References ==
de:Fossil
es:Fósil
fr:Fossile
ja:化石
ko:화석
nl:Fossiel
pl:Skamielina
pt:Fóssil
ru:Ископаемые останки
th:ฟอสซิล
zh:化石