Package net.minecraft.state
Class StateContainer<O,S extends StateHolder<O,S>>
java.lang.Object
net.minecraft.state.StateContainer<O,S>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
StateContainer.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_241487_0_, Supplier<S> p_241487_1_, String p_241487_2_, Property<T> p_241487_3_) getOwner()
com.google.common.collect.ImmutableList<S>
Collection<Property<?>>
Property<?>
getProperty
(String p_185920_1_) toString()
-
Field Details
-
NAME_PATTERN
-
owner
-
propertiesByName
-
states
-
-
Constructor Details
-
StateContainer
-
-
Method Details
-
appendPropertyCodec
private static <S extends StateHolder<?,S>, com.mojang.serialization.MapCodec<S> appendPropertyCodecT extends Comparable<T>> (com.mojang.serialization.MapCodec<S> p_241487_0_, Supplier<S> p_241487_1_, String p_241487_2_, Property<T> p_241487_3_) -
getPossibleStates
-
any
-
getOwner
-
getProperties
-
toString
-
getProperty
-