Package net.minecraft.client.data
Record Class VariantsBlockModelDefinitionCreator.Entry
java.lang.Object
java.lang.Record
net.minecraft.client.data.VariantsBlockModelDefinitionCreator.Entry
- Record Components:
- properties-
- variant-
- Enclosing class:
- VariantsBlockModelDefinitionCreator
@Environment(CLIENT)
private static record VariantsBlockModelDefinitionCreator.Entry(PropertiesMap properties, WeightedVariant variant)
extends Record
- Mappings:
- Namespace - Name - named - net/minecraft/client/data/VariantsBlockModelDefinitionCreator$Entry- intermediary - net/minecraft/class_4925$class_10797- official - fsq$b- named - properties- intermediary - comp_3715- official - a- named - variant- intermediary - comp_3716- official - b
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final PropertiesMapThe field for thepropertiesrecord component.private final WeightedVariantThe field for thevariantrecord component.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionapply(BlockStateVariantMap<ModelVariantOperator> operatorMap) apply(ModelVariantOperator operator) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thepropertiesrecord component.final StringtoString()Returns a string representation of this record class.variant()Returns the value of thevariantrecord component.
- 
Field Details- 
propertiesThe field for thepropertiesrecord component.
- 
variantThe field for thevariantrecord component.
 
- 
- 
Constructor Details- 
EntryEntry(PropertiesMap propertiesMap, WeightedVariant weightedVariant) 
 
- 
- 
Method Details- 
applypublic Stream<VariantsBlockModelDefinitionCreator.Entry> apply(BlockStateVariantMap<ModelVariantOperator> operatorMap) - Mappings:
- Namespace - Name - Mixin selector - named - apply- Lnet/minecraft/client/data/VariantsBlockModelDefinitionCreator$Entry;apply(Lnet/minecraft/client/data/BlockStateVariantMap;)Ljava/util/stream/Stream;- intermediary - method_67861- Lnet/minecraft/class_4925$class_10797;method_67861(Lnet/minecraft/class_4926;)Ljava/util/stream/Stream;- official - a- Lfsq$b;a(Lfsr;)Ljava/util/stream/Stream;
 
- 
apply- Mappings:
- Namespace - Name - Mixin selector - named - apply- Lnet/minecraft/client/data/VariantsBlockModelDefinitionCreator$Entry;apply(Lnet/minecraft/client/render/model/json/ModelVariantOperator;)Ljava/util/stream/Stream;- intermediary - method_67862- Lnet/minecraft/class_4925$class_10797;method_67862(Lnet/minecraft/class_10804;)Ljava/util/stream/Stream;- official - a- Lfsq$b;a(Lgtk;)Ljava/util/stream/Stream;
 
- 
toStringReturns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
- 
hashCodepublic final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
- 
equalsIndicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object).
- 
propertiesReturns the value of thepropertiesrecord component.- Returns:
- the value of the propertiesrecord component
 
- 
variantReturns the value of thevariantrecord component.- Returns:
- the value of the variantrecord component
 
 
-