Record Class ArenaSign
java.lang.Object
java.lang.Record
dev.despical.tntrun.sign.ArenaSign
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarena()Returns the value of thearenarecord component.org.bukkit.block.Blockblock()Returns the value of theblockrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.org.bukkit.block.Signsign()final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ArenaSign
Creates an instance of aArenaSignrecord class.- Parameters:
arena- the value for thearenarecord componentblock- the value for theblockrecord component
-
-
Method Details
-
sign
public org.bukkit.block.Sign sign() -
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). -
arena
Returns the value of thearenarecord component.- Returns:
- the value of the
arenarecord component
-
block
public org.bukkit.block.Block block()Returns the value of theblockrecord component.- Returns:
- the value of the
blockrecord component
-