Record Class MultiblockChestResources<T>
java.lang.Object
java.lang.Record
net.minecraft.client.renderer.MultiblockChestResources<T>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMultiblockChestResources(T single, T left, T right) Creates an instance of aMultiblockChestResourcesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.left()Returns the value of theleftrecord component.<S> MultiblockChestResources<S> right()Returns the value of therightrecord component.single()Returns the value of thesinglerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
single
The field for thesinglerecord component. -
left
The field for theleftrecord component. -
right
The field for therightrecord component.
-
-
Constructor Details
-
MultiblockChestResources
-
-
Method Details
-
select
-
map
-
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). -
single
Returns the value of thesinglerecord component.- Returns:
- the value of the
singlerecord component
-
left
Returns the value of theleftrecord component.- Returns:
- the value of the
leftrecord component
-
right
Returns the value of therightrecord component.- Returns:
- the value of the
rightrecord component
-