RebarBlockSchema

class RebarBlockSchema(key: NamespacedKey, val material: Material, val blockClass: Class<out RebarBlock>) : Keyed(source)

Stores information about a Rebar block type, including its key, material, and class.

You should generally not need to use this directly in addons.

Constructors

Link copied to clipboard
constructor(key: NamespacedKey, material: Material, blockClass: Class<out RebarBlock>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val key: NamespacedKey
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun getKey(): NamespacedKey
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun <T> isType(clazz: Class<T>): Boolean
Link copied to clipboard
open fun key(): @NotNull Key