Record Class SplicingTableIotaTooltip
java.lang.Object
java.lang.Record
gay.object.hexdebug.api.client.splicing.SplicingTableIotaTooltip
public record SplicingTableIotaTooltip(@NotNull net.minecraft.network.chat.Component name, @NotNull ArrayList<net.minecraft.network.chat.Component> body, @NotNull ArrayList<net.minecraft.network.chat.Component> details, @NotNull ArrayList<net.minecraft.network.chat.Component> advanced, @Nullable net.minecraft.network.chat.Component narration)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionSplicingTableIotaTooltip(@NotNull net.minecraft.network.chat.Component name, @NotNull ArrayList<net.minecraft.network.chat.Component> body, @NotNull ArrayList<net.minecraft.network.chat.Component> details, @NotNull ArrayList<net.minecraft.network.chat.Component> advanced, @Nullable net.minecraft.network.chat.Component narration) Creates an instance of aSplicingTableIotaTooltiprecord class. -
Method Summary
Modifier and TypeMethodDescription@NotNull ArrayList<net.minecraft.network.chat.Component>advanced()Returns the value of theadvancedrecord component.@NotNull ArrayList<net.minecraft.network.chat.Component>body()Returns the value of thebodyrecord component.net.minecraft.client.gui.components.Tooltipbuild()@NotNull ArrayList<net.minecraft.network.chat.Component>details()Returns the value of thedetailsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NotNull net.minecraft.network.chat.Componentname()Returns the value of thenamerecord component.@Nullable net.minecraft.network.chat.ComponentReturns the value of thenarrationrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SplicingTableIotaTooltip
public SplicingTableIotaTooltip(@NotNull @NotNull net.minecraft.network.chat.Component name, @NotNull @NotNull ArrayList<net.minecraft.network.chat.Component> body, @NotNull @NotNull ArrayList<net.minecraft.network.chat.Component> details, @NotNull @NotNull ArrayList<net.minecraft.network.chat.Component> advanced, @Nullable @Nullable net.minecraft.network.chat.Component narration) Creates an instance of aSplicingTableIotaTooltiprecord class.- Parameters:
name- the value for thenamerecord componentbody- the value for thebodyrecord componentdetails- the value for thedetailsrecord componentadvanced- the value for theadvancedrecord componentnarration- the value for thenarrationrecord component
-
-
Method Details
-
build
public net.minecraft.client.gui.components.Tooltip build() -
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. -
hashCode
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. -
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). -
name
@NotNull public @NotNull net.minecraft.network.chat.Component name()Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
body
Returns the value of thebodyrecord component.- Returns:
- the value of the
bodyrecord component
-
details
Returns the value of thedetailsrecord component.- Returns:
- the value of the
detailsrecord component
-
advanced
Returns the value of theadvancedrecord component.- Returns:
- the value of the
advancedrecord component
-
narration
@Nullable public @Nullable net.minecraft.network.chat.Component narration()Returns the value of thenarrationrecord component.- Returns:
- the value of the
narrationrecord component
-