Record Class PageAnchor
java.lang.Object
java.lang.Record
guideme.PageAnchor
- Record Components:
pageId-anchor- ID of an anchor in the page.
-
Constructor Summary
ConstructorsConstructorDescriptionPageAnchor(net.minecraft.resources.Identifier pageId, @Nullable String anchor) Creates an instance of aPageAnchorrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable Stringanchor()Returns the value of theanchorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static PageAnchorpage(net.minecraft.resources.Identifier pageId) net.minecraft.resources.IdentifierpageId()Returns the value of thepageIdrecord component.static PageAnchortoString()Returns a string representation of this record class.
-
Constructor Details
-
PageAnchor
-
-
Method Details
-
page
-
parse
-
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). -
pageId
-
anchor
-