Uses of Class
net.minecraft.world.level.block.state.properties.Property
Package
Description
-
Uses of Property in net.minecraft
Modifier and TypeMethodDescriptionstatic <T extends Comparable<T>>
StringUtil.getPropertyName
(Property<T> p_137454_, Object p_137455_) -
Uses of Property in net.minecraft.advancements.critereon
Modifier 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
Modifier and TypeMethodDescriptionprivate void
BlockColors.addColoringState
(Property<?> p_92587_, Block... p_92588_) Modifier and TypeMethodDescriptionprivate void
BlockColors.addColoringStates
(Set<Property<?>> p_92593_, Block... p_92594_) -
Uses of Property in net.minecraft.client.gui.components
Modifier and TypeMethodDescriptionprivate String
DebugScreenOverlay.getPropertyValueString
(Map.Entry<Property<?>, Comparable<?>> p_94072_) -
Uses of Property in net.minecraft.client.renderer.block
Modifier and TypeMethodDescriptionprivate static <T extends Comparable<T>>
StringBlockModelShaper.getValue
(Property<T> p_110885_, Comparable<?> p_110886_) Modifier and TypeMethodDescriptionstatic String
BlockModelShaper.statePropertiesToString
(Map<Property<?>, Comparable<?>> p_110888_) -
Uses of Property in net.minecraft.client.renderer.block.model.multipart
Modifier 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
Modifier and TypeMethodDescription(package private) static <T extends Comparable<T>>
TModelBakery.getValueHelper
(Property<T> p_119277_, String p_119278_) Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionBlockInput.getDefinedProperties()
Map<Property<?>,
Comparable<?>> BlockStateParser.BlockResult.properties()
Returns the value of theproperties
record component.Modifier 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>>
voidModifierConstructorDescriptionBlockInput
(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
Modifier 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
Modifier 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
Modifier 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
Modifier and TypeFieldDescriptionMultiVariantGenerator.seenProperties
Condition.TerminalCondition.terms
Modifier and TypeMethodDescriptionPropertyDispatch.C1.getDefinedProperties()
PropertyDispatch.C2.getDefinedProperties()
PropertyDispatch.C3.getDefinedProperties()
PropertyDispatch.C4.getDefinedProperties()
PropertyDispatch.C5.getDefinedProperties()
PropertyDispatch.getDefinedProperties()
Modifier 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.TerminalCondition -
Uses of Property in net.minecraft.gametest.framework
Modifier 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
Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionBaseRailBlock.getShapeProperty()
Deprecated.DetectorRailBlock.getShapeProperty()
PoweredRailBlock.getShapeProperty()
RailBlock.getShapeProperty()
Modifier 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
Modifier 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
Modifier 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_) Modifier 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_) Modifier 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_) ModifierConstructorDescriptionBlockState
(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
Modifier 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
Modifier and TypeClassDescriptionclass
class
class
EnumProperty<T extends Enum<T> & StringRepresentable>
class
Modifier and TypeFieldDescriptionProperty.Value.property
The field for theproperty
record component.Modifier and TypeMethodDescriptionProperty.Value.property()
Returns the value of theproperty
record component. -
Uses of Property in net.minecraft.world.level.material
ModifierConstructorDescriptionFluidState
(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
Modifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableSet.Builder<Property<?>>
CopyBlockState.Builder.properties
CopyBlockState.properties
Modifier and TypeMethodDescriptionprivate static <T extends Comparable<T>>
StringCopyBlockState.serialize
(BlockState p_80065_, Property<T> p_80066_) ModifierConstructorDescription(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
Modifier 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
Modifier and TypeMethodDescriptionSortedMap<Property<?>,
Comparable<?>> VariantBlockStateBuilder.PartialBlockstate.getSetStates()
Modifier 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.PartialBlockstateModifier 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) ModifierConstructorDescription(package private)
PartialBlockstate
(Block owner, Map<Property<?>, Comparable<?>> setStates, @Nullable VariantBlockStateBuilder outerBuilder) -
Uses of Property in net.neoforged.neoforge.debug.block
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