Uses of Class
net.minecraft.state.State
| Package | Description |
|---|---|
| net.minecraft.block | |
| net.minecraft.fluid | |
| net.minecraft.nbt | |
| net.minecraft.predicate | |
| net.minecraft.state | |
| net.minecraft.state.property |
-
Uses of State in net.minecraft.block
Subclasses of State in net.minecraft.block Modifier and Type Class Description static classAbstractBlock.AbstractBlockStateclassBlockState -
Uses of State in net.minecraft.fluid
Subclasses of State in net.minecraft.fluid Modifier and Type Class Description classFluidState -
Uses of State in net.minecraft.nbt
Methods in net.minecraft.nbt with type parameters of type State Modifier and Type Method Description private static <S extends State<?, S>, T extends Comparable<T>>
SNbtHelper. withProperty(S state, Property<T> property, String key, NbtCompound properties, NbtCompound root) -
Uses of State in net.minecraft.predicate
Methods in net.minecraft.predicate with type parameters of type State Modifier and Type Method Description <S extends State<?, S>>
booleanStatePredicate.Condition. test(StateManager<?,S> stateManager, S state)<S extends State<?, S>>
booleanStatePredicate. test(StateManager<?,S> stateManager, S container)Methods in net.minecraft.predicate with parameters of type State Modifier and Type Method Description protected abstract <T extends Comparable<T>>
booleanStatePredicate.Condition. test(State<?,?> state, Property<T> property)protected <T extends Comparable<T>>
booleanStatePredicate.ExactValueCondition. test(State<?,?> state, Property<T> property)protected <T extends Comparable<T>>
booleanStatePredicate.RangedValueCondition. test(State<?,?> state, Property<T> property) -
Uses of State in net.minecraft.state
Classes in net.minecraft.state with type parameters of type State Modifier and Type Class Description classStateManager<O,S extends State<O,S>>static classStateManager.Builder<O,S extends State<O,S>>Methods in net.minecraft.state with type parameters of type State Modifier and Type Method Description protected static <O, S extends State<O, S>>
com.mojang.serialization.Codec<S>State. createCodec(com.mojang.serialization.Codec<O> codec, Function<O,S> ownerToStateFunction)private static <S extends State<?, S>, T extends Comparable<T>>
com.mojang.serialization.MapCodec<S>StateManager. method_30040(com.mojang.serialization.MapCodec<S> mapCodec, Supplier<S> supplier, String string, Property<T> property) -
Uses of State in net.minecraft.state.property
Methods in net.minecraft.state.property with type parameters of type State Modifier and Type Method Description <U, S extends State<?, S>>
com.mojang.serialization.DataResult<S>Property. method_35307(com.mojang.serialization.DynamicOps<U> dynamicOps, S s, U u)Methods in net.minecraft.state.property with parameters of type State Modifier and Type Method Description Property.Value<T>Property. createValue(State<?,?> state)