Uses of Class
net.minecraft.state.StateHolder
-
Packages that use StateHolder Package Description net.minecraft.advancements.criterion net.minecraft.block net.minecraft.fluid net.minecraft.nbt net.minecraft.state -
-
Uses of StateHolder in net.minecraft.advancements.criterion
Methods in net.minecraft.advancements.criterion with type parameters of type StateHolder Modifier and Type Method Description <S extends StateHolder<?,S>>
booleanStatePropertiesPredicate.Matcher. match(StateContainer<?,S> p_227199_1_, S p_227199_2_)
<S extends StateHolder<?,S>>
booleanStatePropertiesPredicate. matches(StateContainer<?,S> p_227182_1_, S p_227182_2_)
Methods in net.minecraft.advancements.criterion with parameters of type StateHolder Modifier and Type Method Description protected <T extends java.lang.Comparable<T>>
booleanStatePropertiesPredicate.ExactMatcher. match(StateHolder<?,?> p_225554_1_, Property<T> p_225554_2_)
protected abstract <T extends java.lang.Comparable<T>>
booleanStatePropertiesPredicate.Matcher. match(StateHolder<?,?> p_225554_1_, Property<T> p_225554_2_)
protected <T extends java.lang.Comparable<T>>
booleanStatePropertiesPredicate.RangedMacher. match(StateHolder<?,?> p_225554_1_, Property<T> p_225554_2_)
-
Uses of StateHolder in net.minecraft.block
Subclasses of StateHolder in net.minecraft.block Modifier and Type Class Description static class
AbstractBlock.AbstractBlockState
class
BlockState
-
Uses of StateHolder in net.minecraft.fluid
Subclasses of StateHolder in net.minecraft.fluid Modifier and Type Class Description class
FluidState
-
Uses of StateHolder in net.minecraft.nbt
Methods in net.minecraft.nbt with type parameters of type StateHolder Modifier and Type Method Description private static <S extends StateHolder<?,S>,T extends java.lang.Comparable<T>>
SNBTUtil. setValueHelper(S p_193590_0_, Property<T> p_193590_1_, java.lang.String p_193590_2_, CompoundNBT p_193590_3_, CompoundNBT p_193590_4_)
-
Uses of StateHolder in net.minecraft.state
Classes in net.minecraft.state with type parameters of type StateHolder Modifier and Type Class Description class
StateContainer<O,S extends StateHolder<O,S>>
static class
StateContainer.Builder<O,S extends StateHolder<O,S>>
Methods in net.minecraft.state with type parameters of type StateHolder Modifier and Type Method Description private static <S extends StateHolder<?,S>,T extends java.lang.Comparable<T>>
com.mojang.serialization.MapCodec<S>StateContainer. appendPropertyCodec(com.mojang.serialization.MapCodec<S> p_241487_0_, java.util.function.Supplier<S> p_241487_1_, java.lang.String p_241487_2_, Property<T> p_241487_3_)
protected static <O,S extends StateHolder<O,S>>
com.mojang.serialization.Codec<S>StateHolder. codec(com.mojang.serialization.Codec<O> p_235897_0_, java.util.function.Function<O,S> p_235897_1_)
Methods in net.minecraft.state with parameters of type StateHolder Modifier and Type Method Description Property.ValuePair<T>
Property. value(StateHolder<?,?> p_241489_1_)
-