Record Class GuidePage
java.lang.Object
java.lang.Record
guideme.GuidePage
public record GuidePage(String sourcePack, net.minecraft.resources.Identifier id, LytDocument document)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionGuidePage(String sourcePack, net.minecraft.resources.Identifier id, LytDocument document) Creates an instance of aGuidePagerecord class. -
Method Summary
Modifier and TypeMethodDescriptiondocument()Returns the value of thedocumentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.net.minecraft.resources.Identifierid()Returns the value of theidrecord component.Returns the value of thesourcePackrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GuidePage
Creates an instance of aGuidePagerecord class.- Parameters:
sourcePack- the value for thesourcePackrecord componentid- the value for theidrecord componentdocument- the value for thedocumentrecord component
-
-
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). -
sourcePack
Returns the value of thesourcePackrecord component.- Returns:
- the value of the
sourcePackrecord component
-
id
public net.minecraft.resources.Identifier id()Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
document
Returns the value of thedocumentrecord component.- Returns:
- the value of the
documentrecord component
-