Custom Blocks: Difference between revisions

From Horizon's End Wiki
No edit summary
mNo edit summary
 
(9 intermediate revisions by the same user not shown)
Line 11: Line 11:
<br>'''[[Atavum Ore]]''' is an ore block which can be mined to obtain 1 [[Atavum]].
<br>'''[[Atavum Ore]]''' is an ore block which can be mined to obtain 1 [[Atavum]].


== Ore Blocks ==
An '''Aluminum Block''' is crafted from 9 [[Aluminum]] Ingots.
<br>A '''Chetherite Block''' is crafted from 9 [[Chetherite]].
<br>A '''Titanium Block''' is crafted from 9 [[Titanium]] Ingots.
<br>A '''Uranium Block''' is crafted from 9 [[Uranium]].
<br>A '''Scordite Block''' is crafted from 9 [[Scordite]].
<br>A '''Vanadium Block''' is crafted from 9 [[Vanadium]].
<br>A '''Zircon Block''' is crafted from 9 [[Zircon]].
<br>A '''Atavum Block''' is crafted from 9 [[Atavum]].
<br>A '''Raw Aluminum Block''' is crafted from 9 Raw [[Aluminum]].
<br>A '''Raw Titanium Block''' is crafted from 9 Raw [[Titanium]].
<br>A '''Raw Uranium Block''' is crafted from 9 Raw [[Uranium]].


== Ore Blocks ==
An '''[[Aluminum Block]]''' is crafted from 9 [[Aluminum]] Ingots.
<br>A '''[[Chetherite Block]]''' is crafted from 9 [[Chetherite]].
<br>A '''[[Titanium Block]]''' is crafted from 9 [[Titanium]] Ingots.
<br>A '''[[Uranium Block]]''' is crafted from 9 [[Uranium]].
<br>A '''[[Raw Aluminum Block]]''' is crafted from 9 Raw [[Aluminum]].
<br>A '''[[Raw Titanium Block]]''' is crafted from 9 Raw [[Titanium]].
<br>A '''[[Raw Uranium Block]]''' is crafted from 9 Raw [[Uranium]].
<br>A '''[[Raw Scordite Block]]''' is crafted from 9 Raw [[Scordite]].
<br>A '''[[Raw Vanadium Block]]''' is crafted from 9 Raw [[Vanadium]].
<br>A '''[[Raw Zircon Block]]''' is crafted from 9 Raw [[Zircon]].
<br>A '''[[Raw Atavum Block]]''' is crafted from 9 Raw [[Atavum]].


== Processed Blocks ==
== Processed Blocks ==
Line 35: Line 35:
<br>A '''[[Cruiser Reactor Core]]''' must be housed inside of a [[Supercapital Reactor]] in order to pilot a [[Cruiser]].
<br>A '''[[Cruiser Reactor Core]]''' must be housed inside of a [[Supercapital Reactor]] in order to pilot a [[Cruiser]].
<br>A '''[[Barge Reactor Core]]''' must be housed inside of a [[Supercapital Reactor]] in order to pilot a [[Barge]].
<br>A '''[[Barge Reactor Core]]''' must be housed inside of a [[Supercapital Reactor]] in order to pilot a [[Barge]].
<br>'''[[Mini Reactor Core]]'''
<br>'''[[Small Reactor Core]]'''
<br>'''[[Medium Reactor Core]]'''
<br>'''[[Large Reactor Core]]'''


== Technical Background ==
== Technical Background ==
[[File:2026-07-03_22.29.27.png|thumb|A picture of all possible '''blockstate configurations''' <br>
[[File:2026-07-03_22.29.27.png|thumb|A picture of all possible '''blockstate configurations''' <br>]]
<em>Starts at top left with <code>brown_mushroom_block[down=false,east=false,north=false,south=false,up=false,west=false]</code>,
all following ones just "counting" up, so next <code>f,f,f,f,f,t</code>, then <code>f,f,f,f,t,f</code>, then <code>f,f,f,f,t,t</code>...</em>]]


[[File:2026-07-03 22.29.14.png|thumb|Not all blocks are used, and some are not fully implemented:
<div style="margin-left: 20px;">
  '''red:''' unused<br>
  '''yellow:''' not fully implemented<br>
  '''green:''' fully implemented (block- and itemmodel)
</div>]]
As plugins can’t add new blocks directly, Horizon’s End uses brown mushroom blocks as a visual placeholder for some custom blocks. Because each of its 6 faces can be either connected or not, there are 2<sup>6</sup>=64 distinct blockstate configurations. With a texture pack, each configuration can be rendered with a different texture.
As plugins can’t add new blocks directly, Horizon’s End uses brown mushroom blocks as a visual placeholder for some custom blocks. Because each of its 6 faces can be either connected or not, there are 2<sup>6</sup>=64 distinct blockstate configurations. With a texture pack, each configuration can be rendered with a different texture.


Line 56: Line 52:
|-
|-
! f,f,f
! f,f,f
| unused || [[Small Reactor Core]] || [[Uranium Ore]] || [[Titanium Ore]] || [[Raw Uranium Block]] || [[Mini reactor Core]] || [[Chetherite Block]] || [[Aluminum Block]]
| unused || [[Small Reactor Core]] || [[Uranium Ore]] || [[Titanium Ore]] || [[Raw Uranium Block]] || [[Mini Reactor Core]] || [[Chetherite Block]] || [[Aluminum Block]]
|-
|-
! f,f,t
! f,f,t
Line 68: Line 64:
|-
|-
! t,f,f
! t,f,f
| [[Large Reactor Core]] || unused || [[Vanadium Block]] || [[Zircon Block]] || [[Superconductor Block]] || unused || [[Steel Block]] || block texture only
| [[Large Reactor Core]] || unused || [[Vanadium Block]] || [[Zircon Block]] || [[Superconductor Block]] || unused || [[Steel Block]] || [[Redstone Control Port]]
|-
|-
! t,f,t
! t,f,t
| [[Vanadium Ore]] || [[Cruiser Reactor Core]] || unused || [[Netherite Casing]] || unused || block texture only || unused || unused
| [[Vanadium Ore]] || [[Cruiser Reactor Core]] || unused || [[Netherite Casing]] || unused || [[Grid Energy Port]] || unused || unused
|-
|-
! t,t,f
! t,t,f
| [[Medium Reactor Core]] || unused || [[Zircon Ore]] || [[Atavum Ore]] || unused || [[Fluid Valve]] || block texture only || block texture only
| [[Medium Reactor Core]] || unused || [[Zircon Ore]] || [[Atavum Ore]] || unused || [[Fluid Valve]] || [[Rotation Shaft]] || [[Refractory Bricks]]
|-
|-
! t,t,t
! t,t,t
| [[Multiblock Workbench]] (block texture missing??) || Fluid Port (item texture missing) || unused || [[Atavum Block]] || unused || block texture only || unused || unused
| [[Multiblock Workbench]] || [[Fluid Port]] || unused || [[Atavum Block]] || unused || [[Copper Coil]] || unused || unused
|}
|}


To get the blockstates for a block in the table, add the row value infront of the column value, they are ordered as shown: <code>brown_mushroom_block[down=true/false,east=true/false,north=true/false,south=true/false,up=true/false,west=true/false]</code>.<br>
To get the blockstates for a block in the table, add the row value infront of the column value, they are ordered as shown: <code>brown_mushroom_block[down=true/false,east=true/false,north=true/false,south=true/false,up=true/false,west=true/false]</code>.<br>


So the Steel Block for example is t,f,f,t,t,f - <code>brown_mushroom_block[down=true,east=false,north=false,south=true,up=true,west=false]</code>.
So the Steel Block for example is <code>t,f,f,t,t,f</code> - <code>brown_mushroom_block[down=true,east=false,north=false,south=true,up=true,west=false]</code>.


[[Category:Manuals]]
[[Category:Manuals]]

Latest revision as of 00:24, 26 July 2026

Custom Blocks are non-vanilla blocks which have unique purposes on Horizon's End.

Ores

Aluminum Ore is an ore block which can be mined to obtain 1 Raw Aluminum.
Chetherite Ore is an ore block which can be mined to obtain 1 Chetherite.
Titanium Ore is an ore block which can be mined to obtain 1 Raw Titanium.
Uranium Ore is an ore block which can be mined to obtain 1 Raw Uranium.
Scordite Ore is an ore block which can be mined to obtain 1 Scordite.
Vanadium Ore is an ore block which can be mined to obtain 1 Vanadium.
Zircon Ore is an ore block which can be mined to obtain 1 Zircon.
Atavum Ore is an ore block which can be mined to obtain 1 Atavum.

Ore Blocks

An Aluminum Block is crafted from 9 Aluminum Ingots.
A Chetherite Block is crafted from 9 Chetherite.
A Titanium Block is crafted from 9 Titanium Ingots.
A Uranium Block is crafted from 9 Uranium.
A Scordite Block is crafted from 9 Scordite.
A Vanadium Block is crafted from 9 Vanadium.
A Zircon Block is crafted from 9 Zircon.
A Atavum Block is crafted from 9 Atavum.
A Raw Aluminum Block is crafted from 9 Raw Aluminum.
A Raw Titanium Block is crafted from 9 Raw Titanium.
A Raw Uranium Block is crafted from 9 Raw Uranium.


Processed Blocks

A Steel Block is crafted from 9 Steel Ingots.
An Enriched Uranium Block is crafted from 9 Enriched Uranium.
A Netherite Casing is crafted from 6 Netherite Blocks, and is used in the construction of Tier 4 Mining Lasers.
A Superconductor Block is crafted from 9 Superconductors.

Reactor Cores

A Battlecruiser Reactor Core must be housed inside of a Supercapital Reactor in order to pilot a Battlecruiser.
A Cruiser Reactor Core must be housed inside of a Supercapital Reactor in order to pilot a Cruiser.
A Barge Reactor Core must be housed inside of a Supercapital Reactor in order to pilot a Barge.
Mini Reactor Core
Small Reactor Core
Medium Reactor Core
Large Reactor Core

Technical Background

A picture of all possible blockstate configurations

As plugins can’t add new blocks directly, Horizon’s End uses brown mushroom blocks as a visual placeholder for some custom blocks. Because each of its 6 faces can be either connected or not, there are 26=64 distinct blockstate configurations. With a texture pack, each configuration can be rendered with a different texture.

Table of all configurations
f,f,f f,f,t f,t,f f,t,t t,f,f t,f,t t,t,f t,t,t
f,f,f unused Small Reactor Core Uranium Ore Titanium Ore Raw Uranium Block Mini Reactor Core Chetherite Block Aluminum Block
f,f,t Raw Aluminum Block unused Aluminum Ore Battlecruiser Reactor Core Scordite Ore unused unused unused
f,t,f Raw Titanium Block Enriched Uranium Block Scordite Block unused unused unused Titanium Block unused
f,t,t Assembly Core Barge Reactor Core Chetherite Ore unused unused Uranium Block unused unused
t,f,f Large Reactor Core unused Vanadium Block Zircon Block Superconductor Block unused Steel Block Redstone Control Port
t,f,t Vanadium Ore Cruiser Reactor Core unused Netherite Casing unused Grid Energy Port unused unused
t,t,f Medium Reactor Core unused Zircon Ore Atavum Ore unused Fluid Valve Rotation Shaft Refractory Bricks
t,t,t Multiblock Workbench Fluid Port unused Atavum Block unused Copper Coil unused unused

To get the blockstates for a block in the table, add the row value infront of the column value, they are ordered as shown: brown_mushroom_block[down=true/false,east=true/false,north=true/false,south=true/false,up=true/false,west=true/false].

So the Steel Block for example is t,f,f,t,t,f - brown_mushroom_block[down=true,east=false,north=false,south=true,up=true,west=false].