Utilisation et contraintes

Fournit la liste finie des identifiants de machines pour les infobulles de compatibilité. Ne chargez aucun chunk et ne créez aucune machine pour cette liste. Reconnaître un bloc ne garantit pas toutes ses recettes ou configurations.

NebulaMachineHints

NebulaMachineHints
package dev.nebulastorage.api

/**
 * Optional item-level discovery for tooltips. IDs advertise a physical adapter, not all recipes or
 * configurations of that block. Called after registry initialization, without a world or player.
 * Implementations must not instantiate block entities, consume resources or inspect recipes here.
 */
interface NebulaMachineHints {
    fun physicalMachineItems(): Set<String>
}
Source

src/main/kotlin/dev/nebulastorage/api/NebulaMachineHints.kt; editorial/fr.json

43b4d12d69e6033c24fa8c39dac383ef2429b446