Uses of Class
net.minecraft.state.property.Property
-
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()
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 <T extends Comparable<T>>
BlockStateBlock. copyProperty(BlockState source, BlockState target, Property<T> property)
private static boolean
WallBlock. method_24424(BlockState blockState, Property<WallShape> property)
Constructor parameters in net.minecraft.block with type arguments of type Property Constructor Description AbstractBlockState(Block block, ImmutableMap<Property<?>,Comparable<?>> propertyMap, com.mojang.serialization.MapCodec<BlockState> codec)
BlockState(Block block, ImmutableMap<Property<?>,Comparable<?>> propertyMap, com.mojang.serialization.MapCodec<BlockState> codec)
-
Uses of Property in net.minecraft.client.color.block
Fields in net.minecraft.client.color.block with type parameters of type Property Modifier and Type Field Description private Map<Block,Set<Property<?>>>
BlockColors. properties
Methods in net.minecraft.client.color.block that return types with arguments of type Property Modifier and Type Method Description Set<Property<?>>
BlockColors. getProperties(Block block)
Methods in net.minecraft.client.color.block with parameters of type Property Modifier and Type Method Description private void
BlockColors. registerColorProperty(Property<?> property, Block[] blocks)
Method parameters in net.minecraft.client.color.block with type arguments of type Property Modifier and Type Method Description private void
BlockColors. registerColorProperties(Set<Property<?>> properties, Block[] blocks)
-
Uses of Property in net.minecraft.client.gui.hud
Method parameters in net.minecraft.client.gui.hud with type arguments of type Property Modifier and Type Method Description private String
DebugHud. propertyToString(Map.Entry<Property<?>,Comparable<?>> propEntry)
-
Uses of Property in net.minecraft.client.render.block
Methods in net.minecraft.client.render.block with parameters of type Property Modifier and Type Method Description private static <T extends Comparable<T>>
StringBlockModels. propertyValueToString(Property<T> property, Comparable<?> comparable)
Method parameters in net.minecraft.client.render.block with type arguments of type Property Modifier and Type Method Description static String
BlockModels. propertyMapToString(Map<Property<?>,Comparable<?>> map)
-
Uses of Property in net.minecraft.client.render.model
Methods in net.minecraft.client.render.model with parameters of type Property Modifier and Type Method Description (package private) static <T extends Comparable<T>>
TModelLoader. getPropertyValue(Property<T> property, String string)
Method parameters in net.minecraft.client.render.model with type arguments of type Property Modifier and Type Method Description static ModelLoader.ModelDefinition
ModelLoader.ModelDefinition. create(BlockState state, MultipartUnbakedModel rawModel, Collection<Property<?>> properties)
static ModelLoader.ModelDefinition
ModelLoader.ModelDefinition. create(BlockState state, UnbakedModel rawModel, Collection<Property<?>> properties)
private static List<Object>
ModelLoader.ModelDefinition. getStateValues(BlockState state, Collection<Property<?>> properties)
-
Uses of Property in net.minecraft.client.render.model.json
Methods in net.minecraft.client.render.model.json with parameters of type Property Modifier and Type Method Description private Predicate<BlockState>
SimpleMultipartModelSelector. createPredicate(StateManager<Block,BlockState> stateFactory, Property<?> property, String valueString)
-
Uses of Property in net.minecraft.command.argument
Fields in net.minecraft.command.argument with type parameters of type Property Modifier and Type Field Description private Map<Property<?>,Comparable<?>>
BlockArgumentParser. blockProperties
private Set<Property<?>>
BlockPredicateArgumentType.StatePredicate. properties
private Set<Property<?>>
BlockStateArgument. properties
Methods in net.minecraft.command.argument that return types with arguments of type Property Modifier and Type Method Description Map<Property<?>,Comparable<?>>
BlockArgumentParser. getBlockProperties()
Set<Property<?>>
BlockStateArgument. method_35759()
Methods in net.minecraft.command.argument with parameters of type Property Modifier and Type Method Description private <T extends Comparable<T>>
voidBlockArgumentParser. parsePropertyValue(Property<T> property, String string, int int2)
private static <T extends Comparable<T>>
voidBlockArgumentParser. stringifyProperty(StringBuilder stringBuilder, Property<T> property, Comparable<?> comparable)
private static <T extends Comparable<T>>
com.mojang.brigadier.suggestion.SuggestionsBuilderBlockArgumentParser. suggestPropertyValues(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, Property<T> property)
Constructor parameters in net.minecraft.command.argument with type arguments of type Property Constructor Description BlockStateArgument(BlockState state, Set<Property<?>> properties, @Nullable NbtCompound data)
StatePredicate(BlockState state, Set<Property<?>> properties, @Nullable NbtCompound nbt)
-
Uses of Property in net.minecraft.data.client.model
Fields in net.minecraft.data.client.model declared as Property Modifier and Type Field Description private Property<T5>
BlockStateVariantMap.QuintupleProperty. fifth
private Property<T1>
BlockStateVariantMap.DoubleProperty. first
private Property<T1>
BlockStateVariantMap.QuadrupleProperty. first
private Property<T1>
BlockStateVariantMap.QuintupleProperty. first
private Property<T1>
BlockStateVariantMap.TripleProperty. first
private Property<T4>
BlockStateVariantMap.QuadrupleProperty. fourth
private Property<T4>
BlockStateVariantMap.QuintupleProperty. fourth
private Property<T1>
BlockStateVariantMap.SingleProperty. property
private Property<T2>
BlockStateVariantMap.DoubleProperty. second
private Property<T2>
BlockStateVariantMap.QuadrupleProperty. second
private Property<T2>
BlockStateVariantMap.QuintupleProperty. second
private Property<T2>
BlockStateVariantMap.TripleProperty. second
private Property<T3>
BlockStateVariantMap.QuadrupleProperty. third
private Property<T3>
BlockStateVariantMap.QuintupleProperty. third
private Property<T3>
BlockStateVariantMap.TripleProperty. third
Fields in net.minecraft.data.client.model with type parameters of type Property Modifier and Type Field Description private Set<Property<?>>
VariantsBlockStateSupplier. definedProperties
private Map<Property<?>,String>
When.PropertyCondition. properties
Methods in net.minecraft.data.client.model that return types with arguments of type Property Modifier and Type Method Description List<Property<?>>
BlockStateVariantMap.DoubleProperty. getProperties()
(package private) abstract List<Property<?>>
BlockStateVariantMap. getProperties()
List<Property<?>>
BlockStateVariantMap.QuadrupleProperty. getProperties()
List<Property<?>>
BlockStateVariantMap.QuintupleProperty. getProperties()
List<Property<?>>
BlockStateVariantMap.SingleProperty. getProperties()
List<Property<?>>
BlockStateVariantMap.TripleProperty. getProperties()
Methods in net.minecraft.data.client.model with parameters of type Property Modifier and Type Method Description static <T1 extends Comparable<T1>>
BlockStateVariantMap.SingleProperty<T1>BlockStateVariantMap. create(Property<T1> property)
static <T1 extends Comparable<T1>, T2 extends Comparable<T2>>
BlockStateVariantMap.DoubleProperty<T1,T2>BlockStateVariantMap. create(Property<T1> property, Property<T2> property2)
static <T1 extends Comparable<T1>, T2 extends Comparable<T2>, T3 extends Comparable<T3>>
BlockStateVariantMap.TripleProperty<T1,T2,T3>BlockStateVariantMap. create(Property<T1> property, Property<T2> property2, Property<T3> property3)
static <T1 extends Comparable<T1>, T2 extends Comparable<T2>, T3 extends Comparable<T3>, T4 extends Comparable<T4>>
BlockStateVariantMap.QuadrupleProperty<T1,T2,T3,T4>BlockStateVariantMap. create(Property<T1> property, Property<T2> property2, Property<T3> property3, Property<T4> property4)
static <T1 extends Comparable<T1>, T2 extends Comparable<T2>, T3 extends Comparable<T3>, T4 extends Comparable<T4>, T5 extends Comparable<T5>>
BlockStateVariantMap.QuintupleProperty<T1,T2,T3,T4,T5>BlockStateVariantMap. create(Property<T1> property, Property<T2> property2, Property<T3> property3, Property<T4> property4, Property<T5> property5)
private static <T extends Comparable<T>>
BlockStateVariantMapBlockStateModelGenerator. createValueFencedModelMap(Property<T> property, T fence, Identifier higherOrEqualModelId, Identifier lowerModelId)
<T extends Comparable<T>>
When.PropertyConditionWhen.PropertyCondition. method_35871(Property<T> property, T t)
<T extends Comparable<T>>
When.PropertyConditionWhen.PropertyCondition. method_35872(Property<T> property, T t, T[] t2)
private static <T extends Comparable<T>>
StringWhen.PropertyCondition. name(Property<T> property, Stream<T> valueStream)
private static <T extends Comparable<T>>
StringWhen.PropertyCondition. name(Property<T> property, T value, T[] otherValues)
private void
BlockStateModelGenerator. registerCrop(Block crop, Property<Integer> ageProperty, int[] ageTextureIndices)
private <T extends Comparable<T>>
voidWhen.PropertyCondition. set(Property<T> property, String value)
<T extends Comparable<T>>
When.PropertyConditionWhen.PropertyCondition. set(Property<T> property, T value)
<T extends Comparable<T>>
When.PropertyConditionWhen.PropertyCondition. set(Property<T> property, T value, T[] otherValues)
Constructors in net.minecraft.data.client.model with parameters of type Property Constructor Description DoubleProperty(Property<T1> property, Property<T2> property2)
QuadrupleProperty(Property<T1> property, Property<T2> property2, Property<T3> property3, Property<T4> property4)
QuintupleProperty(Property<T1> property, Property<T2> property2, Property<T3> property3, Property<T4> property4, Property<T5> property5)
SingleProperty(Property<T1> property)
TripleProperty(Property<T1> property, Property<T2> property2, Property<T3> property3)
-
Uses of Property in net.minecraft.data.server
Methods in net.minecraft.data.server with parameters of type Property Modifier and Type Method Description private static <T extends Comparable<T> & StringIdentifiable>
LootTable.BuilderBlockLootTableGenerator. dropsWithProperty(Block drop, Property<T> property, T t)
-
Uses of Property in net.minecraft.fluid
Constructor parameters in net.minecraft.fluid with type arguments of type Property Constructor Description FluidState(Fluid fluid, ImmutableMap<Property<?>,Comparable<?>> propertiesMap, com.mojang.serialization.MapCodec<FluidState> codec)
-
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 Comparable<T>>
BlockStateDebugStickItem. cycle(BlockState state, Property<T> property, boolean inverse)
private static <T extends Comparable<T>>
StringDebugStickItem. getValueString(BlockState state, Property<T> property)
private static <T extends Comparable<T>>
BlockStateBlockItem. with(BlockState state, Property<T> property, String name)
-
Uses of Property in net.minecraft.loot.function
Fields in net.minecraft.loot.function with type parameters of type Property Modifier and Type Field Description private Set<Property<?>>
CopyStateFunction.Builder. properties
private Set<Property<?>>
CopyStateFunction. properties
Methods in net.minecraft.loot.function with parameters of type Property Modifier and Type Method Description CopyStateFunction.Builder
CopyStateFunction.Builder. addProperty(Property<?> property)
private static <T extends Comparable<T>>
StringCopyStateFunction. getPropertyName(BlockState state, Property<T> property)
Constructor parameters in net.minecraft.loot.function with type arguments of type Property Constructor Description CopyStateFunction(LootCondition[] conditions, Block block, Set<Property<?>> properties)
-
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 Comparable<T>>
StringNbtHelper. nameValue(Property<T> property, Comparable<?> value)
private static <S extends State<?, S>, T extends Comparable<T>>
SNbtHelper. withProperty(S state, Property<T> property, String key, NbtCompound properties, NbtCompound root)
-
Uses of Property in net.minecraft.predicate
Methods in net.minecraft.predicate with parameters of type Property Modifier and Type Method Description StatePredicate.Builder
StatePredicate.Builder. exactMatch(Property<?> property, String valueName)
StatePredicate.Builder
StatePredicate.Builder. exactMatch(Property<Boolean> property, boolean value)
StatePredicate.Builder
StatePredicate.Builder. exactMatch(Property<Integer> property, int value)
<T extends Comparable<T> & StringIdentifiable>
StatePredicate.BuilderStatePredicate.Builder. exactMatch(Property<T> property, T value)
protected abstract <T extends Comparable<T>>
booleanStatePredicate.Condition. test(State<?,?> state, Property<T> property)
protected <T extends Comparable<T>>
booleanStatePredicate.ExactValueCondition. test(State<?,?> state, Property<T> property)
protected <T extends Comparable<T>>
booleanStatePredicate.RangedValueCondition. test(State<?,?> state, Property<T> property)
-
Uses of Property in net.minecraft.predicate.block
Fields in net.minecraft.predicate.block with type parameters of type Property Modifier and Type Field Description private Map<Property<?>,Predicate<Object>>
BlockStatePredicate. propertyTests
Methods in net.minecraft.predicate.block with parameters of type Property Modifier and Type Method Description protected <T extends Comparable<T>>
booleanBlockStatePredicate. testProperty(BlockState blockState, Property<T> property, Predicate<Object> predicate)
<V extends Comparable<V>>
BlockStatePredicateBlockStatePredicate. with(Property<V> property, Predicate<Object> predicate)
-
Uses of Property in net.minecraft.state
Fields in net.minecraft.state with type parameters of type Property Modifier and Type Field Description private ImmutableMap<Property<?>,Comparable<?>>
State. entries
private Map<String,Property<?>>
StateManager.Builder. namedProperties
private ImmutableSortedMap<String,Property<?>>
StateManager. properties
private static Function<Map.Entry<Property<?>,Comparable<?>>,String>
State. PROPERTY_MAP_PRINTER
private Table<Property<?>,Comparable<?>,S>
State. withTable
Methods in net.minecraft.state that return Property Modifier and Type Method Description @Nullable Property<?>
StateManager. getProperty(String name)
Methods in net.minecraft.state that return types with arguments of type Property Modifier and Type Method Description ImmutableMap<Property<?>,Comparable<?>>
State. getEntries()
Collection<Property<?>>
State. getProperties()
Collection<Property<?>>
StateManager. getProperties()
private Map<Property<?>,Comparable<?>>
State. toMapWith(Property<?> property, Comparable<?> value)
Methods in net.minecraft.state with parameters of type Property Modifier and Type Method Description StateManager.Builder<O,S>
StateManager.Builder. add(Property<?>[] properties)
<T extends Comparable<T>>
booleanState. contains(Property<T> property)
<T extends Comparable<T>>
SState. cycle(Property<T> property)
<T extends Comparable<T>>
TState. get(Property<T> property)
<T extends Comparable<T>>
Optional<T>State. getOrEmpty(Property<T> property)
private static <S extends State<?, S>, T extends Comparable<T>>
com.mojang.serialization.MapCodec<S>StateManager. method_30040(com.mojang.serialization.MapCodec<S> mapCodec, Supplier<S> supplier, String string, Property<T> property)
private Map<Property<?>,Comparable<?>>
State. toMapWith(Property<?> property, Comparable<?> value)
private <T extends Comparable<T>>
voidStateManager.Builder. validate(Property<T> property)
<T extends Comparable<T>, V extends T>
SState. with(Property<T> property, V value)
Method parameters in net.minecraft.state with type arguments of type Property Modifier and Type Method Description S
StateManager.Factory. create(O owner, ImmutableMap<Property<?>,Comparable<?>> entries, com.mojang.serialization.MapCodec<S> codec)
void
State. createWithTable(Map<Map<Property<?>,Comparable<?>>,S> states)
Constructor parameters in net.minecraft.state with type arguments of type Property Constructor Description State(O owner, ImmutableMap<Property<?>,Comparable<?>> entries, com.mojang.serialization.MapCodec<S> codec)
StateManager(Function<O,S> function, O o, StateManager.Factory<O,S> factory, Map<String,Property<?>> propertiesMap)
-
Uses of Property in net.minecraft.state.property
Subclasses of Property in net.minecraft.state.property Modifier and Type Class Description class
BooleanProperty
class
DirectionProperty
class
EnumProperty<T extends Enum<T> & StringIdentifiable>
class
IntProperty
Fields in net.minecraft.state.property declared as Property Modifier and Type Field Description private Property<T>
Property.Value. property
Methods in net.minecraft.state.property that return Property Modifier and Type Method Description Property<T>
Property.Value. getProperty()
-
Uses of Property in net.minecraft.test
Methods in net.minecraft.test with parameters of type Property Modifier and Type Method Description <T extends Comparable<T>>
voidStartupParameter. method_35987(BlockPos blockPos, Property<T> property, T t)
<T extends Comparable<T>>
voidStartupParameter. method_35988(BlockPos blockPos, Property<T> property, Predicate<T> predicate, String string)
-
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 Comparable<T>>
StringUtil. getValueAsString(Property<T> property, Object value)