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> p_137454_, Object p_137455_) -
Uses of Property in net.minecraft.advancements.critereon
Methods in net.minecraft.advancements.critereon with parameters of type PropertyModifier and TypeMethodDescriptionStatePropertiesPredicate.Builder.hasProperty
(Property<?> p_67701_, String p_67702_) StatePropertiesPredicate.Builder.hasProperty
(Property<Boolean> p_67704_, boolean p_67705_) StatePropertiesPredicate.Builder.hasProperty
(Property<Integer> p_67695_, int p_67696_) <T extends Comparable<T> & StringRepresentable>
StatePropertiesPredicate.BuilderStatePropertiesPredicate.Builder.hasProperty
(Property<T> p_67698_, T p_67699_) <T extends Comparable<T>>
booleanStatePropertiesPredicate.ExactMatcher.match
(StateHolder<?, ?> p_298379_, Property<T> p_299294_) <T extends Comparable<T>>
booleanStatePropertiesPredicate.RangedMatcher.match
(StateHolder<?, ?> p_298772_, Property<T> p_298371_) <T extends Comparable<T>>
booleanStatePropertiesPredicate.ValueMatcher.match
(StateHolder<?, ?> p_299255_, Property<T> p_298372_) -
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<?> p_92587_, Block... p_92588_) Method parameters in net.minecraft.client.color.block with type arguments of type PropertyModifier and TypeMethodDescriptionprivate void
BlockColors.addColoringStates
(Set<Property<?>> p_92593_, Block... p_92594_) -
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<?>> p_94072_) -
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> p_110885_, Comparable<?> p_110886_) Method parameters in net.minecraft.client.renderer.block with type arguments of type PropertyModifier and TypeMethodDescriptionstatic String
BlockModelShaper.statePropertiesToString
(Map<Property<?>, Comparable<?>> p_110888_) -
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> p_111945_, Property<?> p_111946_, String p_111947_) -
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>>
TModelBakery.getValueHelper
(Property<T> p_119277_, String p_119278_) Method parameters in net.minecraft.client.resources.model with type arguments of type PropertyModifier and TypeMethodDescriptionstatic ModelBakery.ModelGroupKey
ModelBakery.ModelGroupKey.create
(BlockState p_119380_, MultiPart p_119381_, Collection<Property<?>> p_119382_) static ModelBakery.ModelGroupKey
ModelBakery.ModelGroupKey.create
(BlockState p_119384_, UnbakedModel p_119385_, Collection<Property<?>> p_119386_) ModelBakery.ModelGroupKey.getColoringValues
(BlockState p_119388_, Collection<Property<?>> p_119389_) -
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 p_116803_, Property<T> p_116804_, Comparable<?> p_116805_) private <T extends Comparable<T>>
voidConstructor parameters in net.minecraft.commands.arguments.blocks with type arguments of type PropertyModifierConstructorDescriptionBlockInput
(BlockState p_114666_, Set<Property<?>> p_114667_, CompoundTag p_114668_) BlockPredicate
(BlockState p_115595_, Set<Property<?>> p_115596_, CompoundTag p_115597_) 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 p_252154_, Property<T> p_250272_, T p_250292_) -
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 p_124554_, Property<Integer> p_124555_, int... p_124556_) private void
BlockModelGenerators.createCrossBlock
(Block p_273533_, BlockModelGenerators.TintState p_273521_, Property<Integer> p_273430_, int... p_273001_) private static <T extends Comparable<T>>
PropertyDispatchBlockModelGenerators.createEmptyOrFullDispatch
(Property<T> p_124627_, T p_124628_, ResourceLocation p_124629_, ResourceLocation p_124630_) -
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> p_125187_, Stream<T> p_125188_) final <T extends Comparable<T>>
Condition.TerminalConditionCondition.TerminalCondition.negatedTerm
(Property<T> p_176297_, T p_176298_) final <T extends Comparable<T>>
Condition.TerminalConditionCondition.TerminalCondition.negatedTerm
(Property<T> p_176300_, T p_176301_, T... p_176302_) static <T1 extends Comparable<T1>,
T2 extends Comparable<T2>>
PropertyDispatch.C2<T1,T2> PropertyDispatch.properties
(Property<T1> p_125297_, Property<T2> p_125298_) static <T1 extends Comparable<T1>,
T2 extends Comparable<T2>, T3 extends Comparable<T3>>
PropertyDispatch.C3<T1,T2, T3> PropertyDispatch.properties
(Property<T1> p_125300_, Property<T2> p_125301_, Property<T3> p_125302_) 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> p_125304_, Property<T2> p_125305_, Property<T3> p_125306_, Property<T4> p_125307_) 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> p_125309_, Property<T2> p_125310_, Property<T3> p_125311_, Property<T4> p_125312_, Property<T5> p_125313_) 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 p_177260_, Property<T> p_177261_, Predicate<T> p_177262_, String p_177263_) <T extends Comparable<T>>
voidGameTestHelper.assertBlockProperty
(BlockPos p_177256_, Property<T> p_177257_, T p_177258_) -
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> p_129211_, Comparable<?> p_129212_) private static <S extends StateHolder<?,
S>, T extends Comparable<T>>
SNbtUtils.setValueHelper
(S p_129205_, Property<T> p_129206_, String p_129207_, CompoundTag p_129208_, CompoundTag p_129209_) -
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 p_40970_, Property<T> p_40971_, boolean p_40972_) private static <T extends Comparable<T>>
StringDebugStickItem.getNameHelper
(BlockState p_40967_, Property<T> p_40968_) private static <T extends Comparable<T>>
BlockStateBlockItem.updateState
(BlockState p_40594_, Property<T> p_40595_, String p_40596_) -
Uses of Property in net.minecraft.world.level.block
Methods 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 p_152455_, BlockState p_152456_, Property<T> p_152457_) private static boolean
WallBlock.isConnected
(BlockState p_58011_, Property<WallSide> p_58012_) -
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 com.google.common.collect.ImmutableMap<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()
com.google.common.collect.ImmutableMap<Property<?>,
Comparable<?>> StateHolder.getValues()
private Map<Property<?>,
Comparable<?>> StateHolder.makeNeighbourValues
(Property<?> p_61141_, Comparable<?> p_61142_) 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> p_61146_) <T extends Comparable<T>>
T<T extends Comparable<T>>
booleanStateHolder.hasProperty
(Property<T> p_61139_) private Map<Property<?>,
Comparable<?>> StateHolder.makeNeighbourValues
(Property<?> p_61141_, Comparable<?> p_61142_) <T extends Comparable<T>,
V extends T>
S<T extends Comparable<T>,
V extends T>
SStateHolder.trySetValue
(Property<T> p_263324_, V p_263334_) private <T extends Comparable<T>>
voidStateDefinition.Builder.validateProperty
(Property<T> p_61100_) Method parameters in net.minecraft.world.level.block.state with type arguments of type PropertyModifier and TypeMethodDescriptionStateDefinition.Factory.create
(O p_61107_, com.google.common.collect.ImmutableMap<Property<?>, Comparable<?>> p_61108_, com.mojang.serialization.MapCodec<S> p_61109_) void
StateHolder.populateNeighbours
(Map<Map<Property<?>, Comparable<?>>, S> p_61134_) Constructor parameters in net.minecraft.world.level.block.state with type arguments of type PropertyModifierConstructorDescriptionBlockState
(Block p_61042_, com.google.common.collect.ImmutableMap<Property<?>, Comparable<?>> p_61043_, com.mojang.serialization.MapCodec<BlockState> p_61044_) protected
BlockStateBase
(Block p_60608_, com.google.common.collect.ImmutableMap<Property<?>, Comparable<?>> p_60609_, com.mojang.serialization.MapCodec<BlockState> p_60610_) protected
StateDefinition
(Function<O, S> p_61052_, O p_61053_, StateDefinition.Factory<O, S> p_61054_, Map<String, Property<?>> p_61055_) protected
StateHolder
(O p_61117_, com.google.common.collect.ImmutableMap<Property<?>, Comparable<?>> p_61118_, 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 p_61292_, Property<T> p_61293_, Predicate<Object> p_61294_) <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_, com.google.common.collect.ImmutableMap<Property<?>, Comparable<?>> p_76150_, 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 TypeMethodDescriptionprivate static <T extends Comparable<T>>
StringCopyBlockState.serialize
(BlockState p_80065_, Property<T> p_80066_) Constructor parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type PropertyModifierConstructorDescription(package private)
CopyBlockState
(List<LootItemCondition> p_298625_, Holder<Block> p_298940_, Set<Property<?>> p_80052_) -
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