Skip to content

PartialBlockstate

class PartialBlockstate : Predicate<BlockState> 

Types

Companion

object Companion

Properties

owner

val owner: Block

setStates

val setStates: SortedMap<Property<*>, Comparable<*>>

Functions

addModels

and

open fun and(other: Predicate<in BlockState?>?): Predicate<BlockState?>?

equals

open operator override fun equals(o: Any?): Boolean

hashCode

open override fun hashCode(): Int

modelForState

negate

open fun negate(): Predicate<BlockState?>?

or

open fun or(other: Predicate<in BlockState?>?): Predicate<BlockState?>?

partialState

setModels

test

open override fun test(blockState: BlockState): Boolean

toString

open override fun toString(): String

with

fun <T : Comparable<T>> with(prop: Property<T>, value: T): AVariantBlockStateBuilder.PartialBlockstate