Record Class ComposterWrapper.WrapperLocation
java.lang.Object
java.lang.Record
net.neoforged.neoforge.transfer.item.ComposterWrapper.WrapperLocation
- Enclosing class:
ComposterWrapper
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateWrapperLocation(Level level, BlockPos pos) Creates an instance of aWrapperLocationrecord 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.level()Returns the value of thelevelrecord component.pos()Returns the value of theposrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
level
The field for thelevelrecord component. -
pos
The field for theposrecord component.
-
-
Constructor Details
-
WrapperLocation
-
-
Method Details
-
getBlockState
-
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). -
level
Returns the value of thelevelrecord component.- Returns:
- the value of the
levelrecord component
-
pos
Returns the value of theposrecord component.- Returns:
- the value of the
posrecord component
-