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> pProperty, Object pValue) -
Uses of Property in net.minecraft.advancements.critereon
Methods in net.minecraft.advancements.critereon with parameters of type PropertyModifier and TypeMethodDescriptionStatePropertiesPredicate.Builder.hasProperty
(Property<?> pProperty, String pValue) StatePropertiesPredicate.Builder.hasProperty
(Property<Boolean> pProperty, boolean pValue) StatePropertiesPredicate.Builder.hasProperty
(Property<Integer> pProperty, int pValue) <T extends Comparable<T> & StringRepresentable>
StatePropertiesPredicate.BuilderStatePropertiesPredicate.Builder.hasProperty
(Property<T> pProperty, T pValue) <T extends Comparable<T>>
booleanStatePropertiesPredicate.ExactMatcher.match
(StateHolder<?, ?> p_298379_, Property<T> p_299294_) <T extends Comparable<T>>
booleanStatePropertiesPredicate.RangedMatcher.match
(StateHolder<?, ?> pStateHolder, Property<T> pProperty) <T extends Comparable<T>>
booleanStatePropertiesPredicate.ValueMatcher.match
(StateHolder<?, ?> pStateHolder, Property<T> pProperty) -
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.addColoringState
(Property<?> pProperty, Block... pBlocks) Method parameters in net.minecraft.client.color.block with type arguments of type PropertyModifier and TypeMethodDescriptionprivate void
BlockColors.addColoringStates
(Set<Property<?>> pProperties, Block... pBlocks) -
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 String
DebugScreenOverlay.getPropertyValueString
(Map.Entry<Property<?>, Comparable<?>> pEntry) -
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> pProperty, Comparable<?> pValue) Method parameters in net.minecraft.client.renderer.block with type arguments of type PropertyModifier and TypeMethodDescriptionstatic String
BlockModelShaper.statePropertiesToString
(Map<Property<?>, Comparable<?>> pPropertyValues) -
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> pDefinition, Property<?> pProperty, String pValue) -
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> pProperty, String pPropertyName) Method parameters in net.minecraft.client.resources.model with type arguments of type PropertyModifier and TypeMethodDescriptionBlockStateModelLoader.ModelGroupKey.create
(BlockState pState, MultiPart pModel, Collection<Property<?>> pProperties) BlockStateModelLoader.ModelGroupKey.create
(BlockState pState, UnbakedModel pModel, Collection<Property<?>> pProperties) BlockStateModelLoader.ModelGroupKey.getColoringValues
(BlockState pState, Collection<Property<?>> pProperties) -
Uses of Property in net.minecraft.commands.arguments.blocks
Fields in net.minecraft.commands.arguments.blocks with type parameters of type PropertyModifier and TypeFieldDescriptionBlockInput.properties
BlockPredicateArgument.BlockPredicate.properties
private final Map
<Property<?>, Comparable<?>> BlockStateParser.BlockResult.properties
The field for theproperties
record component.private final Map
<Property<?>, Comparable<?>> BlockStateParser.properties
Methods 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 theproperties
record 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 p_116787_, Property<T> p_116788_) private static <T extends Comparable<T>>
voidBlockStateParser.appendProperty
(StringBuilder pBuilder, Property<T> pProperty, Comparable<?> pValue) private <T extends Comparable<T>>
voidConstructor parameters in net.minecraft.commands.arguments.blocks with type arguments of type PropertyModifierConstructorDescriptionBlockInput
(BlockState pState, Set<Property<?>> pProperties, CompoundTag pTag) BlockPredicate
(BlockState pState, Set<Property<?>> pProperties, CompoundTag pNbt) BlockResult
(BlockState blockState, Map<Property<?>, Comparable<?>> properties, CompoundTag nbt) Creates an instance of aBlockResult
record 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 pBlock, Property<T> pProperty, T pValue) -
Uses of Property in net.minecraft.data.models
Methods in net.minecraft.data.models with parameters of type PropertyModifier and TypeMethodDescriptionprivate void
BlockModelGenerators.createCropBlock
(Block pCropBlock, Property<Integer> pAgeProperty, int... pAgeToVisualStageMapping) private void
BlockModelGenerators.createCrossBlock
(Block pCrossBlock, BlockModelGenerators.TintState pTintState, Property<Integer> pProperty, int... pPropertyValues) private static <T extends Comparable<T>>
PropertyDispatchBlockModelGenerators.createEmptyOrFullDispatch
(Property<T> pProperty, T pMinimumValueForFullVariant, ResourceLocation pFullVariantModelLocation, ResourceLocation pEmptyVariantModelLocation) -
Uses of Property in net.minecraft.data.models.blockstates
Fields in net.minecraft.data.models.blockstates declared as PropertyModifier and TypeFieldDescriptionPropertyDispatch.C1.property1
PropertyDispatch.C2.property1
PropertyDispatch.C3.property1
PropertyDispatch.C4.property1
PropertyDispatch.C5.property1
PropertyDispatch.C2.property2
PropertyDispatch.C3.property2
PropertyDispatch.C4.property2
PropertyDispatch.C5.property2
PropertyDispatch.C3.property3
PropertyDispatch.C4.property3
PropertyDispatch.C5.property3
PropertyDispatch.C4.property4
PropertyDispatch.C5.property4
PropertyDispatch.C5.property5
Fields in net.minecraft.data.models.blockstates with type parameters of type PropertyModifier and TypeFieldDescriptionMultiVariantGenerator.seenProperties
Condition.TerminalCondition.terms
Methods 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> pProperty, Stream<T> pValueStream) final <T extends Comparable<T>>
Condition.TerminalConditionCondition.TerminalCondition.negatedTerm
(Property<T> pProperty, T pValue) final <T extends Comparable<T>>
Condition.TerminalConditionCondition.TerminalCondition.negatedTerm
(Property<T> pProperty, T pFirstValue, T... pAdditionalValues) static <T1 extends Comparable<T1>,
T2 extends Comparable<T2>>
PropertyDispatch.C2<T1, T2> PropertyDispatch.properties
(Property<T1> pProperty1, Property<T2> pProperty2) static <T1 extends Comparable<T1>,
T2 extends Comparable<T2>, T3 extends Comparable<T3>>
PropertyDispatch.C3<T1, T2, T3> PropertyDispatch.properties
(Property<T1> pProperty1, Property<T2> pProperty2, Property<T3> pProperty3) 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> pProperty1, Property<T2> pProperty2, Property<T3> pProperty3, Property<T4> pProperty4) 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> pProperty1, Property<T2> pProperty2, Property<T3> pProperty3, Property<T4> pProperty4, Property<T5> pProperty5) 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 PropertyModifierConstructorDescription(package private)
(package private)
(package private)
(package private)
C4
(Property<T1> pProperty1, Property<T2> pProperty2, Property<T3> pProperty3, Property<T4> pProperty4) (package private)
C5
(Property<T1> pProperty1, Property<T2> pProperty2, Property<T3> pProperty3, Property<T4> pProperty4, Property<T5> pProperty5) -
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 pPos, Property<T> pProperty, Predicate<T> pPredicate, String pExceptionMessage) <T extends Comparable<T>>
voidGameTestHelper.assertBlockProperty
(BlockPos pPos, Property<T> pProperty, T pValue) -
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> pProperty, Comparable<?> pValue) private static <S extends StateHolder<?,
S>, T extends Comparable<T>>
SNbtUtils.setValueHelper
(S pStateHolder, Property<T> pProperty, String pPropertyName, CompoundTag pPropertiesTag, CompoundTag pBlockStateTag) -
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 pState, Property<T> pProperty, boolean pBackwards) private static <T extends Comparable<T>>
StringDebugStickItem.getNameHelper
(BlockState pState, Property<T> pProperty) -
Uses of Property in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component with type parameters of type PropertyModifier and TypeFieldDescriptionDebugStickState.properties
The field for theproperties
record component.Methods in net.minecraft.world.item.component that return types with arguments of type PropertyModifier and TypeMethodDescriptionDebugStickState.properties()
Returns the value of theproperties
record 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 pState, Property<T> pProperty, String pPropertyName) <T extends Comparable<T>>
BlockItemStatePropertiesBlockItemStateProperties.with
(Property<T> pProperty, BlockState pState) <T extends Comparable<T>>
BlockItemStatePropertiesDebugStickState.withProperty
(Holder<Block> pBlock, Property<?> pProperty) Constructor parameters in net.minecraft.world.item.component with type arguments of type PropertyModifierConstructorDescriptionDebugStickState
(Map<Holder<Block>, Property<?>> properties) Creates an instance of aDebugStickState
record 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 pSourceState, BlockState pTargetState, Property<T> pProperty) private static boolean
WallBlock.isConnected
(BlockState pState, Property<WallSide> pHeightProperty) -
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.neighbours
StateDefinition.Builder.properties
StateDefinition.propertiesByName
private static final Function
<Map.Entry<Property<?>, Comparable<?>>, String> StateHolder.PROPERTY_ENTRY_TO_STRING_FUNCTION
private final it.unimi.dsi.fastutil.objects.Reference2ObjectArrayMap
<Property<?>, Comparable<?>> StateHolder.values
Methods 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<?> pProperty, Comparable<?> pValue) 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> p_61077_, Supplier<S> p_61078_, String p_61079_, Property<T> p_61080_) <T extends Comparable<T>>
S<T extends Comparable<T>>
Optional<T> StateHolder.getOptionalValue
(Property<T> pProperty) <T extends Comparable<T>>
T<T extends Comparable<T>>
booleanStateHolder.hasProperty
(Property<T> pProperty) private Map
<Property<?>, Comparable<?>> StateHolder.makeNeighbourValues
(Property<?> pProperty, Comparable<?> pValue) <T extends Comparable<T>,
V extends T>
S<T extends Comparable<T>,
V extends T>
SStateHolder.trySetValue
(Property<T> pProperty, V pValue) private <T extends Comparable<T>>
voidStateDefinition.Builder.validateProperty
(Property<T> pProperty) Method parameters in net.minecraft.world.level.block.state with type arguments of type PropertyModifier and TypeMethodDescriptionStateDefinition.Factory.create
(O p_61107_, it.unimi.dsi.fastutil.objects.Reference2ObjectArrayMap<Property<?>, Comparable<?>> p_326428_, com.mojang.serialization.MapCodec<S> p_61109_) void
StateHolder.populateNeighbours
(Map<Map<Property<?>, Comparable<?>>, S> pPossibleStateMap) 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_) protected
BlockStateBase
(Block p_60608_, it.unimi.dsi.fastutil.objects.Reference2ObjectArrayMap<Property<?>, Comparable<?>> p_326208_, com.mojang.serialization.MapCodec<BlockState> p_60610_) protected
StateDefinition
(Function<O, S> pStateValueFunction, O pOwner, StateDefinition.Factory<O, S> pValueFunction, Map<String, Property<?>> pPropertiesByName) protected
StateHolder
(O p_61117_, it.unimi.dsi.fastutil.objects.Reference2ObjectArrayMap<Property<?>, Comparable<?>> p_326342_, com.mojang.serialization.MapCodec<S> p_61119_) -
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 pState, Property<T> pProperty, Predicate<Object> pValuePredicate) <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 TypeClassDescriptionclass
class
class
EnumProperty<T extends Enum<T> & StringRepresentable>
class
Fields in net.minecraft.world.level.block.state.properties declared as PropertyModifier and TypeFieldDescriptionProperty.Value.property
The field for theproperty
record component.Methods in net.minecraft.world.level.block.state.properties that return PropertyModifier and TypeMethodDescriptionProperty.Value.property()
Returns the value of theproperty
record 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 p_76149_, it.unimi.dsi.fastutil.objects.Reference2ObjectArrayMap<Property<?>, Comparable<?>> p_325993_, com.mojang.serialization.MapCodec<FluidState> p_76151_) -
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.properties
CopyBlockState.properties
Methods 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> pConditions, Holder<Block> pBlock, Set<Property<?>> pProperties) -
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.conditions
final com.google.common.collect.Multimap
<Property<?>, Comparable<?>> MultiPartBlockStateBuilder.PartBuilder.conditions
private final SortedMap
<Property<?>, Comparable<?>> VariantBlockStateBuilder.PartialBlockstate.setStates
BlockStateProvider.WALL_PROPS
Methods 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.JsonObject
MultiPartBlockStateBuilder.toJson
(com.google.common.collect.Multimap<Property<?>, Comparable<?>> conditions, boolean useOr) private void
BlockStateProvider.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) -
Uses of Property in net.neoforged.neoforge.oldtest.block
Methods in net.neoforged.neoforge.oldtest.block that return Property
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