Uses of Class
net.minecraft.world.level.block.state.properties.Property
Packages that use Property
Package
Description
-
Uses of Property in net.minecraft
Methods in net.minecraft with parameters of type PropertyModifier and TypeMethodDescriptionstatic <T extends Comparable<T>>
StringUtil.getPropertyName(Property<T> property, Object value) -
Uses of Property in net.minecraft.advancements.critereon
Methods in net.minecraft.advancements.critereon with parameters of type PropertyModifier and TypeMethodDescriptionStatePropertiesPredicate.Builder.hasProperty(Property<?> property, String value) StatePropertiesPredicate.Builder.hasProperty(Property<Boolean> property, boolean value) StatePropertiesPredicate.Builder.hasProperty(Property<Integer> property, int value) <T extends Comparable<T> & StringRepresentable>
StatePropertiesPredicate.BuilderStatePropertiesPredicate.Builder.hasProperty(Property<T> property, T value) <T extends Comparable<T>>
booleanStatePropertiesPredicate.ExactMatcher.match(StateHolder<?, ?> p_298379_, Property<T> p_299294_) <T extends Comparable<T>>
booleanStatePropertiesPredicate.RangedMatcher.match(StateHolder<?, ?> stateHolder, Property<T> property) <T extends Comparable<T>>
booleanStatePropertiesPredicate.ValueMatcher.match(StateHolder<?, ?> stateHolder, Property<T> property) -
Uses of Property in net.minecraft.client.color.block
Fields in net.minecraft.client.color.block with type parameters of type PropertyMethods in net.minecraft.client.color.block that return types with arguments of type PropertyMethods in net.minecraft.client.color.block with parameters of type PropertyModifier and TypeMethodDescriptionprivate voidBlockColors.addColoringState(Property<?> property, Block... blocks) Method parameters in net.minecraft.client.color.block with type arguments of type PropertyModifier and TypeMethodDescriptionprivate voidBlockColors.addColoringStates(Set<Property<?>> properties, Block... blocks) -
Uses of Property in net.minecraft.client.gui.components
Method parameters in net.minecraft.client.gui.components with type arguments of type PropertyModifier and TypeMethodDescriptionprivate StringDebugScreenOverlay.getPropertyValueString(Map.Entry<Property<?>, Comparable<?>> entry) -
Uses of Property in net.minecraft.client.renderer.block
Methods in net.minecraft.client.renderer.block with parameters of type PropertyModifier and TypeMethodDescriptionprivate static <T extends Comparable<T>>
StringBlockModelShaper.getValue(Property<T> property, Comparable<?> value) Method parameters in net.minecraft.client.renderer.block with type arguments of type PropertyModifier and TypeMethodDescriptionstatic StringBlockModelShaper.statePropertiesToString(Map<Property<?>, Comparable<?>> propertyValues) -
Uses of Property in net.minecraft.client.renderer.block.model.multipart
Methods in net.minecraft.client.renderer.block.model.multipart with parameters of type PropertyModifier and TypeMethodDescriptionprivate Predicate<BlockState> KeyValueCondition.getBlockStatePredicate(StateDefinition<Block, BlockState> definition, Property<?> property, String value) -
Uses of Property in net.minecraft.client.resources.model
Methods in net.minecraft.client.resources.model with parameters of type PropertyModifier and TypeMethodDescription(package private) static <T extends Comparable<T>>
TBlockStateModelLoader.getValueHelper(Property<T> property, String propertyName) Method parameters in net.minecraft.client.resources.model with type arguments of type PropertyModifier and TypeMethodDescriptionBlockStateModelLoader.ModelGroupKey.create(BlockState state, MultiPart model, Collection<Property<?>> properties) BlockStateModelLoader.ModelGroupKey.create(BlockState state, UnbakedModel model, Collection<Property<?>> properties) BlockStateModelLoader.ModelGroupKey.getColoringValues(BlockState state, Collection<Property<?>> properties) -
Uses of Property in net.minecraft.commands.arguments.blocks
Fields in net.minecraft.commands.arguments.blocks with type parameters of type PropertyModifier and TypeFieldDescriptionBlockInput.propertiesBlockPredicateArgument.BlockPredicate.propertiesprivate final Map<Property<?>, Comparable<?>> BlockStateParser.BlockResult.propertiesThe field for thepropertiesrecord component.private final Map<Property<?>, Comparable<?>> BlockStateParser.propertiesMethods in net.minecraft.commands.arguments.blocks that return types with arguments of type PropertyModifier and TypeMethodDescriptionBlockInput.getDefinedProperties()Map<Property<?>, Comparable<?>> BlockStateParser.BlockResult.properties()Returns the value of thepropertiesrecord component.Methods in net.minecraft.commands.arguments.blocks with parameters of type PropertyModifier and TypeMethodDescriptionprivate static <T extends Comparable<T>>
com.mojang.brigadier.suggestion.SuggestionsBuilderBlockStateParser.addSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Property<T> property) private static <T extends Comparable<T>>
voidBlockStateParser.appendProperty(StringBuilder builder, Property<T> property, Comparable<?> value) private <T extends Comparable<T>>
voidConstructor parameters in net.minecraft.commands.arguments.blocks with type arguments of type PropertyModifierConstructorDescriptionBlockInput(BlockState state, Set<Property<?>> properties, CompoundTag tag) BlockPredicate(BlockState state, Set<Property<?>> properties, CompoundTag nbt) BlockResult(BlockState blockState, Map<Property<?>, Comparable<?>> properties, CompoundTag nbt) Creates an instance of aBlockResultrecord class. -
Uses of Property in net.minecraft.data.loot
Methods in net.minecraft.data.loot with parameters of type PropertyModifier and TypeMethodDescriptionprotected <T extends Comparable<T> & StringRepresentable>
LootTable.BuilderBlockLootSubProvider.createSinglePropConditionTable(Block block, Property<T> property, T value) -
Uses of Property in net.minecraft.data.models
Methods in net.minecraft.data.models with parameters of type PropertyModifier and TypeMethodDescriptionprivate voidBlockModelGenerators.createCropBlock(Block cropBlock, Property<Integer> ageProperty, int... ageToVisualStageMapping) private voidBlockModelGenerators.createCrossBlock(Block crossBlock, BlockModelGenerators.TintState tintState, Property<Integer> property, int... propertyValues) private static <T extends Comparable<T>>
PropertyDispatchBlockModelGenerators.createEmptyOrFullDispatch(Property<T> property, T minimumValueForFullVariant, ResourceLocation fullVariantModelLocation, ResourceLocation emptyVariantModelLocation) -
Uses of Property in net.minecraft.data.models.blockstates
Fields in net.minecraft.data.models.blockstates declared as PropertyModifier and TypeFieldDescriptionPropertyDispatch.C1.property1PropertyDispatch.C2.property1PropertyDispatch.C3.property1PropertyDispatch.C4.property1PropertyDispatch.C5.property1PropertyDispatch.C2.property2PropertyDispatch.C3.property2PropertyDispatch.C4.property2PropertyDispatch.C5.property2PropertyDispatch.C3.property3PropertyDispatch.C4.property3PropertyDispatch.C5.property3PropertyDispatch.C4.property4PropertyDispatch.C5.property4PropertyDispatch.C5.property5Fields in net.minecraft.data.models.blockstates with type parameters of type PropertyModifier and TypeFieldDescriptionMultiVariantGenerator.seenPropertiesCondition.TerminalCondition.termsMethods in net.minecraft.data.models.blockstates that return types with arguments of type PropertyModifier and TypeMethodDescriptionPropertyDispatch.C1.getDefinedProperties()PropertyDispatch.C2.getDefinedProperties()PropertyDispatch.C3.getDefinedProperties()PropertyDispatch.C4.getDefinedProperties()PropertyDispatch.C5.getDefinedProperties()PropertyDispatch.getDefinedProperties()Methods in net.minecraft.data.models.blockstates with parameters of type PropertyModifier and TypeMethodDescriptionprivate static <T extends Comparable<T>>
Stringprivate static <T extends Comparable<T>>
StringCondition.TerminalCondition.joinValues(Property<T> property, Stream<T> valueStream) final <T extends Comparable<T>>
Condition.TerminalConditionCondition.TerminalCondition.negatedTerm(Property<T> property, T value) final <T extends Comparable<T>>
Condition.TerminalConditionCondition.TerminalCondition.negatedTerm(Property<T> property, T firstValue, T... additionalValues) static <T1 extends Comparable<T1>,T2 extends Comparable<T2>>
PropertyDispatch.C2<T1, T2> PropertyDispatch.properties(Property<T1> property1, Property<T2> property2) static <T1 extends Comparable<T1>,T2 extends Comparable<T2>, T3 extends Comparable<T3>>
PropertyDispatch.C3<T1, T2, T3> PropertyDispatch.properties(Property<T1> property1, Property<T2> property2, Property<T3> property3) static <T1 extends Comparable<T1>,T2 extends Comparable<T2>, T3 extends Comparable<T3>, T4 extends Comparable<T4>>
PropertyDispatch.C4<T1, T2, T3, T4> PropertyDispatch.properties(Property<T1> property1, 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>>
PropertyDispatch.C5<T1, T2, T3, T4, T5> PropertyDispatch.properties(Property<T1> property1, Property<T2> property2, Property<T3> property3, Property<T4> property4, Property<T5> property5) static <T1 extends Comparable<T1>>
PropertyDispatch.C1<T1> private <T extends Comparable<T>>
voidfinal <T extends Comparable<T>>
Condition.TerminalConditionfinal <T extends Comparable<T>>
Condition.TerminalConditionConstructors in net.minecraft.data.models.blockstates with parameters of type Property -
Uses of Property in net.minecraft.gametest.framework
Methods in net.minecraft.gametest.framework with parameters of type PropertyModifier and TypeMethodDescription<T extends Comparable<T>>
voidGameTestHelper.assertBlockProperty(BlockPos pos, Property<T> property, Predicate<T> predicate, String exceptionMessage) <T extends Comparable<T>>
voidGameTestHelper.assertBlockProperty(BlockPos pos, Property<T> property, T value) -
Uses of Property in net.minecraft.nbt
Methods in net.minecraft.nbt with parameters of type PropertyModifier and TypeMethodDescriptionprivate static <T extends Comparable<T>>
StringNbtUtils.getName(Property<T> property, Comparable<?> value) private static <S extends StateHolder<?,S>, T extends Comparable<T>>
SNbtUtils.setValueHelper(S stateHolder, Property<T> property, String propertyName, CompoundTag propertiesTag, CompoundTag blockStateTag) -
Uses of Property in net.minecraft.world.item
Methods in net.minecraft.world.item with parameters of type PropertyModifier and TypeMethodDescriptionprivate static <T extends Comparable<T>>
BlockStateDebugStickItem.cycleState(BlockState state, Property<T> property, boolean backwards) private static <T extends Comparable<T>>
StringDebugStickItem.getNameHelper(BlockState state, Property<T> property) -
Uses of Property in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component with type parameters of type PropertyModifier and TypeFieldDescriptionDebugStickState.propertiesThe field for thepropertiesrecord component.Methods in net.minecraft.world.item.component that return types with arguments of type PropertyModifier and TypeMethodDescriptionDebugStickState.properties()Returns the value of thepropertiesrecord component.Methods in net.minecraft.world.item.component with parameters of type PropertyModifier and TypeMethodDescription<T extends Comparable<T>>
Tprivate static <T extends Comparable<T>>
BlockStateBlockItemStateProperties.updateState(BlockState state, Property<T> property, String propertyName) <T extends Comparable<T>>
BlockItemStatePropertiesBlockItemStateProperties.with(Property<T> property, BlockState state) <T extends Comparable<T>>
BlockItemStatePropertiesDebugStickState.withProperty(Holder<Block> block, Property<?> property) Constructor parameters in net.minecraft.world.item.component with type arguments of type PropertyModifierConstructorDescriptionDebugStickState(Map<Holder<Block>, Property<?>> properties) Creates an instance of aDebugStickStaterecord class. -
Uses of Property in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block declared as PropertyMethods in net.minecraft.world.level.block that return PropertyModifier and TypeMethodDescriptionBaseRailBlock.getShapeProperty()Deprecated.DetectorRailBlock.getShapeProperty()PoweredRailBlock.getShapeProperty()RailBlock.getShapeProperty()Methods in net.minecraft.world.level.block with parameters of type PropertyModifier and TypeMethodDescriptionprivate static <T extends Comparable<T>>
BlockStateBlock.copyProperty(BlockState sourceState, BlockState targetState, Property<T> property) private static booleanWallBlock.isConnected(BlockState state, Property<WallSide> heightProperty) -
Uses of Property in net.minecraft.world.level.block.state
Fields in net.minecraft.world.level.block.state with type parameters of type PropertyModifier and TypeFieldDescriptionprivate com.google.common.collect.Table<Property<?>, Comparable<?>, S> StateHolder.neighboursStateDefinition.Builder.propertiesStateDefinition.propertiesByNameprivate static final Function<Map.Entry<Property<?>, Comparable<?>>, String> StateHolder.PROPERTY_ENTRY_TO_STRING_FUNCTIONprivate final it.unimi.dsi.fastutil.objects.Reference2ObjectArrayMap<Property<?>, Comparable<?>> StateHolder.valuesMethods in net.minecraft.world.level.block.state that return PropertyMethods in net.minecraft.world.level.block.state that return types with arguments of type PropertyModifier and TypeMethodDescriptionCollection<Property<?>> StateDefinition.getProperties()Collection<Property<?>> StateHolder.getProperties()Map<Property<?>, Comparable<?>> StateHolder.getValues()private Map<Property<?>, Comparable<?>> StateHolder.makeNeighbourValues(Property<?> property, Comparable<?> value) Methods in net.minecraft.world.level.block.state with parameters of type PropertyModifier and TypeMethodDescriptionprivate static <S extends StateHolder<?,S>, T extends Comparable<T>>
com.mojang.serialization.MapCodec<S> StateDefinition.appendPropertyCodec(com.mojang.serialization.MapCodec<S> propertyCodec, Supplier<S> holderSupplier, String value, Property<T> property) <T extends Comparable<T>>
S<T extends Comparable<T>>
Optional<T> StateHolder.getOptionalValue(Property<T> property) <T extends Comparable<T>>
T<T extends Comparable<T>>
booleanStateHolder.hasProperty(Property<T> property) private Map<Property<?>, Comparable<?>> StateHolder.makeNeighbourValues(Property<?> property, Comparable<?> value) <T extends Comparable<T>,V extends T>
S<T extends Comparable<T>,V extends T>
SStateHolder.trySetValue(Property<T> property, V value) private <T extends Comparable<T>>
voidStateDefinition.Builder.validateProperty(Property<T> property) Method parameters in net.minecraft.world.level.block.state with type arguments of type PropertyModifier and TypeMethodDescriptionStateDefinition.Factory.create(O owner, it.unimi.dsi.fastutil.objects.Reference2ObjectArrayMap<Property<?>, Comparable<?>> values, com.mojang.serialization.MapCodec<S> propertiesCodec) voidStateHolder.populateNeighbours(Map<Map<Property<?>, Comparable<?>>, S> possibleStateMap) Constructor parameters in net.minecraft.world.level.block.state with type arguments of type PropertyModifierConstructorDescriptionBlockState(Block p_61042_, it.unimi.dsi.fastutil.objects.Reference2ObjectArrayMap<Property<?>, Comparable<?>> p_326238_, com.mojang.serialization.MapCodec<BlockState> p_61044_) protectedBlockStateBase(Block owner, it.unimi.dsi.fastutil.objects.Reference2ObjectArrayMap<Property<?>, Comparable<?>> values, com.mojang.serialization.MapCodec<BlockState> propertiesCodec) protectedStateDefinition(Function<O, S> stateValueFunction, O owner, StateDefinition.Factory<O, S> valueFunction, Map<String, Property<?>> propertiesByName) protectedStateHolder(O owner, it.unimi.dsi.fastutil.objects.Reference2ObjectArrayMap<Property<?>, Comparable<?>> values, com.mojang.serialization.MapCodec<S> propertiesCodec) -
Uses of Property in net.minecraft.world.level.block.state.predicate
Fields in net.minecraft.world.level.block.state.predicate with type parameters of type PropertyMethods in net.minecraft.world.level.block.state.predicate with parameters of type PropertyModifier and TypeMethodDescriptionprotected <T extends Comparable<T>>
booleanBlockStatePredicate.applies(BlockState state, Property<T> property, Predicate<Object> valuePredicate) <V extends Comparable<V>>
BlockStatePredicate -
Uses of Property in net.minecraft.world.level.block.state.properties
Subclasses of Property in net.minecraft.world.level.block.state.propertiesModifier and TypeClassDescriptionclassclassclassEnumProperty<T extends Enum<T> & StringRepresentable>classFields in net.minecraft.world.level.block.state.properties declared as PropertyModifier and TypeFieldDescriptionProperty.Value.propertyThe field for thepropertyrecord component.Methods in net.minecraft.world.level.block.state.properties that return PropertyModifier and TypeMethodDescriptionProperty.Value.property()Returns the value of thepropertyrecord component.Constructors in net.minecraft.world.level.block.state.properties with parameters of type Property -
Uses of Property in net.minecraft.world.level.material
Constructor parameters in net.minecraft.world.level.material with type arguments of type PropertyModifierConstructorDescriptionFluidState(Fluid owner, it.unimi.dsi.fastutil.objects.Reference2ObjectArrayMap<Property<?>, Comparable<?>> values, com.mojang.serialization.MapCodec<FluidState> propertiesCodec) -
Uses of Property in net.minecraft.world.level.storage.loot.functions
Fields in net.minecraft.world.level.storage.loot.functions with type parameters of type PropertyModifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableSet.Builder<Property<?>> CopyBlockState.Builder.propertiesCopyBlockState.propertiesMethods in net.minecraft.world.level.storage.loot.functions with parameters of type PropertyModifier and TypeMethodDescriptionConstructor parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type PropertyModifierConstructorDescription(package private)CopyBlockState(List<LootItemCondition> conditions, Holder<Block> block, Set<Property<?>> properties) -
Uses of Property in net.neoforged.neoforge.client.model.generators
Fields in net.neoforged.neoforge.client.model.generators with type parameters of type PropertyModifier and TypeFieldDescriptionfinal com.google.common.collect.Multimap<Property<?>, Comparable<?>> MultiPartBlockStateBuilder.PartBuilder.ConditionGroup.conditionsfinal com.google.common.collect.Multimap<Property<?>, Comparable<?>> MultiPartBlockStateBuilder.PartBuilder.conditionsprivate final SortedMap<Property<?>, Comparable<?>> VariantBlockStateBuilder.PartialBlockstate.setStatesBlockStateProvider.WALL_PROPSMethods in net.neoforged.neoforge.client.model.generators that return types with arguments of type PropertyModifier and TypeMethodDescriptionSortedMap<Property<?>, Comparable<?>> VariantBlockStateBuilder.PartialBlockstate.getSetStates()Methods in net.neoforged.neoforge.client.model.generators with parameters of type PropertyModifier and TypeMethodDescriptionfinal <T extends Comparable<T>>
MultiPartBlockStateBuilder.PartBuilderSet a condition for this part, which consists of a property and a set of valid values.final <T extends Comparable<T>>
MultiPartBlockStateBuilder.PartBuilder.ConditionGroupSet a condition for this part, which consists of a property and a set of valid values.VariantBlockStateBuilder.forAllStatesExcept(Function<BlockState, ConfiguredModel[]> mapper, Property<?>... ignored) <T extends Comparable<T>>
VariantBlockStateBuilder.PartialBlockstateMethod parameters in net.neoforged.neoforge.client.model.generators with type arguments of type PropertyModifier and TypeMethodDescriptionprivate static com.google.gson.JsonObjectMultiPartBlockStateBuilder.toJson(com.google.common.collect.Multimap<Property<?>, Comparable<?>> conditions, boolean useOr) private voidBlockStateProvider.wallSidePart(MultiPartBlockStateBuilder builder, ModelFile model, Map.Entry<Direction, Property<WallSide>> entry, WallSide height) Constructor parameters in net.neoforged.neoforge.client.model.generators with type arguments of type PropertyModifierConstructorDescription(package private)PartialBlockstate(Block owner, Map<Property<?>, Comparable<?>> setStates, @Nullable VariantBlockStateBuilder outerBuilder)
BaseRailBlock.getRailDirection(BlockState, BlockGetter, BlockPos, net.minecraft.world.entity.vehicle.AbstractMinecart)for enhanced ability If you do change this property be aware that other functions in this/subclasses may break as they can make assumptions about this property