Uses of Class
net.minecraft.state.property.Property
Package
Description
-
Uses of Property in net.minecraft.block
Modifier and TypeMethodDescriptionAbstractRailBlock.getShapeProperty()
DetectorRailBlock.getShapeProperty()
PoweredRailBlock.getShapeProperty()
RailBlock.getShapeProperty()
Modifier and TypeMethodDescriptionprivate static <T extends Comparable<T>>
BlockStateBlock.copyProperty
(BlockState source, BlockState target, Property<T> property) private static boolean
WallBlock.isConnected
(BlockState state, Property<WallShape> property) ModifierConstructorDescriptionprotected
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
Modifier and TypeMethodDescriptionprivate void
BlockColors.registerColorProperty
(Property<?> property, Block[] blocks) Modifier and TypeMethodDescriptionprivate void
BlockColors.registerColorProperties
(Set<Property<?>> properties, Block[] blocks) -
Uses of Property in net.minecraft.client.gui.hud
Modifier and TypeMethodDescriptionprivate String
DebugHud.propertyToString
(Map.Entry<Property<?>, Comparable<?>> propEntry) -
Uses of Property in net.minecraft.client.render.block
Modifier and TypeMethodDescriptionprivate static <T extends Comparable<T>>
StringBlockModels.propertyValueToString
(Property<T> property, Comparable<?> value) Modifier and TypeMethodDescriptionstatic String
BlockModels.propertyMapToString
(Map<Property<?>, Comparable<?>> map) -
Uses of Property in net.minecraft.client.render.model
Modifier and TypeMethodDescription(package private) static <T extends Comparable<T>>
TModelLoader.getPropertyValue
(Property<T> property, String string) Modifier and TypeMethodDescriptionstatic 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) ModelLoader.ModelDefinition.getStateValues
(BlockState state, Collection<Property<?>> properties) -
Uses of Property in net.minecraft.client.render.model.json
Modifier and TypeMethodDescriptionprivate Predicate<BlockState>
SimpleMultipartModelSelector.createPredicate
(StateManager<Block, BlockState> stateFactory, Property<?> property, String valueString) -
Uses of Property in net.minecraft.command.argument
Modifier and TypeFieldDescriptionprivate final Map<Property<?>,
Comparable<?>> BlockArgumentParser.blockProperties
BlockPredicateArgumentType.StatePredicate.properties
BlockStateArgument.properties
Modifier and TypeMethodDescriptionMap<Property<?>,
Comparable<?>> BlockArgumentParser.getBlockProperties()
BlockStateArgument.getProperties()
Modifier and TypeMethodDescriptionprivate <T extends Comparable<T>>
voidBlockArgumentParser.parsePropertyValue
(Property<T> property, String value, int cursor) private static <T extends Comparable<T>>
voidBlockArgumentParser.stringifyProperty
(StringBuilder builder, Property<T> property, Comparable<?> value) private static <T extends Comparable<T>>
com.mojang.brigadier.suggestion.SuggestionsBuilderBlockArgumentParser.suggestPropertyValues
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Property<T> property) ModifierConstructorDescriptionBlockStateArgument
(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
Modifier and TypeFieldDescriptionBlockStateVariantMap.QuintupleProperty.fifth
BlockStateVariantMap.DoubleProperty.first
BlockStateVariantMap.QuadrupleProperty.first
BlockStateVariantMap.QuintupleProperty.first
BlockStateVariantMap.TripleProperty.first
BlockStateVariantMap.QuadrupleProperty.fourth
BlockStateVariantMap.QuintupleProperty.fourth
BlockStateVariantMap.SingleProperty.property
BlockStateVariantMap.DoubleProperty.second
BlockStateVariantMap.QuadrupleProperty.second
BlockStateVariantMap.QuintupleProperty.second
BlockStateVariantMap.TripleProperty.second
BlockStateVariantMap.QuadrupleProperty.third
BlockStateVariantMap.QuintupleProperty.third
BlockStateVariantMap.TripleProperty.third
Modifier and TypeFieldDescriptionVariantsBlockStateSupplier.definedProperties
When.PropertyCondition.properties
Modifier and TypeMethodDescriptionBlockStateVariantMap.DoubleProperty.getProperties()
BlockStateVariantMap.getProperties()
BlockStateVariantMap.QuadrupleProperty.getProperties()
BlockStateVariantMap.QuintupleProperty.getProperties()
BlockStateVariantMap.SingleProperty.getProperties()
BlockStateVariantMap.TripleProperty.getProperties()
Modifier and TypeMethodDescriptionstatic <T1 extends Comparable<T1>>
BlockStateVariantMap.SingleProperty<T1>static <T1 extends Comparable<T1>,
T2 extends Comparable<T2>>
BlockStateVariantMap.DoubleProperty<T1,T2> static <T1 extends Comparable<T1>,
T2 extends Comparable<T2>, T3 extends Comparable<T3>>
BlockStateVariantMap.TripleProperty<T1,T2, T3> 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> first, Property<T2> second, Property<T3> third, Property<T4> fourth) 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> first, Property<T2> second, Property<T3> third, Property<T4> fourth, Property<T5> fifth) private static <T extends Comparable<T>>
BlockStateVariantMapBlockStateModelGenerator.createValueFencedModelMap
(Property<T> property, T fence, Identifier higherOrEqualModelId, Identifier lowerModelId) private static <T extends Comparable<T>>
Stringprivate static <T extends Comparable<T>>
Stringprivate void
BlockStateModelGenerator.registerCrop
(Block crop, Property<Integer> ageProperty, int[] ageTextureIndices) private <T extends Comparable<T>>
voidfinal <T extends Comparable<T>>
When.PropertyConditionfinal <T extends Comparable<T>>
When.PropertyConditionfinal <T extends Comparable<T>>
When.PropertyConditionWhen.PropertyCondition.setNegated
(Property<T> property, T value) final <T extends Comparable<T>>
When.PropertyConditionWhen.PropertyCondition.setNegated
(Property<T> property, T value, T[] otherValues) ModifierConstructorDescription(package private)
DoubleProperty
(Property<T1> first, Property<T2> second) (package private)
(package private)
QuintupleProperty
(Property<T1> first, Property<T2> second, Property<T3> third, Property<T4> fourth, Property<T5> fifth) (package private)
SingleProperty
(Property<T1> property) (package private)
-
Uses of Property in net.minecraft.data.server
Modifier and TypeMethodDescriptionprivate static <T extends Comparable<T> & StringIdentifiable>
LootTable.BuilderBlockLootTableGenerator.dropsWithProperty
(Block drop, Property<T> property, T value) -
Uses of Property in net.minecraft.fluid
ModifierConstructorDescriptionFluidState
(Fluid fluid, ImmutableMap<Property<?>, Comparable<?>> propertiesMap, com.mojang.serialization.MapCodec<FluidState> codec) -
Uses of Property in net.minecraft.item
Modifier and TypeMethodDescriptionprivate 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
Modifier and TypeFieldDescriptionCopyStateFunction.Builder.properties
CopyStateFunction.properties
Modifier and TypeMethodDescriptionCopyStateFunction.Builder.addProperty
(Property<?> property) private static <T extends Comparable<T>>
StringCopyStateFunction.getPropertyName
(BlockState state, Property<T> property) ModifierConstructorDescription(package private)
CopyStateFunction
(LootCondition[] conditions, Block block, Set<Property<?>> properties) -
Uses of Property in net.minecraft.nbt
Modifier and TypeMethodDescriptionprivate 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
Modifier and TypeMethodDescriptionStatePredicate.Builder.exactMatch
(Property<?> property, String valueName) StatePredicate.Builder.exactMatch
(Property<Boolean> property, boolean value) 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>>
booleanprotected <T extends Comparable<T>>
booleanprotected <T extends Comparable<T>>
boolean -
Uses of Property in net.minecraft.predicate.block
Modifier and TypeMethodDescriptionprotected <T extends Comparable<T>>
booleanBlockStatePredicate.testProperty
(BlockState blockState, Property<T> property, Predicate<Object> predicate) <V extends Comparable<V>>
BlockStatePredicate -
Uses of Property in net.minecraft.state
Modifier and TypeFieldDescriptionprivate final ImmutableMap<Property<?>,
Comparable<?>> State.entries
StateManager.Builder.namedProperties
private final ImmutableSortedMap<String,
Property<?>> StateManager.properties
private static final Function<Map.Entry<Property<?>,
Comparable<?>>, String> State.PROPERTY_MAP_PRINTER
private Table<Property<?>,
Comparable<?>, S> State.withTable
Modifier and TypeMethodDescriptionImmutableMap<Property<?>,
Comparable<?>> State.getEntries()
Collection<Property<?>>
State.getProperties()
Collection<Property<?>>
StateManager.getProperties()
private Map<Property<?>,
Comparable<?>> State.toMapWith
(Property<?> property, Comparable<?> value) Modifier and TypeMethodDescriptionprivate static <S extends State<?,
S>, T extends Comparable<T>>
com.mojang.serialization.MapCodec<S>StateManager.addFieldToMapCodec
(com.mojang.serialization.MapCodec<S> mapCodec, Supplier<S> defaultStateGetter, String key, Property<T> property) <T extends Comparable<T>>
boolean<T extends Comparable<T>>
S<T extends Comparable<T>>
T<T extends Comparable<T>>
Optional<T>State.getOrEmpty
(Property<T> property) private Map<Property<?>,
Comparable<?>> State.toMapWith
(Property<?> property, Comparable<?> value) private <T extends Comparable<T>>
void<T extends Comparable<T>,
V extends T>
SModifier and TypeMethodDescriptionStateManager.Factory.create
(O owner, ImmutableMap<Property<?>, Comparable<?>> entries, com.mojang.serialization.MapCodec<S> codec) void
State.createWithTable
(Map<Map<Property<?>, Comparable<?>>, S> states) ModifierConstructorDescriptionprotected
State
(O owner, ImmutableMap<Property<?>, Comparable<?>> entries, com.mojang.serialization.MapCodec<S> codec) protected
StateManager
(Function<O, S> defaultStateGetter, O owner, StateManager.Factory<O, S> factory, Map<String, Property<?>> propertiesMap) -
Uses of Property in net.minecraft.state.property
Modifier and TypeClassDescriptionclass
Represents a property that has boolean values.class
Represents a property that has direction values.class
EnumProperty<T extends Enum<T> & StringIdentifiable>
Represents a property that has enum values.class
Represents a property that has integer values.Modifier and TypeFieldDescriptionProperty.Value.property
The field for theproperty
record component. -
Uses of Property in net.minecraft.test
Modifier and TypeMethodDescription<T extends Comparable<T>>
voidTestContext.checkBlockProperty
(BlockPos pos, Property<T> property, Predicate<T> predicate, String errorMessage) <T extends Comparable<T>>
voidTestContext.expectBlockProperty
(BlockPos pos, Property<T> property, T value) -
Uses of Property in net.minecraft.util
Modifier and TypeMethodDescriptionstatic <T extends Comparable<T>>
StringUtil.getValueAsString
(Property<T> property, Object value)