Uses of Class
net.minecraft.state.property.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
Modifier and TypeMethodDescriptionAbstractRailBlock.getShapeProperty()
DetectorRailBlock.getShapeProperty()
PoweredRailBlock.getShapeProperty()
RailBlock.getShapeProperty()
Modifier 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) ModifierConstructorDescriptionprotected
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
Modifier and TypeMethodDescriptionprivate void
BlockColors.registerColorProperty
(Property<?> property, Block[] blocks) Modifier and TypeMethodDescriptionprivate void
BlockColors.registerColorProperties
(Set<Property<?>> properties, Block[] blocks) -
Uses of Property in net.minecraft.client.gui.hud
Modifier and TypeMethodDescriptionprivate String
DebugHud.propertyToString
(Map.Entry<Property<?>, Comparable<?>> propEntry) -
Uses of Property in net.minecraft.client.render.block
Modifier and TypeMethodDescriptionprivate static <T extends Comparable<T>>
StringBlockModels.propertyValueToString
(Property<T> property, Comparable<?> value) Modifier and TypeMethodDescriptionstatic String
BlockModels.propertyMapToString
(Map<Property<?>, Comparable<?>> map) -
Uses of Property in net.minecraft.client.render.model
Modifier and TypeMethodDescription(package private) static <T extends Comparable<T>>
TModelLoader.getPropertyValue
(Property<T> property, String string) Modifier and TypeMethodDescriptionstatic ModelLoader.ModelDefinition
ModelLoader.ModelDefinition.create
(BlockState state, MultipartUnbakedModel rawModel, Collection<Property<?>> properties) static ModelLoader.ModelDefinition
ModelLoader.ModelDefinition.create
(BlockState state, UnbakedModel rawModel, Collection<Property<?>> properties) ModelLoader.ModelDefinition.getStateValues
(BlockState state, Collection<Property<?>> properties) -
Uses of Property in net.minecraft.client.render.model.json
Modifier and TypeMethodDescriptionprivate Predicate
<BlockState> SimpleMultipartModelSelector.createPredicate
(StateManager<Block, BlockState> stateFactory, Property<?> property, String valueString) -
Uses of Property in net.minecraft.command.argument
Modifier 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
Modifier and TypeMethodDescriptionBlockStateArgument.getProperties()
Map
<Property<?>, Comparable<?>> BlockArgumentParser.BlockResult.properties()
Returns the value of theproperties
record component.Modifier 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) ModifierConstructorDescriptionBlockResult
(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
Modifier and TypeFieldDescriptionprivate final Map
<RegistryEntry<Block>, Property<?>> DebugStickStateComponent.properties
The field for theproperties
record component.Modifier and TypeMethodDescriptionMap
<RegistryEntry<Block>, Property<?>> DebugStickStateComponent.properties()
Returns the value of theproperties
record component.Modifier 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) ModifierConstructorDescriptionDebugStickStateComponent
(Map<RegistryEntry<Block>, Property<?>> map) -
Uses of Property in net.minecraft.data.client
Modifier 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
Modifier and TypeFieldDescriptionVariantsBlockStateSupplier.definedProperties
When.PropertyCondition.properties
Modifier and TypeMethodDescriptionBlockStateVariantMap.DoubleProperty.getProperties()
BlockStateVariantMap.getProperties()
BlockStateVariantMap.QuadrupleProperty.getProperties()
BlockStateVariantMap.QuintupleProperty.getProperties()
BlockStateVariantMap.SingleProperty.getProperties()
BlockStateVariantMap.TripleProperty.getProperties()
Modifier 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) ModifierConstructorDescription(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
Modifier and TypeMethodDescriptionprotected <T extends Comparable<T> & StringIdentifiable>
LootTable.BuilderBlockLootTableGenerator.dropsWithProperty
(Block drop, Property<T> property, T value) -
Uses of Property in net.minecraft.fluid
ModifierConstructorDescriptionFluidState
(Fluid fluid, Reference2ObjectArrayMap<Property<?>, Comparable<?>> propertyMap, com.mojang.serialization.MapCodec<FluidState> codec) -
Uses of Property in net.minecraft.item
Modifier 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
Modifier and TypeFieldDescriptionprivate final ImmutableSet.Builder
<Property<?>> CopyStateLootFunction.Builder.properties
CopyStateLootFunction.properties
Modifier and TypeMethodDescriptionCopyStateLootFunction.Builder.addProperty
(Property<?> property) ModifierConstructorDescription(package private)
CopyStateLootFunction
(List<LootCondition> conditions, RegistryEntry<Block> block, Set<Property<?>> properties) -
Uses of Property in net.minecraft.nbt
Modifier 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
Modifier 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
Modifier 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
Modifier 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
private Table
<Property<?>, Comparable<?>, S> State.withTable
Modifier and TypeMethodDescriptionMap
<Property<?>, Comparable<?>> State.getEntries()
Collection
<Property<?>> State.getProperties()
Collection
<Property<?>> StateManager.getProperties()
private Map
<Property<?>, Comparable<?>> State.toMapWith
(Property<?> property, Comparable<?> value) 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) <T extends Comparable<T>>
boolean<T extends Comparable<T>>
S<T extends Comparable<T>>
T<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>
S<T extends Comparable<T>,
V extends T>
SState.withIfExists
(Property<T> property, V value) Modifier and TypeMethodDescriptionStateManager.Factory.create
(O owner, Reference2ObjectArrayMap<Property<?>, Comparable<?>> propertyMap, com.mojang.serialization.MapCodec<S> codec) void
State.createWithTable
(Map<Map<Property<?>, Comparable<?>>, S> states) ModifierConstructorDescriptionprotected
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
Modifier and TypeClassDescriptionclass
Represents a property that has boolean values.class
Represents a property that has direction values.class
EnumProperty<T extends Enum<T> & StringIdentifiable>
Represents a property that has enum values.class
Represents a property that has integer values.Modifier and TypeFieldDescriptionProperty.Value.property
The field for theproperty
record component. -
Uses of Property in net.minecraft.test
Modifier 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
Modifier and TypeMethodDescriptionstatic <T extends Comparable<T>>
StringUtil.getValueAsString
(Property<T> property, Object value)