类的使用
net.minecraft.state.property.Property
-
-
net.minecraft.block中Property的使用
返回Property的net.minecraft.block中的方法 修饰符和类型 方法 说明 abstract Property<RailShape>AbstractRailBlock. getShapeProperty()Property<RailShape>DetectorRailBlock. getShapeProperty()Property<RailShape>PoweredRailBlock. getShapeProperty()Property<RailShape>RailBlock. getShapeProperty()参数类型为Property的net.minecraft.block中的方法 修饰符和类型 方法 说明 private static <T extends Comparable<T>>
BlockStateBlock. copyProperty(BlockState source, BlockState target, Property<T> property)private static booleanWallBlock. method_24424(BlockState blockState, Property<WallShape> property)类型变量类型为Property的net.minecraft.block中的构造器参数 构造器 说明 AbstractBlockState(Block block, ImmutableMap<Property<?>,Comparable<?>> propertyMap, com.mojang.serialization.MapCodec<BlockState> codec)BlockState(Block block, ImmutableMap<Property<?>,Comparable<?>> propertyMap, com.mojang.serialization.MapCodec<BlockState> codec) -
net.minecraft.client.color.block中Property的使用
类型参数类型为Property的net.minecraft.client.color.block中的字段 修饰符和类型 字段 说明 private Map<Block,Set<Property<?>>>BlockColors. properties返回变量类型为Property的类型的net.minecraft.client.color.block中的方法 修饰符和类型 方法 说明 Set<Property<?>>BlockColors. getProperties(Block block)参数类型为Property的net.minecraft.client.color.block中的方法 修饰符和类型 方法 说明 private voidBlockColors. registerColorProperty(Property<?> property, Block[] blocks)类型变量类型为Property的net.minecraft.client.color.block中的方法参数 修饰符和类型 方法 说明 private voidBlockColors. registerColorProperties(Set<Property<?>> properties, Block[] blocks) -
net.minecraft.client.gui.hud中Property的使用
类型变量类型为Property的net.minecraft.client.gui.hud中的方法参数 修饰符和类型 方法 说明 private StringDebugHud. propertyToString(Map.Entry<Property<?>,Comparable<?>> propEntry) -
net.minecraft.client.render.block中Property的使用
参数类型为Property的net.minecraft.client.render.block中的方法 修饰符和类型 方法 说明 private static <T extends Comparable<T>>
StringBlockModels. propertyValueToString(Property<T> property, Comparable<?> comparable)类型变量类型为Property的net.minecraft.client.render.block中的方法参数 修饰符和类型 方法 说明 static StringBlockModels. propertyMapToString(Map<Property<?>,Comparable<?>> map) -
net.minecraft.client.render.model中Property的使用
参数类型为Property的net.minecraft.client.render.model中的方法 修饰符和类型 方法 说明 (专用程序包) static <T extends Comparable<T>>
TModelLoader. getPropertyValue(Property<T> property, String string)类型变量类型为Property的net.minecraft.client.render.model中的方法参数 修饰符和类型 方法 说明 static ModelLoader.ModelDefinitionModelLoader.ModelDefinition. create(BlockState state, MultipartUnbakedModel rawModel, Collection<Property<?>> properties)static ModelLoader.ModelDefinitionModelLoader.ModelDefinition. create(BlockState state, UnbakedModel rawModel, Collection<Property<?>> properties)private static List<Object>ModelLoader.ModelDefinition. getStateValues(BlockState state, Collection<Property<?>> properties) -
net.minecraft.client.render.model.json中Property的使用
参数类型为Property的net.minecraft.client.render.model.json中的方法 修饰符和类型 方法 说明 private Predicate<BlockState>SimpleMultipartModelSelector. createPredicate(StateManager<Block,BlockState> stateFactory, Property<?> property, String valueString) -
net.minecraft.command.argument中Property的使用
类型参数类型为Property的net.minecraft.command.argument中的字段 修饰符和类型 字段 说明 private Map<Property<?>,Comparable<?>>BlockArgumentParser. blockPropertiesprivate Set<Property<?>>BlockPredicateArgumentType.StatePredicate. propertiesprivate Set<Property<?>>BlockStateArgument. properties返回变量类型为Property的类型的net.minecraft.command.argument中的方法 修饰符和类型 方法 说明 Map<Property<?>,Comparable<?>>BlockArgumentParser. getBlockProperties()Set<Property<?>>BlockStateArgument. method_35759()参数类型为Property的net.minecraft.command.argument中的方法 修饰符和类型 方法 说明 private <T extends Comparable<T>>
voidBlockArgumentParser. parsePropertyValue(Property<T> property, String string, int int2)private static <T extends Comparable<T>>
voidBlockArgumentParser. stringifyProperty(StringBuilder stringBuilder, Property<T> property, Comparable<?> comparable)private static <T extends Comparable<T>>
com.mojang.brigadier.suggestion.SuggestionsBuilderBlockArgumentParser. suggestPropertyValues(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, Property<T> property)类型变量类型为Property的net.minecraft.command.argument中的构造器参数 构造器 说明 BlockStateArgument(BlockState state, Set<Property<?>> properties, @Nullable CompoundTag data)StatePredicate(BlockState state, Set<Property<?>> properties, @Nullable CompoundTag nbt) -
net.minecraft.data.client.model中Property的使用
声明为Property的net.minecraft.data.client.model中的字段 修饰符和类型 字段 说明 private Property<T5>BlockStateVariantMap.QuintupleProperty. fifthprivate Property<T1>BlockStateVariantMap.DoubleProperty. firstprivate Property<T1>BlockStateVariantMap.QuadrupleProperty. firstprivate Property<T1>BlockStateVariantMap.QuintupleProperty. firstprivate Property<T1>BlockStateVariantMap.TripleProperty. firstprivate Property<T4>BlockStateVariantMap.QuadrupleProperty. fourthprivate Property<T4>BlockStateVariantMap.QuintupleProperty. fourthprivate Property<T1>BlockStateVariantMap.SingleProperty. propertyprivate Property<T2>BlockStateVariantMap.DoubleProperty. secondprivate Property<T2>BlockStateVariantMap.QuadrupleProperty. secondprivate Property<T2>BlockStateVariantMap.QuintupleProperty. secondprivate Property<T2>BlockStateVariantMap.TripleProperty. secondprivate Property<T3>BlockStateVariantMap.QuadrupleProperty. thirdprivate Property<T3>BlockStateVariantMap.QuintupleProperty. thirdprivate Property<T3>BlockStateVariantMap.TripleProperty. third类型参数类型为Property的net.minecraft.data.client.model中的字段 修饰符和类型 字段 说明 private Set<Property<?>>VariantsBlockStateSupplier. definedPropertiesprivate Map<Property<?>,String>When.PropertyCondition. properties返回变量类型为Property的类型的net.minecraft.data.client.model中的方法 修饰符和类型 方法 说明 List<Property<?>>BlockStateVariantMap.DoubleProperty. getProperties()(专用程序包) abstract List<Property<?>>BlockStateVariantMap. getProperties()List<Property<?>>BlockStateVariantMap.QuadrupleProperty. getProperties()List<Property<?>>BlockStateVariantMap.QuintupleProperty. getProperties()List<Property<?>>BlockStateVariantMap.SingleProperty. getProperties()List<Property<?>>BlockStateVariantMap.TripleProperty. getProperties()参数类型为Property的net.minecraft.data.client.model中的方法 修饰符和类型 方法 说明 static <T1 extends Comparable<T1>>
BlockStateVariantMap.SingleProperty<T1>BlockStateVariantMap. create(Property<T1> property)static <T1 extends Comparable<T1>,T2 extends Comparable<T2>>
BlockStateVariantMap.DoubleProperty<T1,T2>BlockStateVariantMap. create(Property<T1> property, Property<T2> property2)static <T1 extends Comparable<T1>,T2 extends Comparable<T2>,T3 extends Comparable<T3>>
BlockStateVariantMap.TripleProperty<T1,T2,T3>BlockStateVariantMap. create(Property<T1> property, Property<T2> property2, Property<T3> property3)static <T1 extends Comparable<T1>,T2 extends Comparable<T2>,T3 extends Comparable<T3>,T4 extends Comparable<T4>>
BlockStateVariantMap.QuadrupleProperty<T1,T2,T3,T4>BlockStateVariantMap. create(Property<T1> property, Property<T2> property2, Property<T3> property3, Property<T4> property4)static <T1 extends Comparable<T1>,T2 extends Comparable<T2>,T3 extends Comparable<T3>,T4 extends Comparable<T4>,T5 extends Comparable<T5>>
BlockStateVariantMap.QuintupleProperty<T1,T2,T3,T4,T5>BlockStateVariantMap. create(Property<T1> property, Property<T2> property2, Property<T3> property3, Property<T4> property4, Property<T5> property5)private static <T extends Comparable<T>>
BlockStateVariantMapBlockStateModelGenerator. createValueFencedModelMap(Property<T> property, T fence, Identifier higherOrEqualModelId, Identifier lowerModelId)<T extends Comparable<T>>
When.PropertyConditionWhen.PropertyCondition. method_35871(Property<T> property, T t)<T extends Comparable<T>>
When.PropertyConditionWhen.PropertyCondition. method_35872(Property<T> property, T t, T[] t2)private static <T extends Comparable<T>>
StringWhen.PropertyCondition. name(Property<T> property, Stream<T> valueStream)private static <T extends Comparable<T>>
StringWhen.PropertyCondition. name(Property<T> property, T value, T[] otherValues)private voidBlockStateModelGenerator. registerCrop(Block crop, Property<Integer> ageProperty, int[] ageTextureIndices)private <T extends Comparable<T>>
voidWhen.PropertyCondition. set(Property<T> property, String value)<T extends Comparable<T>>
When.PropertyConditionWhen.PropertyCondition. set(Property<T> property, T value)<T extends Comparable<T>>
When.PropertyConditionWhen.PropertyCondition. set(Property<T> property, T value, T[] otherValues)参数类型为Property的net.minecraft.data.client.model中的构造器 构造器 说明 DoubleProperty(Property<T1> property, Property<T2> property2)QuadrupleProperty(Property<T1> property, Property<T2> property2, Property<T3> property3, Property<T4> property4)QuintupleProperty(Property<T1> property, Property<T2> property2, Property<T3> property3, Property<T4> property4, Property<T5> property5)SingleProperty(Property<T1> property)TripleProperty(Property<T1> property, Property<T2> property2, Property<T3> property3) -
net.minecraft.data.server中Property的使用
参数类型为Property的net.minecraft.data.server中的方法 修饰符和类型 方法 说明 private static <T extends Comparable<T> & StringIdentifiable>
LootTable.BuilderBlockLootTableGenerator. dropsWithProperty(Block drop, Property<T> property, T t) -
net.minecraft.fluid中Property的使用
类型变量类型为Property的net.minecraft.fluid中的构造器参数 构造器 说明 FluidState(Fluid fluid, ImmutableMap<Property<?>,Comparable<?>> propertiesMap, com.mojang.serialization.MapCodec<FluidState> codec) -
net.minecraft.item中Property的使用
参数类型为Property的net.minecraft.item中的方法 修饰符和类型 方法 说明 private static <T extends Comparable<T>>
BlockStateDebugStickItem. cycle(BlockState state, Property<T> property, boolean inverse)private static <T extends Comparable<T>>
StringDebugStickItem. getValueString(BlockState state, Property<T> property)private static <T extends Comparable<T>>
BlockStateBlockItem. with(BlockState state, Property<T> property, String name) -
net.minecraft.loot.function中Property的使用
类型参数类型为Property的net.minecraft.loot.function中的字段 修饰符和类型 字段 说明 private Set<Property<?>>CopyStateFunction.Builder. propertiesprivate Set<Property<?>>CopyStateFunction. properties参数类型为Property的net.minecraft.loot.function中的方法 修饰符和类型 方法 说明 CopyStateFunction.BuilderCopyStateFunction.Builder. addProperty(Property<?> property)private static <T extends Comparable<T>>
StringCopyStateFunction. getPropertyName(BlockState state, Property<T> property)类型变量类型为Property的net.minecraft.loot.function中的构造器参数 构造器 说明 CopyStateFunction(LootCondition[] conditions, Block block, Set<Property<?>> properties) -
net.minecraft.nbt中Property的使用
参数类型为Property的net.minecraft.nbt中的方法 修饰符和类型 方法 说明 private static <T extends Comparable<T>>
StringNbtHelper. nameValue(Property<T> property, Comparable<?> value)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中Property的使用
参数类型为Property的net.minecraft.predicate中的方法 修饰符和类型 方法 说明 StatePredicate.BuilderStatePredicate.Builder. exactMatch(Property<?> property, String valueName)StatePredicate.BuilderStatePredicate.Builder. exactMatch(Property<Boolean> property, boolean value)StatePredicate.BuilderStatePredicate.Builder. exactMatch(Property<Integer> property, int value)<T extends Comparable<T> & StringIdentifiable>
StatePredicate.BuilderStatePredicate.Builder. exactMatch(Property<T> property, T value)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.predicate.block中Property的使用
类型参数类型为Property的net.minecraft.predicate.block中的字段 修饰符和类型 字段 说明 private Map<Property<?>,Predicate<Object>>BlockStatePredicate. propertyTests参数类型为Property的net.minecraft.predicate.block中的方法 修饰符和类型 方法 说明 protected <T extends Comparable<T>>
booleanBlockStatePredicate. testProperty(BlockState blockState, Property<T> property, Predicate<Object> predicate)<V extends Comparable<V>>
BlockStatePredicateBlockStatePredicate. with(Property<V> property, Predicate<Object> predicate) -
net.minecraft.state中Property的使用
类型参数类型为Property的net.minecraft.state中的字段 修饰符和类型 字段 说明 private ImmutableMap<Property<?>,Comparable<?>>State. entriesprivate Map<String,Property<?>>StateManager.Builder. namedPropertiesprivate ImmutableSortedMap<String,Property<?>>StateManager. propertiesprivate static Function<Map.Entry<Property<?>,Comparable<?>>,String>State. PROPERTY_MAP_PRINTERprivate Table<Property<?>,Comparable<?>,S>State. withTable返回Property的net.minecraft.state中的方法 修饰符和类型 方法 说明 @Nullable Property<?>StateManager. getProperty(String name)返回变量类型为Property的类型的net.minecraft.state中的方法 修饰符和类型 方法 说明 ImmutableMap<Property<?>,Comparable<?>>State. getEntries()Collection<Property<?>>State. getProperties()Collection<Property<?>>StateManager. getProperties()private Map<Property<?>,Comparable<?>>State. toMapWith(Property<?> property, Comparable<?> value)参数类型为Property的net.minecraft.state中的方法 修饰符和类型 方法 说明 StateManager.Builder<O,S>StateManager.Builder. add(Property<?>[] properties)<T extends Comparable<T>>
booleanState. contains(Property<T> property)<T extends Comparable<T>>
SState. cycle(Property<T> property)<T extends Comparable<T>>
TState. get(Property<T> property)<T extends Comparable<T>>
Optional<T>State. getOrEmpty(Property<T> property)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)private Map<Property<?>,Comparable<?>>State. toMapWith(Property<?> property, Comparable<?> value)private <T extends Comparable<T>>
voidStateManager.Builder. validate(Property<T> property)<T extends Comparable<T>,V extends T>
SState. with(Property<T> property, V value)类型变量类型为Property的net.minecraft.state中的方法参数 修饰符和类型 方法 说明 SStateManager.Factory. create(O owner, ImmutableMap<Property<?>,Comparable<?>> entries, com.mojang.serialization.MapCodec<S> codec)voidState. createWithTable(Map<Map<Property<?>,Comparable<?>>,S> states)类型变量类型为Property的net.minecraft.state中的构造器参数 构造器 说明 State(O owner, ImmutableMap<Property<?>,Comparable<?>> entries, com.mojang.serialization.MapCodec<S> codec)StateManager(Function<O,S> function, O o, StateManager.Factory<O,S> factory, Map<String,Property<?>> propertiesMap) -
net.minecraft.state.property中Property的使用
net.minecraft.state.property中Property的子类 修饰符和类型 类 说明 classBooleanPropertyclassDirectionPropertyclassEnumProperty<T extends Enum<T> & StringIdentifiable>classIntProperty声明为Property的net.minecraft.state.property中的字段 修饰符和类型 字段 说明 private Property<T>Property.Value. property返回Property的net.minecraft.state.property中的方法 修饰符和类型 方法 说明 Property<T>Property.Value. getProperty()参数类型为Property的net.minecraft.state.property中的构造器 构造器 说明 Value(Property<T> property, T value) -
net.minecraft.test中Property的使用
参数类型为Property的net.minecraft.test中的方法 修饰符和类型 方法 说明 <T extends Comparable<T>>
voidTestContext. checkBlockProperty(BlockPos pos, Property<T> property, Predicate<T> predicate, String errorMessage)<T extends Comparable<T>>
voidTestContext. expectBlockProperty(BlockPos pos, Property<T> property, T value) -
net.minecraft.util中Property的使用
参数类型为Property的net.minecraft.util中的方法 修饰符和类型 方法 说明 static <T extends Comparable<T>>
StringUtil. getValueAsString(Property<T> property, Object value)
-