Uses of Class
net.minecraft.state.Property
Package
Description
-
Uses of Property in net.minecraft.advancements.criterion
Modifier and TypeMethodDescriptionStatePropertiesPredicate.Builder.hasProperty
(Property<?> p_227194_1_, String p_227194_2_) StatePropertiesPredicate.Builder.hasProperty
(Property<Boolean> p_227195_1_, boolean p_227195_2_) StatePropertiesPredicate.Builder.hasProperty
(Property<Integer> p_227192_1_, int p_227192_2_) <T extends Comparable<T> & IStringSerializable>
StatePropertiesPredicate.BuilderStatePropertiesPredicate.Builder.hasProperty
(Property<T> p_227193_1_, T p_227193_2_) protected <T extends Comparable<T>>
booleanStatePropertiesPredicate.ExactMatcher.match
(StateHolder<?, ?> p_225554_1_, Property<T> p_225554_2_) protected abstract <T extends Comparable<T>>
booleanStatePropertiesPredicate.Matcher.match
(StateHolder<?, ?> p_225554_1_, Property<T> p_225554_2_) protected <T extends Comparable<T>>
booleanStatePropertiesPredicate.RangedMacher.match
(StateHolder<?, ?> p_225554_1_, Property<T> p_225554_2_) -
Uses of Property in net.minecraft.block
Modifier and TypeMethodDescriptionAbstractRailBlock.getShapeProperty()
Deprecated.DetectorRailBlock.getShapeProperty()
PoweredRailBlock.getShapeProperty()
RailBlock.getShapeProperty()
Modifier and TypeMethodDescriptionprivate static boolean
WallBlock.isConnected
(BlockState p_235629_0_, Property<WallHeight> p_235629_1_) ModifierConstructorDescriptionprotected
AbstractBlockState
(Block p_i231870_1_, com.google.common.collect.ImmutableMap<Property<?>, Comparable<?>> p_i231870_2_, com.mojang.serialization.MapCodec<BlockState> p_i231870_3_) BlockState
(Block p_i231876_1_, com.google.common.collect.ImmutableMap<Property<?>, Comparable<?>> p_i231876_2_, com.mojang.serialization.MapCodec<BlockState> p_i231876_3_) -
Uses of Property in net.minecraft.block.pattern
Modifier and TypeMethodDescriptionprotected <T extends Comparable<T>>
booleanBlockStateMatcher.applies
(BlockState p_185927_1_, Property<T> p_185927_2_, Predicate<Object> p_185927_3_) <V extends Comparable<V>>
BlockStateMatcher -
Uses of Property in net.minecraft.client.gui.overlay
Modifier and TypeMethodDescriptionprivate String
DebugOverlayGui.getPropertyValueString
(Map.Entry<Property<?>, Comparable<?>> p_211534_1_) -
Uses of Property in net.minecraft.client.renderer
Modifier and TypeMethodDescriptionprivate static <T extends Comparable<T>>
StringBlockModelShapes.getValue
(Property<T> p_209555_0_, Comparable<?> p_209555_1_) Modifier and TypeMethodDescriptionstatic String
BlockModelShapes.statePropertiesToString
(Map<Property<?>, Comparable<?>> p_209552_0_) -
Uses of Property in net.minecraft.client.renderer.color
Modifier and TypeMethodDescriptionprivate void
BlockColors.addColoringState
(Property<?> p_225308_1_, Block... p_225308_2_) Modifier and TypeMethodDescriptionprivate void
BlockColors.addColoringStates
(Set<Property<?>> p_225309_1_, Block... p_225309_2_) -
Uses of Property in net.minecraft.client.renderer.model
Modifier and TypeMethodDescription(package private) static <T extends Comparable<T>>
TModelBakery.getValueHelper
(Property<T> p_209592_0_, String p_209592_1_) Modifier and TypeMethodDescriptionstatic ModelBakery.ModelListWrapper
ModelBakery.ModelListWrapper.create
(BlockState p_225336_0_, IUnbakedModel p_225336_1_, Collection<Property<?>> p_225336_2_) static ModelBakery.ModelListWrapper
ModelBakery.ModelListWrapper.create
(BlockState p_225335_0_, Multipart p_225335_1_, Collection<Property<?>> p_225335_2_) ModelBakery.ModelListWrapper.getColoringValues
(BlockState p_225337_0_, Collection<Property<?>> p_225337_1_) -
Uses of Property in net.minecraft.client.renderer.model.multipart
Modifier and TypeMethodDescriptionprivate Predicate<BlockState>
PropertyValueCondition.getBlockStatePredicate
(StateContainer<Block, BlockState> p_212485_1_, Property<?> p_212485_2_, String p_212485_3_) -
Uses of Property in net.minecraft.command.arguments
Modifier and TypeFieldDescriptionBlockPredicateArgument.BlockPredicate.properties
BlockStateInput.properties
private final Map<Property<?>,
Comparable<?>> BlockStateParser.properties
private final Map<Property<?>,
Comparable<?>> ItemParser.properties
Modifier and TypeMethodDescriptionMap<Property<?>,
Comparable<?>> BlockStateParser.getProperties()
Modifier and TypeMethodDescriptionprivate static <T extends Comparable<T>>
com.mojang.brigadier.suggestion.SuggestionsBuilderBlockStateParser.addSuggestions
(com.mojang.brigadier.suggestion.SuggestionsBuilder p_201037_0_, Property<T> p_201037_1_) private static <T extends Comparable<T>>
voidBlockStateParser.appendProperty
(StringBuilder p_211375_0_, Property<T> p_211375_1_, Comparable<?> p_211375_2_) private <T extends Comparable<T>>
voidModifierConstructorDescriptionBlockPredicate
(BlockState p_i48210_1_, Set<Property<?>> p_i48210_2_, CompoundNBT p_i48210_3_) BlockStateInput
(BlockState p_i47967_1_, Set<Property<?>> p_i47967_2_, CompoundNBT p_i47967_3_) -
Uses of Property in net.minecraft.data
Modifier and TypeFieldDescriptionBlockStateVariantBuilder.Five.property1
BlockStateVariantBuilder.Four.property1
BlockStateVariantBuilder.One.property1
BlockStateVariantBuilder.Three.property1
BlockStateVariantBuilder.Two.property1
BlockStateVariantBuilder.Five.property2
BlockStateVariantBuilder.Four.property2
BlockStateVariantBuilder.Three.property2
BlockStateVariantBuilder.Two.property2
BlockStateVariantBuilder.Five.property3
BlockStateVariantBuilder.Four.property3
BlockStateVariantBuilder.Three.property3
BlockStateVariantBuilder.Five.property4
BlockStateVariantBuilder.Four.property4
BlockStateVariantBuilder.Five.property5
Modifier and TypeFieldDescriptionFinishedVariantBlockState.seenProperties
IMultiPartPredicateBuilder.Properties.terms
Modifier and TypeMethodDescriptionBlockStateVariantBuilder.Five.getDefinedProperties()
BlockStateVariantBuilder.Four.getDefinedProperties()
BlockStateVariantBuilder.getDefinedProperties()
BlockStateVariantBuilder.One.getDefinedProperties()
BlockStateVariantBuilder.Three.getDefinedProperties()
BlockStateVariantBuilder.Two.getDefinedProperties()
Modifier and TypeMethodDescriptionprivate void
BlockModelProvider.createCropBlock
(Block p_239876_1_, Property<Integer> p_239876_2_, int... p_239876_3_) private static <T extends Comparable<T>>
BlockStateVariantBuilderBlockModelProvider.createEmptyOrFullDispatch
(Property<T> p_239895_0_, T p_239895_1_, ResourceLocation p_239895_2_, ResourceLocation p_239895_3_) private static <T extends Comparable<T>>
StringIMultiPartPredicateBuilder.Properties.getTerm
(Property<T> p_240103_0_, T p_240103_1_, T[] p_240103_2_) private static <T extends Comparable<T>>
StringIMultiPartPredicateBuilder.Properties.joinValues
(Property<T> p_240101_0_, Stream<T> p_240101_1_) static <T1 extends Comparable<T1>,
T2 extends Comparable<T2>>
BlockStateVariantBuilder.Two<T1,T2> BlockStateVariantBuilder.properties
(Property<T1> p_240134_0_, Property<T2> p_240134_1_) static <T1 extends Comparable<T1>,
T2 extends Comparable<T2>, T3 extends Comparable<T3>>
BlockStateVariantBuilder.Three<T1,T2, T3> BlockStateVariantBuilder.properties
(Property<T1> p_240135_0_, Property<T2> p_240135_1_, Property<T3> p_240135_2_) static <T1 extends Comparable<T1>,
T2 extends Comparable<T2>, T3 extends Comparable<T3>, T4 extends Comparable<T4>>
BlockStateVariantBuilder.Four<T1,T2, T3, T4> BlockStateVariantBuilder.properties
(Property<T1> p_240136_0_, Property<T2> p_240136_1_, Property<T3> p_240136_2_, Property<T4> p_240136_3_) static <T1 extends Comparable<T1>,
T2 extends Comparable<T2>, T3 extends Comparable<T3>, T4 extends Comparable<T4>, T5 extends Comparable<T5>>
BlockStateVariantBuilder.Five<T1,T2, T3, T4, T5> BlockStateVariantBuilder.properties
(Property<T1> p_240137_0_, Property<T2> p_240137_1_, Property<T3> p_240137_2_, Property<T4> p_240137_3_, Property<T5> p_240137_4_) static <T1 extends Comparable<T1>>
BlockStateVariantBuilder.One<T1>private <T extends Comparable<T>>
voidfinal <T extends Comparable<T>>
IMultiPartPredicateBuilder.Propertiesfinal <T extends Comparable<T>>
IMultiPartPredicateBuilder.PropertiesIMultiPartPredicateBuilder.Properties.term
(Property<T> p_240099_1_, T p_240099_2_, T... p_240099_3_) ModifierConstructorDescriptionprivate
Five
(Property<T1> p_i232538_1_, Property<T2> p_i232538_2_, Property<T3> p_i232538_3_, Property<T4> p_i232538_4_, Property<T5> p_i232538_5_) private
Four
(Property<T1> p_i232536_1_, Property<T2> p_i232536_2_, Property<T3> p_i232536_3_, Property<T4> p_i232536_4_) private
private
private
-
Uses of Property in net.minecraft.data.loot
Modifier and TypeMethodDescriptionprotected static <T extends Comparable<T> & IStringSerializable>
LootTable.BuilderBlockLootTables.createSinglePropConditionTable
(Block p_218562_0_, Property<T> p_218562_1_, T p_218562_2_) -
Uses of Property in net.minecraft.fluid
ModifierConstructorDescriptionFluidState
(Fluid p_i232145_1_, com.google.common.collect.ImmutableMap<Property<?>, Comparable<?>> p_i232145_2_, com.mojang.serialization.MapCodec<FluidState> p_i232145_3_) -
Uses of Property in net.minecraft.item
Modifier and TypeMethodDescriptionprivate static <T extends Comparable<T>>
BlockStateDebugStickItem.cycleState
(BlockState p_195960_0_, Property<T> p_195960_1_, boolean p_195960_2_) private static <T extends Comparable<T>>
StringDebugStickItem.getNameHelper
(BlockState p_195957_0_, Property<T> p_195957_1_) private static <T extends Comparable<T>>
BlockStateBlockItem.updateState
(BlockState p_219988_0_, Property<T> p_219988_1_, String p_219988_2_) -
Uses of Property in net.minecraft.loot.functions
Modifier and TypeMethodDescriptionprivate static <T extends Comparable<T>>
StringCopyBlockState.serialize
(BlockState p_227546_0_, Property<T> p_227546_1_) ModifierConstructorDescriptionprivate
CopyBlockState
(ILootCondition[] p_i225890_1_, Block p_i225890_2_, Set<Property<?>> p_i225890_3_) -
Uses of Property in net.minecraft.nbt
Modifier and TypeMethodDescriptionprivate static <T extends Comparable<T>>
StringNBTUtil.getName
(Property<T> p_190010_0_, Comparable<?> p_190010_1_) private static <S extends StateHolder<?,
S>, T extends Comparable<T>>
SNBTUtil.setValueHelper
(S p_193590_0_, Property<T> p_193590_1_, String p_193590_2_, CompoundNBT p_193590_3_, CompoundNBT p_193590_4_) -
Uses of Property in net.minecraft.state
Modifier and TypeClassDescriptionclass
class
class
EnumProperty<T extends Enum<T> & IStringSerializable>
class
Modifier and TypeFieldDescriptionprivate com.google.common.collect.Table<Property<?>,
Comparable<?>, S> StateHolder.neighbours
StateContainer.Builder.properties
StateContainer.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 TypeMethodDescriptionProperty.ValuePair.getProperty()
Property<?>
StateContainer.getProperty
(String p_185920_1_) Modifier and TypeMethodDescriptionCollection<Property<?>>
StateContainer.getProperties()
Collection<Property<?>>
StateHolder.getProperties()
com.google.common.collect.ImmutableMap<Property<?>,
Comparable<?>> StateHolder.getValues()
private Map<Property<?>,
Comparable<?>> StateHolder.makeNeighbourValues
(Property<?> p_235902_1_, Comparable<?> p_235902_2_) Modifier and TypeMethodDescriptionprivate static <S extends StateHolder<?,
S>, T extends Comparable<T>>
com.mojang.serialization.MapCodec<S>StateContainer.appendPropertyCodec
(com.mojang.serialization.MapCodec<S> p_241487_0_, Supplier<S> p_241487_1_, String p_241487_2_, Property<T> p_241487_3_) <T extends Comparable<T>>
S<T extends Comparable<T>>
Optional<T>StateHolder.getOptionalValue
(Property<T> p_235903_1_) <T extends Comparable<T>>
T<T extends Comparable<T>>
booleanStateHolder.hasProperty
(Property<T> p_235901_1_) private Map<Property<?>,
Comparable<?>> StateHolder.makeNeighbourValues
(Property<?> p_235902_1_, Comparable<?> p_235902_2_) <T extends Comparable<T>,
V extends T>
Sprivate <T extends Comparable<T>>
voidStateContainer.Builder.validateProperty
(Property<T> p_206892_1_) Modifier and TypeMethodDescriptionStateContainer.IFactory.create
(O p_create_1_, com.google.common.collect.ImmutableMap<Property<?>, Comparable<?>> p_create_2_, com.mojang.serialization.MapCodec<S> p_create_3_) void
StateHolder.populateNeighbours
(Map<Map<Property<?>, Comparable<?>>, S> p_235899_1_) ModifierConstructorDescriptionprotected
StateContainer
(Function<O, S> p_i231877_1_, O p_i231877_2_, StateContainer.IFactory<O, S> p_i231877_3_, Map<String, Property<?>> p_i231877_4_) protected
StateHolder
(O p_i231879_1_, com.google.common.collect.ImmutableMap<Property<?>, Comparable<?>> p_i231879_2_, com.mojang.serialization.MapCodec<S> p_i231879_3_) -
Uses of Property in net.minecraft.util
Modifier and TypeMethodDescriptionstatic <T extends Comparable<T>>
StringUtil.getPropertyName
(Property<T> p_200269_0_, Object p_200269_1_) -
Uses of Property in net.minecraftforge.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
static final com.google.common.collect.ImmutableMap<Direction,
Property<WallHeight>> 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<WallHeight>> entry, WallHeight height) ModifierConstructorDescription(package private)
PartialBlockstate
(Block owner, Map<Property<?>, Comparable<?>> setStates, VariantBlockStateBuilder outerBuilder)