Record Class PortableGridBlockItemRenderInfo
java.lang.Object
java.lang.Record
com.refinedmods.refinedstorage.common.storage.portablegrid.PortableGridBlockItemRenderInfo
-
Constructor Summary
ConstructorsConstructorDescriptionPortableGridBlockItemRenderInfo(boolean active, Disk disk) Creates an instance of aPortableGridBlockItemRenderInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanactive()Returns the value of theactiverecord component.disk()Returns the value of thediskrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PortableGridBlockItemRenderInfo
Creates an instance of aPortableGridBlockItemRenderInforecord class.- Parameters:
active- the value for theactiverecord componentdisk- the value for thediskrecord component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
active
public boolean active()Returns the value of theactiverecord component.- Returns:
- the value of the
activerecord component
-
disk
Returns the value of thediskrecord component.- Returns:
- the value of the
diskrecord component
-