Record Class PackObfuscator.Pair
java.lang.Object
java.lang.Record
kr.toxicity.model.api.pack.PackObfuscator.Pair
- Record Components:
models- the models obfuscatortextures- the textures obfuscator
- Enclosing interface:
PackObfuscator
public static record PackObfuscator.Pair(@NotNull PackObfuscator models, @NotNull PackObfuscator textures)
extends Record
A pair of obfuscators for models and textures.
- Since:
- 1.15.2
-
Constructor Summary
ConstructorsConstructorDescriptionPair(@NotNull PackObfuscator models, @NotNull PackObfuscator textures) Creates an instance of aPairrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NotNull PackObfuscatormodels()Returns the value of themodelsrecord component.@NotNull PackObfuscatortextures()Returns the value of thetexturesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
toString
-
hashCode
-
equals
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 withObjects::equals(Object,Object). -
models
-
textures
-