类的使用
net.minecraft.state.State
-
使用State的程序包 程序包 说明 net.minecraft.block net.minecraft.fluid net.minecraft.nbt net.minecraft.predicate net.minecraft.state net.minecraft.state.property -
-
net.minecraft.block中State的使用
net.minecraft.block中State的子类 修饰符和类型 类 说明 static classAbstractBlock.AbstractBlockStateclassBlockState -
net.minecraft.fluid中State的使用
net.minecraft.fluid中State的子类 修饰符和类型 类 说明 classFluidState -
net.minecraft.nbt中State的使用
类型参数类型为State的net.minecraft.nbt中的方法 修饰符和类型 方法 说明 private static <S extends State<?,S>,T extends Comparable<T>>
SNbtHelper. withProperty(S state, Property<T> property, String key, CompoundTag properties, CompoundTag root) -
net.minecraft.predicate中State的使用
类型参数类型为State的net.minecraft.predicate中的方法 修饰符和类型 方法 说明 <S extends State<?,S>>
booleanStatePredicate.Condition. test(StateManager<?,S> stateManager, S state)<S extends State<?,S>>
booleanStatePredicate. test(StateManager<?,S> stateManager, S container)参数类型为State的net.minecraft.predicate中的方法 修饰符和类型 方法 说明 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) -
net.minecraft.state中State的使用
类型参数类型为State的net.minecraft.state中的类 修饰符和类型 类 说明 classStateManager<O,S extends State<O,S>>static classStateManager.Builder<O,S extends State<O,S>>类型参数类型为State的net.minecraft.state中的方法 修饰符和类型 方法 说明 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) -
net.minecraft.state.property中State的使用
类型参数类型为State的net.minecraft.state.property中的方法 修饰符和类型 方法 说明 <U,S extends State<?,S>>
com.mojang.serialization.DataResult<S>Property. method_35307(com.mojang.serialization.DynamicOps<U> dynamicOps, S s, U u)参数类型为State的net.minecraft.state.property中的方法 修饰符和类型 方法 说明 Property.Value<T>Property. createValue(State<?,?> state)
-