Package net.minecraft
Record Class class_7159.class_7163
java.lang.Object
java.lang.Record
net.minecraft.class_7159.class_7163
- Record Components:
pos-block-neighborPos-
- All Implemented Interfaces:
class_7159.class_7162
- Enclosing class:
class_7159
static record class_7159.class_7163(BlockPos pos, Block block, BlockPos neighborPos)
extends Record
implements class_7159.class_7162
- Mappings:
Namespace Name official dlq$dintermediary net/minecraft/class_7159$class_7163named net/minecraft/class_7159$class_7163official aintermediary comp_589named posofficial bintermediary comp_590named blockofficial cintermediary comp_591named neighborPos
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionblock()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.booleanmethod_41707(ServerWorld serverWorld) Returns the value of theneighborPosrecord component.pos()Returns the value of theposrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
pos
The field for theposrecord component. -
block
The field for theblockrecord component. -
neighborPos
The field for theneighborPosrecord component.
-
-
Constructor Details
-
class_7163
-
-
Method Details
-
method_41707
- Specified by:
method_41707in interfaceclass_7159.class_7162- Mappings:
Namespace Name Mixin selector official aLdlq$c;a(Laee;)Zintermediary method_41707Lnet/minecraft/class_7159$class_7162;method_41707(Lnet/minecraft/class_3218;)Znamed method_41707Lnet/minecraft/class_7159$class_7162;method_41707(Lnet/minecraft/server/world/ServerWorld;)Z
-
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). -
pos
Returns the value of theposrecord component.- Returns:
- the value of the
posrecord component
-
block
Returns the value of theblockrecord component.- Returns:
- the value of the
blockrecord component
-
neighborPos
Returns the value of theneighborPosrecord component.- Returns:
- the value of the
neighborPosrecord component
-