Uses of Class
net.minecraft.state.State
Package
Description
-
Uses of State in net.minecraft.block
-
Uses of State in net.minecraft.fluid
-
Uses of State in net.minecraft.nbt
Modifier and TypeMethodDescriptionprivate 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
Modifier and TypeMethodDescription<S extends State<?,
S>>
booleanStatePredicate.Condition.test
(StateManager<?, S> stateManager, S state) <S extends State<?,
S>>
booleanStatePredicate.test
(StateManager<?, S> stateManager, S container) Modifier and TypeMethodDescriptionprotected abstract <T extends Comparable<T>>
booleanprotected <T extends Comparable<T>>
booleanprotected <T extends Comparable<T>>
boolean -
Uses of State in net.minecraft.state
Modifier and TypeClassDescriptionclass
StateManager<O,
S extends State<O, S>> static class
StateManager.Builder<O,
S extends State<O, S>> Modifier and TypeMethodDescriptionprivate static <S extends State<?,
S>, T extends Comparable<T>>
com.mojang.serialization.MapCodec<S>StateManager.addFieldToMapCodec
(com.mojang.serialization.MapCodec<S> mapCodec, Supplier<S> defaultStateGetter, String key, Property<T> property) 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) -
Uses of State in net.minecraft.state.property