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

    Constructors
    Constructor
    Description
    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)
    Creates an instance of a SplicingTableIotaTooltip record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull ArrayList<net.minecraft.network.chat.Component>
    Returns the value of the advanced record component.
    @NotNull ArrayList<net.minecraft.network.chat.Component>
    Returns the value of the body record component.
    net.minecraft.client.gui.components.Tooltip
     
    @NotNull ArrayList<net.minecraft.network.chat.Component>
    Returns the value of the details record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    @NotNull net.minecraft.network.chat.Component
    Returns the value of the name record component.
    @Nullable net.minecraft.network.chat.Component
    Returns the value of the narration record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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 a SplicingTableIotaTooltip record class.
      Parameters:
      name - the value for the name record component
      body - the value for the body record component
      details - the value for the details record component
      advanced - the value for the advanced record component
      narration - the value for the narration record component
  • Method Details

    • build

      public net.minecraft.client.gui.components.Tooltip build()
    • toString

      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

      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

      public final boolean equals(Object o)
      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:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • name

      @NotNull public @NotNull net.minecraft.network.chat.Component name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • body

      @NotNull public @NotNull ArrayList<net.minecraft.network.chat.Component> body()
      Returns the value of the body record component.
      Returns:
      the value of the body record component
    • details

      @NotNull public @NotNull ArrayList<net.minecraft.network.chat.Component> details()
      Returns the value of the details record component.
      Returns:
      the value of the details record component
    • advanced

      @NotNull public @NotNull ArrayList<net.minecraft.network.chat.Component> advanced()
      Returns the value of the advanced record component.
      Returns:
      the value of the advanced record component
    • narration

      @Nullable public @Nullable net.minecraft.network.chat.Component narration()
      Returns the value of the narration record component.
      Returns:
      the value of the narration record component