Package net.minecraft.block
Record Class SideChaining.EmptyNeighbor
java.lang.Object
java.lang.Record
net.minecraft.block.SideChaining.EmptyNeighbor
- Record Components:
pos-
- All Implemented Interfaces:
SideChaining.Neighbor
- Enclosing interface:
SideChaining
public static record SideChaining.EmptyNeighbor(BlockPos pos)
extends Record
implements SideChaining.Neighbor
- Mappings:
Namespace Name named net/minecraft/block/SideChaining$EmptyNeighborintermediary net/minecraft/class_11587$class_11588official ecj$anamed posintermediary comp_4437official a
-
Field Summary
Fields -
Constructor Summary
Constructors -
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.booleanisCenterOr(SideChainPart part) booleanbooleanpos()Returns the value of theposrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.block.SideChaining.Neighbor
connectToLeft, connectToRight, disconnectFromLeft, disconnectFromRight
-
Field Details
-
pos
The field for theposrecord component.
-
-
Constructor Details
-
EmptyNeighbor
-
-
Method Details
-
isChained
public boolean isChained()- Specified by:
isChainedin interfaceSideChaining.Neighbor- Mappings:
Namespace Name Mixin selector named isChainedLnet/minecraft/block/SideChaining$Neighbor;isChained()Zintermediary method_74144Lnet/minecraft/class_11587$class_11589;method_74144()Zofficial aLecj$b;a()Z
-
isNotCenter
public boolean isNotCenter()- Specified by:
isNotCenterin interfaceSideChaining.Neighbor- Mappings:
Namespace Name Mixin selector named isNotCenterLnet/minecraft/block/SideChaining$Neighbor;isNotCenter()Zintermediary method_72630Lnet/minecraft/class_11587$class_11589;method_72630()Zofficial bLecj$b;b()Z
-
isCenterOr
- Specified by:
isCenterOrin interfaceSideChaining.Neighbor- Mappings:
Namespace Name Mixin selector named isCenterOrLnet/minecraft/block/SideChaining$Neighbor;isCenterOr(Lnet/minecraft/block/enums/SideChainPart;)Zintermediary method_72631Lnet/minecraft/class_11587$class_11589;method_72631(Lnet/minecraft/class_11598;)Zofficial aLecj$b;a(Leku;)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.- Specified by:
posin interfaceSideChaining.Neighbor- Returns:
- the value of the
posrecord component
-