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 Details Link icon

  • Constructor Details Link icon

  • Method Details Link icon

    • apply Link icon

      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 Link icon

      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;
    • toString Link icon

      public final String toString()
      Returns 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode Link icon

      public 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals Link icon

      public final boolean equals(Object object)
      Indicates 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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • properties Link icon

      public PropertiesMap properties()
      Returns the value of the properties record component.
      Returns:
      the value of the properties record component
    • variant Link icon

      public WeightedVariant variant()
      Returns the value of the variant record component.
      Returns:
      the value of the variant record component