MaterialPalette 5.46.0
Small integer ids for the Java block ids produced by material rules, stored in TerrainChunk::$materials. The terrain stage materials (Aquifer::MATERIAL_*) keep their ids; MATERIAL_STONE is the default block of the noise settings (stone, netherrack, end stone).
Methods
__construct()
php
public function __construct(string $defaultBlock = "minecraft:stone")get()
php
public function get(string $blockId) : ?intgetNames()
php
public function getNames() : arrayregister()
php
public function register(string $blockId) : int