Uses of Class
net.minecraft.state.property.Property
Packages that use Property
Package
Description
The Named Binary Tag (NBT) data format.
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of Property in net.minecraft.block
Fields in net.minecraft.block declared as PropertyMethods in net.minecraft.block that return PropertyModifier and TypeMethodDescriptionAbstractRailBlock.getShapeProperty()
DetectorRailBlock.getShapeProperty()
PoweredRailBlock.getShapeProperty()
RailBlock.getShapeProperty()
Methods in net.minecraft.block with parameters of type PropertyModifier and TypeMethodDescriptionprivate static <T extends Comparable<T>>
BlockStateBlock.copyProperty
(BlockState source, BlockState target, Property<T> property) private static boolean
WallBlock.isConnected
(BlockState state, Property<WallShape> property) static <S extends BlockEntity>
DoubleBlockProperties.PropertySource<S> DoubleBlockProperties.toPropertySource
(BlockEntityType<S> blockEntityType, Function<BlockState, DoubleBlockProperties.Type> typeMapper, Function<BlockState, Direction> directionMapper, Property<Direction> property, BlockState state, WorldAccess world, BlockPos pos, BiPredicate<WorldAccess, BlockPos> fallbackTester) Constructor parameters in net.minecraft.block with type arguments of type PropertyModifierConstructorDescriptionprotected
AbstractBlockState
(Block block, Reference2ObjectArrayMap<Property<?>, Comparable<?>> propertyMap, com.mojang.serialization.MapCodec<BlockState> codec) BlockState
(Block block, Reference2ObjectArrayMap<Property<?>, Comparable<?>> propertyMap, com.mojang.serialization.MapCodec<BlockState> codec) -
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 void
BlockColors.registerColorProperty
(Property<?> property, Block[] blocks) Method parameters in net.minecraft.client.color.block with type arguments of type PropertyModifier and TypeMethodDescriptionprivate void
BlockColors.registerColorProperties
(Set<Property<?>> properties, Block[] blocks) -
Uses of Property in net.minecraft.client.gui.hud
Method parameters in net.minecraft.client.gui.hud with type arguments of type PropertyModifier and TypeMethodDescriptionprivate String
DebugHud.propertyToString
(Map.Entry<Property<?>, Comparable<?>> propEntry) -
Uses of Property in net.minecraft.client.render.block
Methods in net.minecraft.client.render.block with parameters of type PropertyModifier and TypeMethodDescriptionprivate static <T extends Comparable<T>>
StringBlockModels.propertyValueToString
(Property<T> property, Comparable<?> value) Method parameters in net.minecraft.client.render.block with type arguments of type PropertyModifier and TypeMethodDescriptionstatic String
BlockModels.propertyMapToString
(Map<Property<?>, Comparable<?>> map) -
Uses of Property in net.minecraft.client.render.model
Method parameters in net.minecraft.client.render.model with type arguments of type PropertyModifier and TypeMethodDescriptionModelGrouper.GroupKey.getColoringValues
(BlockState state, List<Property<?>> properties) static ModelGrouper.GroupKey
ModelGrouper.GroupKey.of
(BlockState state, UnbakedModel model, List<Property<?>> properties) -
Uses of Property in net.minecraft.client.render.model.json
Methods in net.minecraft.client.render.model.json with parameters of type PropertyModifier and TypeMethodDescriptionprivate Predicate
<BlockState> SimpleMultipartModelSelector.createPredicate
(StateManager<Block, BlockState> stateFactory, Property<?> property, String valueString) private static <T extends Comparable<T>>
T -
Uses of Property in net.minecraft.command.argument
Fields in net.minecraft.command.argument with type parameters of type PropertyModifier and TypeFieldDescriptionprivate final Map
<Property<?>, Comparable<?>> BlockArgumentParser.blockProperties
private final Map
<Property<?>, Comparable<?>> BlockArgumentParser.BlockResult.properties
The field for theproperties
record component.BlockPredicateArgumentType.StatePredicate.properties
BlockStateArgument.properties
Methods in net.minecraft.command.argument that return types with arguments of type PropertyModifier and TypeMethodDescriptionBlockStateArgument.getProperties()
Map
<Property<?>, Comparable<?>> BlockArgumentParser.BlockResult.properties()
Returns the value of theproperties
record component.Methods in net.minecraft.command.argument with parameters of type PropertyModifier and TypeMethodDescriptionprivate <T extends Comparable<T>>
voidBlockArgumentParser.parsePropertyValue
(Property<T> property, String value, int cursor) private static <T extends Comparable<T>>
voidBlockArgumentParser.stringifyProperty
(StringBuilder builder, Property<T> property, Comparable<?> value) private static <T extends Comparable<T>>
com.mojang.brigadier.suggestion.SuggestionsBuilderBlockArgumentParser.suggestPropertyValues
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Property<T> property) Constructor parameters in net.minecraft.command.argument with type arguments of type PropertyModifierConstructorDescriptionBlockResult
(BlockState blockState, Map<Property<?>, Comparable<?>> map, @Nullable NbtCompound nbtCompound) BlockStateArgument
(BlockState state, Set<Property<?>> properties, @Nullable NbtCompound data) StatePredicate
(BlockState state, Set<Property<?>> properties, @Nullable NbtCompound nbt) -
Uses of Property in net.minecraft.component.type
Fields in net.minecraft.component.type with type parameters of type PropertyModifier and TypeFieldDescriptionprivate final Map
<RegistryEntry<Block>, Property<?>> DebugStickStateComponent.properties
The field for theproperties
record component.Methods in net.minecraft.component.type that return types with arguments of type PropertyModifier and TypeMethodDescriptionMap
<RegistryEntry<Block>, Property<?>> DebugStickStateComponent.properties()
Returns the value of theproperties
record component.Methods in net.minecraft.component.type with parameters of type PropertyModifier and TypeMethodDescriptionprivate static <T extends Comparable<T>>
BlockStateBlockStateComponent.applyToState
(BlockState state, Property<T> property, String value) <T extends Comparable<T>>
T<T extends Comparable<T>>
BlockStateComponentBlockStateComponent.with
(Property<T> property, BlockState fromState) <T extends Comparable<T>>
BlockStateComponentDebugStickStateComponent.with
(RegistryEntry<Block> block, Property<?> property) Constructor parameters in net.minecraft.component.type with type arguments of type PropertyModifierConstructorDescriptionDebugStickStateComponent
(Map<RegistryEntry<Block>, Property<?>> map) -
Uses of Property in net.minecraft.data.client
Fields in net.minecraft.data.client declared as PropertyModifier and TypeFieldDescriptionBlockStateVariantMap.QuintupleProperty.fifth
BlockStateVariantMap.DoubleProperty.first
BlockStateVariantMap.QuadrupleProperty.first
BlockStateVariantMap.QuintupleProperty.first
BlockStateVariantMap.TripleProperty.first
BlockStateVariantMap.QuadrupleProperty.fourth
BlockStateVariantMap.QuintupleProperty.fourth
BlockStateVariantMap.SingleProperty.property
BlockStateVariantMap.DoubleProperty.second
BlockStateVariantMap.QuadrupleProperty.second
BlockStateVariantMap.QuintupleProperty.second
BlockStateVariantMap.TripleProperty.second
BlockStateVariantMap.QuadrupleProperty.third
BlockStateVariantMap.QuintupleProperty.third
BlockStateVariantMap.TripleProperty.third
Fields in net.minecraft.data.client with type parameters of type PropertyModifier and TypeFieldDescriptionVariantsBlockStateSupplier.definedProperties
When.PropertyCondition.properties
Methods in net.minecraft.data.client that return types with arguments of type PropertyModifier and TypeMethodDescriptionBlockStateVariantMap.DoubleProperty.getProperties()
BlockStateVariantMap.getProperties()
BlockStateVariantMap.QuadrupleProperty.getProperties()
BlockStateVariantMap.QuintupleProperty.getProperties()
BlockStateVariantMap.SingleProperty.getProperties()
BlockStateVariantMap.TripleProperty.getProperties()
Methods in net.minecraft.data.client with parameters of type PropertyModifier and TypeMethodDescriptionstatic <T1 extends Comparable<T1>>
BlockStateVariantMap.SingleProperty<T1> static <T1 extends Comparable<T1>,
T2 extends Comparable<T2>>
BlockStateVariantMap.DoubleProperty<T1, T2> static <T1 extends Comparable<T1>,
T2 extends Comparable<T2>, T3 extends Comparable<T3>>
BlockStateVariantMap.TripleProperty<T1, T2, T3> 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> first, Property<T2> second, Property<T3> third, Property<T4> fourth) 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> first, Property<T2> second, Property<T3> third, Property<T4> fourth, Property<T5> fifth) private static <T extends Comparable<T>>
BlockStateVariantMapBlockStateModelGenerator.createValueFencedModelMap
(Property<T> property, T fence, Identifier higherOrEqualModelId, Identifier lowerModelId) private static <T extends Comparable<T>>
Stringprivate static <T extends Comparable<T>>
Stringprivate void
BlockStateModelGenerator.registerCrop
(Block crop, Property<Integer> ageProperty, int[] ageTextureIndices) private void
BlockStateModelGenerator.registerTintableCrossBlockStateWithStages
(Block block, BlockStateModelGenerator.TintType tintType, Property<Integer> stageProperty, int[] stages) private <T extends Comparable<T>>
voidfinal <T extends Comparable<T>>
When.PropertyConditionfinal <T extends Comparable<T>>
When.PropertyConditionfinal <T extends Comparable<T>>
When.PropertyConditionWhen.PropertyCondition.setNegated
(Property<T> property, T value) final <T extends Comparable<T>>
When.PropertyConditionWhen.PropertyCondition.setNegated
(Property<T> property, T value, T[] otherValues) Constructors in net.minecraft.data.client with parameters of type PropertyModifierConstructorDescription(package private)
DoubleProperty
(Property<T1> first, Property<T2> second) (package private)
(package private)
QuintupleProperty
(Property<T1> first, Property<T2> second, Property<T3> third, Property<T4> fourth, Property<T5> fifth) (package private)
SingleProperty
(Property<T1> property) (package private)
-
Uses of Property in net.minecraft.data.server.loottable
Methods in net.minecraft.data.server.loottable with parameters of type PropertyModifier and TypeMethodDescriptionprotected <T extends Comparable<T> & StringIdentifiable>
LootTable.BuilderBlockLootTableGenerator.dropsWithProperty
(Block drop, Property<T> property, T value) -
Uses of Property in net.minecraft.fluid
Constructor parameters in net.minecraft.fluid with type arguments of type PropertyModifierConstructorDescriptionFluidState
(Fluid fluid, Reference2ObjectArrayMap<Property<?>, Comparable<?>> propertyMap, com.mojang.serialization.MapCodec<FluidState> codec) -
Uses of Property in net.minecraft.item
Methods in net.minecraft.item with parameters of type PropertyModifier and TypeMethodDescriptionprivate 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) -
Uses of Property in net.minecraft.loot.function
Fields in net.minecraft.loot.function with type parameters of type PropertyModifier and TypeFieldDescriptionprivate final ImmutableSet.Builder
<Property<?>> CopyStateLootFunction.Builder.properties
CopyStateLootFunction.properties
Methods in net.minecraft.loot.function with parameters of type PropertyModifier and TypeMethodDescriptionCopyStateLootFunction.Builder.addProperty
(Property<?> property) Constructor parameters in net.minecraft.loot.function with type arguments of type PropertyModifierConstructorDescription(package private)
CopyStateLootFunction
(List<LootCondition> conditions, RegistryEntry<Block> block, Set<Property<?>> properties) -
Uses of Property in net.minecraft.nbt
Methods in net.minecraft.nbt with parameters of type PropertyModifier and TypeMethodDescriptionprivate 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, NbtCompound properties, NbtCompound root) -
Uses of Property in net.minecraft.predicate
Methods in net.minecraft.predicate with parameters of type PropertyModifier and TypeMethodDescriptionStatePredicate.Builder.exactMatch
(Property<?> property, String valueName) StatePredicate.Builder.exactMatch
(Property<Boolean> property, boolean value) StatePredicate.Builder.exactMatch
(Property<Integer> property, int value) <T extends Comparable<T> & StringIdentifiable>
StatePredicate.BuilderStatePredicate.Builder.exactMatch
(Property<T> property, T value) <T extends Comparable<T>>
boolean<T extends Comparable<T>>
boolean<T extends Comparable<T>>
boolean -
Uses of Property in net.minecraft.predicate.block
Fields in net.minecraft.predicate.block with type parameters of type PropertyMethods in net.minecraft.predicate.block with parameters of type PropertyModifier and TypeMethodDescriptionprotected <T extends Comparable<T>>
booleanBlockStatePredicate.testProperty
(BlockState blockState, Property<T> property, Predicate<Object> predicate) <V extends Comparable<V>>
BlockStatePredicate -
Uses of Property in net.minecraft.state
Fields in net.minecraft.state with type parameters of type PropertyModifier and TypeFieldDescriptionStateManager.Builder.namedProperties
private final ImmutableSortedMap
<String, Property<?>> StateManager.properties
private static final Function
<Map.Entry<Property<?>, Comparable<?>>, String> State.PROPERTY_MAP_PRINTER
private final Reference2ObjectArrayMap
<Property<?>, Comparable<?>> State.propertyMap
State.withMap
Methods in net.minecraft.state that return PropertyMethods in net.minecraft.state that return types with arguments of type PropertyModifier and TypeMethodDescriptionMap
<Property<?>, Comparable<?>> State.getEntries()
Collection
<Property<?>> State.getProperties()
Collection
<Property<?>> StateManager.getProperties()
private Map
<Property<?>, Comparable<?>> State.toMapWith
(Property<?> property, Comparable<?> value) Methods in net.minecraft.state with parameters of type PropertyModifier 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) <T extends Comparable<T>>
boolean<T extends Comparable<T>>
S<T extends Comparable<T>>
T<T extends Comparable<T>>
T<T extends Comparable<T>>
TState.getNullable
(Property<T> property) <T extends Comparable<T>>
Optional<T> State.getOrEmpty
(Property<T> property) private Map
<Property<?>, Comparable<?>> State.toMapWith
(Property<?> property, Comparable<?> value) private <T extends Comparable<T>>
void<T extends Comparable<T>,
V extends T>
Sprivate <T extends Comparable<T>,
V extends T>
SState.with
(Property<T> property, V newValue, Comparable<?> oldValue) <T extends Comparable<T>,
V extends T>
SState.withIfExists
(Property<T> property, V value) Method parameters in net.minecraft.state with type arguments of type PropertyModifier and TypeMethodDescriptionStateManager.Factory.create
(O owner, Reference2ObjectArrayMap<Property<?>, Comparable<?>> propertyMap, com.mojang.serialization.MapCodec<S> codec) void
State.createWithMap
(Map<Map<Property<?>, Comparable<?>>, S> states) Constructor parameters in net.minecraft.state with type arguments of type PropertyModifierConstructorDescriptionprotected
State
(O owner, Reference2ObjectArrayMap<Property<?>, Comparable<?>> propertyMap, com.mojang.serialization.MapCodec<S> codec) protected
StateManager
(Function<O, S> defaultStateGetter, O owner, StateManager.Factory<O, S> factory, Map<String, Property<?>> propertiesMap) -
Uses of Property in net.minecraft.state.property
Subclasses of Property in net.minecraft.state.propertyModifier and TypeClassDescriptionfinal class
Represents a property that has boolean values.final class
EnumProperty<T extends Enum<T> & StringIdentifiable>
Represents a property that has enum values.final class
Represents a property that has integer values.Fields in net.minecraft.state.property declared as PropertyModifier and TypeFieldDescriptionProperty.Value.property
The field for theproperty
record component.Methods in net.minecraft.state.property that return PropertyModifier and TypeMethodDescriptionProperty.Value.property()
Returns the value of theproperty
record component.Constructors in net.minecraft.state.property with parameters of type Property -
Uses of Property in net.minecraft.test
Methods in net.minecraft.test with parameters of type PropertyModifier and TypeMethodDescription<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) -
Uses of Property in net.minecraft.util
Methods in net.minecraft.util with parameters of type PropertyModifier and TypeMethodDescriptionstatic <T extends Comparable<T>>
StringUtil.getValueAsString
(Property<T> property, Object value)