Uses of Class
net.minecraft.state.Property
-
-
Uses of Property in net.minecraft.advancements.criterion
Methods in net.minecraft.advancements.criterion with parameters of type Property Modifier and Type Method Description StatePropertiesPredicate.Builder
StatePropertiesPredicate.Builder. hasProperty(Property<?> p_227194_1_, java.lang.String p_227194_2_)
StatePropertiesPredicate.Builder
StatePropertiesPredicate.Builder. hasProperty(Property<java.lang.Boolean> p_227195_1_, boolean p_227195_2_)
StatePropertiesPredicate.Builder
StatePropertiesPredicate.Builder. hasProperty(Property<java.lang.Integer> p_227192_1_, int p_227192_2_)
<T extends java.lang.Comparable<T> & IStringSerializable>
StatePropertiesPredicate.BuilderStatePropertiesPredicate.Builder. hasProperty(Property<T> p_227193_1_, T p_227193_2_)
protected <T extends java.lang.Comparable<T>>
booleanStatePropertiesPredicate.ExactMatcher. match(StateHolder<?,?> p_225554_1_, Property<T> p_225554_2_)
protected abstract <T extends java.lang.Comparable<T>>
booleanStatePropertiesPredicate.Matcher. match(StateHolder<?,?> p_225554_1_, Property<T> p_225554_2_)
protected <T extends java.lang.Comparable<T>>
booleanStatePropertiesPredicate.RangedMacher. match(StateHolder<?,?> p_225554_1_, Property<T> p_225554_2_)
-
Uses of Property in net.minecraft.block
Methods in net.minecraft.block that return Property Modifier and Type Method Description abstract Property<RailShape>
AbstractRailBlock. getShapeProperty()
Deprecated.Property<RailShape>
DetectorRailBlock. getShapeProperty()
Property<RailShape>
PoweredRailBlock. getShapeProperty()
Property<RailShape>
RailBlock. getShapeProperty()
Methods in net.minecraft.block with parameters of type Property Modifier and Type Method Description private static boolean
WallBlock. isConnected(BlockState p_235629_0_, Property<WallHeight> p_235629_1_)
Constructor parameters in net.minecraft.block with type arguments of type Property Constructor Description AbstractBlockState(Block p_i231870_1_, com.google.common.collect.ImmutableMap<Property<?>,java.lang.Comparable<?>> p_i231870_2_, com.mojang.serialization.MapCodec<BlockState> p_i231870_3_)
BlockState(Block p_i231876_1_, com.google.common.collect.ImmutableMap<Property<?>,java.lang.Comparable<?>> p_i231876_2_, com.mojang.serialization.MapCodec<BlockState> p_i231876_3_)
-
Uses of Property in net.minecraft.block.pattern
Fields in net.minecraft.block.pattern with type parameters of type Property Modifier and Type Field Description private java.util.Map<Property<?>,java.util.function.Predicate<java.lang.Object>>
BlockStateMatcher. properties
Methods in net.minecraft.block.pattern with parameters of type Property Modifier and Type Method Description protected <T extends java.lang.Comparable<T>>
booleanBlockStateMatcher. applies(BlockState p_185927_1_, Property<T> p_185927_2_, java.util.function.Predicate<java.lang.Object> p_185927_3_)
<V extends java.lang.Comparable<V>>
BlockStateMatcherBlockStateMatcher. where(Property<V> p_201028_1_, java.util.function.Predicate<java.lang.Object> p_201028_2_)
-
Uses of Property in net.minecraft.client.gui.overlay
Method parameters in net.minecraft.client.gui.overlay with type arguments of type Property Modifier and Type Method Description private java.lang.String
DebugOverlayGui. getPropertyValueString(java.util.Map.Entry<Property<?>,java.lang.Comparable<?>> p_211534_1_)
-
Uses of Property in net.minecraft.client.renderer
Methods in net.minecraft.client.renderer with parameters of type Property Modifier and Type Method Description private static <T extends java.lang.Comparable<T>>
java.lang.StringBlockModelShapes. getValue(Property<T> p_209555_0_, java.lang.Comparable<?> p_209555_1_)
Method parameters in net.minecraft.client.renderer with type arguments of type Property Modifier and Type Method Description static java.lang.String
BlockModelShapes. statePropertiesToString(java.util.Map<Property<?>,java.lang.Comparable<?>> p_209552_0_)
-
Uses of Property in net.minecraft.client.renderer.color
Fields in net.minecraft.client.renderer.color with type parameters of type Property Modifier and Type Field Description private java.util.Map<Block,java.util.Set<Property<?>>>
BlockColors. coloringStates
Methods in net.minecraft.client.renderer.color that return types with arguments of type Property Modifier and Type Method Description java.util.Set<Property<?>>
BlockColors. getColoringProperties(Block p_225310_1_)
Methods in net.minecraft.client.renderer.color with parameters of type Property Modifier and Type Method Description private void
BlockColors. addColoringState(Property<?> p_225308_1_, Block... p_225308_2_)
Method parameters in net.minecraft.client.renderer.color with type arguments of type Property Modifier and Type Method Description private void
BlockColors. addColoringStates(java.util.Set<Property<?>> p_225309_1_, Block... p_225309_2_)
-
Uses of Property in net.minecraft.client.renderer.model
Methods in net.minecraft.client.renderer.model with parameters of type Property Modifier and Type Method Description (package private) static <T extends java.lang.Comparable<T>>
TModelBakery. getValueHelper(Property<T> p_209592_0_, java.lang.String p_209592_1_)
Method parameters in net.minecraft.client.renderer.model with type arguments of type Property Modifier and Type Method Description static ModelBakery.ModelListWrapper
ModelBakery.ModelListWrapper. create(BlockState p_225336_0_, IUnbakedModel p_225336_1_, java.util.Collection<Property<?>> p_225336_2_)
static ModelBakery.ModelListWrapper
ModelBakery.ModelListWrapper. create(BlockState p_225335_0_, Multipart p_225335_1_, java.util.Collection<Property<?>> p_225335_2_)
private static java.util.List<java.lang.Object>
ModelBakery.ModelListWrapper. getColoringValues(BlockState p_225337_0_, java.util.Collection<Property<?>> p_225337_1_)
-
Uses of Property in net.minecraft.client.renderer.model.multipart
Methods in net.minecraft.client.renderer.model.multipart with parameters of type Property Modifier and Type Method Description private java.util.function.Predicate<BlockState>
PropertyValueCondition. getBlockStatePredicate(StateContainer<Block,BlockState> p_212485_1_, Property<?> p_212485_2_, java.lang.String p_212485_3_)
-
Uses of Property in net.minecraft.command.arguments
Fields in net.minecraft.command.arguments with type parameters of type Property Modifier and Type Field Description private java.util.Set<Property<?>>
BlockPredicateArgument.BlockPredicate. properties
private java.util.Set<Property<?>>
BlockStateInput. properties
private java.util.Map<Property<?>,java.lang.Comparable<?>>
BlockStateParser. properties
private java.util.Map<Property<?>,java.lang.Comparable<?>>
ItemParser. properties
Methods in net.minecraft.command.arguments that return types with arguments of type Property Modifier and Type Method Description java.util.Map<Property<?>,java.lang.Comparable<?>>
BlockStateParser. getProperties()
Methods in net.minecraft.command.arguments with parameters of type Property Modifier and Type Method Description private static <T extends java.lang.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 java.lang.Comparable<T>>
voidBlockStateParser. appendProperty(java.lang.StringBuilder p_211375_0_, Property<T> p_211375_1_, java.lang.Comparable<?> p_211375_2_)
private <T extends java.lang.Comparable<T>>
voidBlockStateParser. setValue(Property<T> p_197253_1_, java.lang.String p_197253_2_, int p_197253_3_)
Constructor parameters in net.minecraft.command.arguments with type arguments of type Property Constructor Description BlockPredicate(BlockState p_i48210_1_, java.util.Set<Property<?>> p_i48210_2_, CompoundNBT p_i48210_3_)
BlockStateInput(BlockState p_i47967_1_, java.util.Set<Property<?>> p_i47967_2_, CompoundNBT p_i47967_3_)
-
Uses of Property in net.minecraft.data
Fields in net.minecraft.data declared as Property Modifier and Type Field Description private Property<T1>
BlockStateVariantBuilder.Five. property1
private Property<T1>
BlockStateVariantBuilder.Four. property1
private Property<T1>
BlockStateVariantBuilder.One. property1
private Property<T1>
BlockStateVariantBuilder.Three. property1
private Property<T1>
BlockStateVariantBuilder.Two. property1
private Property<T2>
BlockStateVariantBuilder.Five. property2
private Property<T2>
BlockStateVariantBuilder.Four. property2
private Property<T2>
BlockStateVariantBuilder.Three. property2
private Property<T2>
BlockStateVariantBuilder.Two. property2
private Property<T3>
BlockStateVariantBuilder.Five. property3
private Property<T3>
BlockStateVariantBuilder.Four. property3
private Property<T3>
BlockStateVariantBuilder.Three. property3
private Property<T4>
BlockStateVariantBuilder.Five. property4
private Property<T4>
BlockStateVariantBuilder.Four. property4
private Property<T5>
BlockStateVariantBuilder.Five. property5
Fields in net.minecraft.data with type parameters of type Property Modifier and Type Field Description private java.util.Set<Property<?>>
FinishedVariantBlockState. seenProperties
private java.util.Map<Property<?>,java.lang.String>
IMultiPartPredicateBuilder.Properties. terms
Methods in net.minecraft.data that return types with arguments of type Property Modifier and Type Method Description java.util.List<Property<?>>
BlockStateVariantBuilder.Five. getDefinedProperties()
java.util.List<Property<?>>
BlockStateVariantBuilder.Four. getDefinedProperties()
(package private) abstract java.util.List<Property<?>>
BlockStateVariantBuilder. getDefinedProperties()
java.util.List<Property<?>>
BlockStateVariantBuilder.One. getDefinedProperties()
java.util.List<Property<?>>
BlockStateVariantBuilder.Three. getDefinedProperties()
java.util.List<Property<?>>
BlockStateVariantBuilder.Two. getDefinedProperties()
Methods in net.minecraft.data with parameters of type Property Modifier and Type Method Description private void
BlockModelProvider. createCropBlock(Block p_239876_1_, Property<java.lang.Integer> p_239876_2_, int... p_239876_3_)
private static <T extends java.lang.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 java.lang.Comparable<T>>
java.lang.StringIMultiPartPredicateBuilder.Properties. getTerm(Property<T> p_240103_0_, T p_240103_1_, T[] p_240103_2_)
private static <T extends java.lang.Comparable<T>>
java.lang.StringIMultiPartPredicateBuilder.Properties. joinValues(Property<T> p_240101_0_, java.util.stream.Stream<T> p_240101_1_)
static <T1 extends java.lang.Comparable<T1>,T2 extends java.lang.Comparable<T2>>
BlockStateVariantBuilder.Two<T1,T2>BlockStateVariantBuilder. properties(Property<T1> p_240134_0_, Property<T2> p_240134_1_)
static <T1 extends java.lang.Comparable<T1>,T2 extends java.lang.Comparable<T2>,T3 extends java.lang.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 java.lang.Comparable<T1>,T2 extends java.lang.Comparable<T2>,T3 extends java.lang.Comparable<T3>,T4 extends java.lang.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 java.lang.Comparable<T1>,T2 extends java.lang.Comparable<T2>,T3 extends java.lang.Comparable<T3>,T4 extends java.lang.Comparable<T4>,T5 extends java.lang.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 java.lang.Comparable<T1>>
BlockStateVariantBuilder.One<T1>BlockStateVariantBuilder. property(Property<T1> p_240133_0_)
private <T extends java.lang.Comparable<T>>
voidIMultiPartPredicateBuilder.Properties. putValue(Property<T> p_240100_1_, java.lang.String p_240100_2_)
<T extends java.lang.Comparable<T>>
IMultiPartPredicateBuilder.PropertiesIMultiPartPredicateBuilder.Properties. term(Property<T> p_240098_1_, T p_240098_2_)
<T extends java.lang.Comparable<T>>
IMultiPartPredicateBuilder.PropertiesIMultiPartPredicateBuilder.Properties. term(Property<T> p_240099_1_, T p_240099_2_, T... p_240099_3_)
Constructors in net.minecraft.data with parameters of type Property Constructor Description 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_)
Four(Property<T1> p_i232536_1_, Property<T2> p_i232536_2_, Property<T3> p_i232536_3_, Property<T4> p_i232536_4_)
One(Property<T1> p_i232530_1_)
Three(Property<T1> p_i232534_1_, Property<T2> p_i232534_2_, Property<T3> p_i232534_3_)
Two(Property<T1> p_i232532_1_, Property<T2> p_i232532_2_)
-
Uses of Property in net.minecraft.data.loot
Methods in net.minecraft.data.loot with parameters of type Property Modifier and Type Method Description protected static <T extends java.lang.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
Constructor parameters in net.minecraft.fluid with type arguments of type Property Constructor Description FluidState(Fluid p_i232145_1_, com.google.common.collect.ImmutableMap<Property<?>,java.lang.Comparable<?>> p_i232145_2_, com.mojang.serialization.MapCodec<FluidState> p_i232145_3_)
-
Uses of Property in net.minecraft.item
Methods in net.minecraft.item with parameters of type Property Modifier and Type Method Description private static <T extends java.lang.Comparable<T>>
BlockStateDebugStickItem. cycleState(BlockState p_195960_0_, Property<T> p_195960_1_, boolean p_195960_2_)
private static <T extends java.lang.Comparable<T>>
java.lang.StringDebugStickItem. getNameHelper(BlockState p_195957_0_, Property<T> p_195957_1_)
private static <T extends java.lang.Comparable<T>>
BlockStateBlockItem. updateState(BlockState p_219988_0_, Property<T> p_219988_1_, java.lang.String p_219988_2_)
-
Uses of Property in net.minecraft.loot.functions
Fields in net.minecraft.loot.functions with type parameters of type Property Modifier and Type Field Description private java.util.Set<Property<?>>
CopyBlockState.Builder. properties
private java.util.Set<Property<?>>
CopyBlockState. properties
Methods in net.minecraft.loot.functions with parameters of type Property Modifier and Type Method Description CopyBlockState.Builder
CopyBlockState.Builder. copy(Property<?> p_227552_1_)
private static <T extends java.lang.Comparable<T>>
java.lang.StringCopyBlockState. serialize(BlockState p_227546_0_, Property<T> p_227546_1_)
Constructor parameters in net.minecraft.loot.functions with type arguments of type Property Constructor Description CopyBlockState(ILootCondition[] p_i225890_1_, Block p_i225890_2_, java.util.Set<Property<?>> p_i225890_3_)
-
Uses of Property in net.minecraft.nbt
Methods in net.minecraft.nbt with parameters of type Property Modifier and Type Method Description private static <T extends java.lang.Comparable<T>>
java.lang.StringNBTUtil. getName(Property<T> p_190010_0_, java.lang.Comparable<?> p_190010_1_)
private static <S extends StateHolder<?,S>,T extends java.lang.Comparable<T>>
SNBTUtil. setValueHelper(S p_193590_0_, Property<T> p_193590_1_, java.lang.String p_193590_2_, CompoundNBT p_193590_3_, CompoundNBT p_193590_4_)
-
Uses of Property in net.minecraft.state
Subclasses of Property in net.minecraft.state Modifier and Type Class Description class
BooleanProperty
class
DirectionProperty
class
EnumProperty<T extends java.lang.Enum<T> & IStringSerializable>
class
IntegerProperty
Fields in net.minecraft.state declared as Property Modifier and Type Field Description private Property<T>
Property.ValuePair. property
Fields in net.minecraft.state with type parameters of type Property Modifier and Type Field Description private com.google.common.collect.Table<Property<?>,java.lang.Comparable<?>,S>
StateHolder. neighbours
private java.util.Map<java.lang.String,Property<?>>
StateContainer.Builder. properties
private com.google.common.collect.ImmutableSortedMap<java.lang.String,Property<?>>
StateContainer. propertiesByName
private static java.util.function.Function<java.util.Map.Entry<Property<?>,java.lang.Comparable<?>>,java.lang.String>
StateHolder. PROPERTY_ENTRY_TO_STRING_FUNCTION
private com.google.common.collect.ImmutableMap<Property<?>,java.lang.Comparable<?>>
StateHolder. values
Methods in net.minecraft.state that return Property Modifier and Type Method Description Property<T>
Property.ValuePair. getProperty()
Property<?>
StateContainer. getProperty(java.lang.String p_185920_1_)
Methods in net.minecraft.state that return types with arguments of type Property Modifier and Type Method Description java.util.Collection<Property<?>>
StateContainer. getProperties()
java.util.Collection<Property<?>>
StateHolder. getProperties()
com.google.common.collect.ImmutableMap<Property<?>,java.lang.Comparable<?>>
StateHolder. getValues()
private java.util.Map<Property<?>,java.lang.Comparable<?>>
StateHolder. makeNeighbourValues(Property<?> p_235902_1_, java.lang.Comparable<?> p_235902_2_)
Methods in net.minecraft.state with parameters of type Property Modifier and Type Method Description StateContainer.Builder<O,S>
StateContainer.Builder. add(Property<?>... p_206894_1_)
private static <S extends StateHolder<?,S>,T extends java.lang.Comparable<T>>
com.mojang.serialization.MapCodec<S>StateContainer. appendPropertyCodec(com.mojang.serialization.MapCodec<S> p_241487_0_, java.util.function.Supplier<S> p_241487_1_, java.lang.String p_241487_2_, Property<T> p_241487_3_)
<T extends java.lang.Comparable<T>>
SStateHolder. cycle(Property<T> p_235896_1_)
<T extends java.lang.Comparable<T>>
java.util.Optional<T>StateHolder. getOptionalValue(Property<T> p_235903_1_)
<T extends java.lang.Comparable<T>>
TStateHolder. getValue(Property<T> p_177229_1_)
<T extends java.lang.Comparable<T>>
booleanStateHolder. hasProperty(Property<T> p_235901_1_)
private java.util.Map<Property<?>,java.lang.Comparable<?>>
StateHolder. makeNeighbourValues(Property<?> p_235902_1_, java.lang.Comparable<?> p_235902_2_)
<T extends java.lang.Comparable<T>,V extends T>
SStateHolder. setValue(Property<T> p_206870_1_, V p_206870_2_)
private <T extends java.lang.Comparable<T>>
voidStateContainer.Builder. validateProperty(Property<T> p_206892_1_)
Method parameters in net.minecraft.state with type arguments of type Property Modifier and Type Method Description S
StateContainer.IFactory. create(O p_create_1_, com.google.common.collect.ImmutableMap<Property<?>,java.lang.Comparable<?>> p_create_2_, com.mojang.serialization.MapCodec<S> p_create_3_)
void
StateHolder. populateNeighbours(java.util.Map<java.util.Map<Property<?>,java.lang.Comparable<?>>,S> p_235899_1_)
Constructors in net.minecraft.state with parameters of type Property Constructor Description ValuePair(Property<T> p_i232540_1_, T p_i232540_2_)
Constructor parameters in net.minecraft.state with type arguments of type Property Constructor Description StateContainer(java.util.function.Function<O,S> p_i231877_1_, O p_i231877_2_, StateContainer.IFactory<O,S> p_i231877_3_, java.util.Map<java.lang.String,Property<?>> p_i231877_4_)
StateHolder(O p_i231879_1_, com.google.common.collect.ImmutableMap<Property<?>,java.lang.Comparable<?>> p_i231879_2_, com.mojang.serialization.MapCodec<S> p_i231879_3_)
-
Uses of Property in net.minecraft.util
Methods in net.minecraft.util with parameters of type Property Modifier and Type Method Description static <T extends java.lang.Comparable<T>>
java.lang.StringUtil. getPropertyName(Property<T> p_200269_0_, java.lang.Object p_200269_1_)
-
Uses of Property in net.minecraftforge.client.model.generators
Fields in net.minecraftforge.client.model.generators with type parameters of type Property Modifier and Type Field Description com.google.common.collect.Multimap<Property<?>,java.lang.Comparable<?>>
MultiPartBlockStateBuilder.PartBuilder.ConditionGroup. conditions
com.google.common.collect.Multimap<Property<?>,java.lang.Comparable<?>>
MultiPartBlockStateBuilder.PartBuilder. conditions
private java.util.SortedMap<Property<?>,java.lang.Comparable<?>>
VariantBlockStateBuilder.PartialBlockstate. setStates
static com.google.common.collect.ImmutableMap<Direction,Property<WallHeight>>
BlockStateProvider. WALL_PROPS
Methods in net.minecraftforge.client.model.generators that return types with arguments of type Property Modifier and Type Method Description java.util.SortedMap<Property<?>,java.lang.Comparable<?>>
VariantBlockStateBuilder.PartialBlockstate. getSetStates()
Methods in net.minecraftforge.client.model.generators with parameters of type Property Modifier and Type Method Description <T extends java.lang.Comparable<T>>
MultiPartBlockStateBuilder.PartBuilderMultiPartBlockStateBuilder.PartBuilder. condition(Property<T> prop, T... values)
Set a condition for this part, which consists of a property and a set of valid values.<T extends java.lang.Comparable<T>>
MultiPartBlockStateBuilder.PartBuilder.ConditionGroupMultiPartBlockStateBuilder.PartBuilder.ConditionGroup. condition(Property<T> prop, T... values)
Set a condition for this part, which consists of a property and a set of valid values.VariantBlockStateBuilder
VariantBlockStateBuilder. forAllStatesExcept(java.util.function.Function<BlockState,ConfiguredModel[]> mapper, Property<?>... ignored)
<T extends java.lang.Comparable<T>>
VariantBlockStateBuilder.PartialBlockstateVariantBlockStateBuilder.PartialBlockstate. with(Property<T> prop, T value)
Method parameters in net.minecraftforge.client.model.generators with type arguments of type Property Modifier and Type Method Description private static com.google.gson.JsonObject
MultiPartBlockStateBuilder. toJson(com.google.common.collect.Multimap<Property<?>,java.lang.Comparable<?>> conditions, boolean useOr)
private void
BlockStateProvider. wallSidePart(MultiPartBlockStateBuilder builder, ModelFile model, java.util.Map.Entry<Direction,Property<WallHeight>> entry, WallHeight height)
Constructor parameters in net.minecraftforge.client.model.generators with type arguments of type Property Constructor Description PartialBlockstate(Block owner, java.util.Map<Property<?>,java.lang.Comparable<?>> setStates, VariantBlockStateBuilder outerBuilder)
-