State

@Serializable(with = BlockStateMultipartStateConditionSerializer::class)
data class State(val properties: Map<String, Set<String>>) : BlockStateDefinition.MultipartCase.Condition

Constructors

Link copied to clipboard
constructor(properties: Map<String, Set<String>>)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun matches(properties: Map<String, String>): Boolean

Checks whether this condition matches the given properties.