Class StateDefinition<O,S extends StateHolder<O,S>>
java.lang.Object
net.minecraft.world.level.block.state.StateDefinition<O,S>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
StateDefinition.Builder<O,
S extends StateHolder<O, S>> static interface
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionany()
private static <S extends StateHolder<?,
S>, T extends Comparable<T>>
com.mojang.serialization.MapCodec<S>appendPropertyCodec
(com.mojang.serialization.MapCodec<S> p_61077_, Supplier<S> p_61078_, String p_61079_, Property<T> p_61080_) getOwner()
com.google.common.collect.ImmutableList<S>
Collection<Property<?>>
Property<?>
getProperty
(String p_61082_) toString()
-
Field Details
-
NAME_PATTERN
-
owner
-
propertiesByName
-
states
-
-
Constructor Details
-
StateDefinition
-
-
Method Details
-
appendPropertyCodec
private static <S extends StateHolder<?,S>, com.mojang.serialization.MapCodec<S> appendPropertyCodecT extends Comparable<T>> (com.mojang.serialization.MapCodec<S> p_61077_, Supplier<S> p_61078_, String p_61079_, Property<T> p_61080_) -
getPossibleStates
-
any
-
getOwner
-
getProperties
-
toString
-
getProperty
-