Package gay.object.hexdebug.api.splicing
Record Class SplicingTableIotaClientView
java.lang.Object
java.lang.Record
gay.object.hexdebug.api.splicing.SplicingTableIotaClientView
-
Constructor Summary
ConstructorsConstructorDescriptionSplicingTableIotaClientView(@NotNull at.petrak.hexcasting.api.casting.iota.Iota iota, @NotNull at.petrak.hexcasting.api.casting.eval.CastingEnvironment env) SplicingTableIotaClientView(@NotNull net.minecraft.nbt.CompoundTag tag, @NotNull net.minecraft.network.chat.Component name, @NotNull String hexpatternSource) Creates an instance of aSplicingTableIotaClientViewrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.@Nullable net.minecraft.nbt.TaggetData()final inthashCode()Returns a hash code value for this object.@NotNull StringReturns the value of thehexpatternSourcerecord component.@NotNull net.minecraft.network.chat.Componentname()Returns the value of thenamerecord component.@NotNull net.minecraft.nbt.CompoundTagtag()Returns the value of thetagrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SplicingTableIotaClientView
public SplicingTableIotaClientView(@NotNull @NotNull at.petrak.hexcasting.api.casting.iota.Iota iota, @NotNull @NotNull at.petrak.hexcasting.api.casting.eval.CastingEnvironment env) -
SplicingTableIotaClientView
public SplicingTableIotaClientView(@NotNull @NotNull net.minecraft.nbt.CompoundTag tag, @NotNull @NotNull net.minecraft.network.chat.Component name, @NotNull @NotNull String hexpatternSource) Creates an instance of aSplicingTableIotaClientViewrecord class.- Parameters:
tag- the value for thetagrecord componentname- the value for thenamerecord componenthexpatternSource- the value for thehexpatternSourcerecord component
-
-
Method Details
-
getData
@Nullable public @Nullable net.minecraft.nbt.Tag getData() -
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). -
tag
@NotNull public @NotNull net.minecraft.nbt.CompoundTag tag()Returns the value of thetagrecord component.- Returns:
- the value of the
tagrecord component
-
name
@NotNull public @NotNull net.minecraft.network.chat.Component name()Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
hexpatternSource
Returns the value of thehexpatternSourcerecord component.- Returns:
- the value of the
hexpatternSourcerecord component
-