Package net.minecraft.block
Record Class SideChaining.SideChainNeighbor
java.lang.Object
java.lang.Record
net.minecraft.block.SideChaining.SideChainNeighbor
- Record Components:
level-block-pos-part-
- All Implemented Interfaces:
SideChaining.Neighbor
- Enclosing interface:
SideChaining
public static record SideChaining.SideChainNeighbor(WorldAccess level, SideChaining block, BlockPos pos, SideChainPart part)
extends Record
implements SideChaining.Neighbor
- Mappings:
Namespace Name named net/minecraft/block/SideChaining$SideChainNeighborintermediary net/minecraft/class_11587$class_11591official ecj$dnamed levelintermediary comp_4443official anamed blockintermediary comp_4444official bnamed posintermediary comp_4437official cnamed partintermediary comp_4445official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SideChainingThe field for theblockrecord component.private final WorldAccessThe field for thelevelrecord component.private final SideChainPartThe field for thepartrecord component.private final BlockPosThe field for theposrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionSideChainNeighbor(WorldAccess worldAccess, SideChaining sideChaining, BlockPos blockPos, SideChainPart sideChainPart) -
Method Summary
Modifier and TypeMethodDescriptionblock()Returns the value of theblockrecord component.voidvoidvoidvoidfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanisCenterOr(SideChainPart part) booleanbooleanlevel()Returns the value of thelevelrecord component.part()Returns the value of thepartrecord component.pos()Returns the value of theposrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
SideChainNeighbor
public SideChainNeighbor(WorldAccess worldAccess, SideChaining sideChaining, BlockPos blockPos, SideChainPart sideChainPart)
-
-
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
-
connectToRight
public void connectToRight()- Specified by:
connectToRightin interfaceSideChaining.Neighbor- Mappings:
Namespace Name Mixin selector named connectToRightLnet/minecraft/block/SideChaining$Neighbor;connectToRight()Vintermediary method_72632Lnet/minecraft/class_11587$class_11589;method_72632()Vofficial dLecj$b;d()V
-
connectToLeft
public void connectToLeft()- Specified by:
connectToLeftin interfaceSideChaining.Neighbor- Mappings:
Namespace Name Mixin selector named connectToLeftLnet/minecraft/block/SideChaining$Neighbor;connectToLeft()Vintermediary method_72633Lnet/minecraft/class_11587$class_11589;method_72633()Vofficial eLecj$b;e()V
-
disconnectFromRight
public void disconnectFromRight()- Specified by:
disconnectFromRightin interfaceSideChaining.Neighbor- Mappings:
Namespace Name Mixin selector named disconnectFromRightLnet/minecraft/block/SideChaining$Neighbor;disconnectFromRight()Vintermediary method_72634Lnet/minecraft/class_11587$class_11589;method_72634()Vofficial fLecj$b;f()V
-
disconnectFromLeft
public void disconnectFromLeft()- Specified by:
disconnectFromLeftin interfaceSideChaining.Neighbor- Mappings:
Namespace Name Mixin selector named disconnectFromLeftLnet/minecraft/block/SideChaining$Neighbor;disconnectFromLeft()Vintermediary method_72635Lnet/minecraft/class_11587$class_11589;method_72635()Vofficial gLecj$b;g()V
-
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). -
level
Returns the value of thelevelrecord component.- Returns:
- the value of the
levelrecord component
-
block
Returns the value of theblockrecord component.- Returns:
- the value of the
blockrecord component
-
pos
Returns the value of theposrecord component.- Specified by:
posin interfaceSideChaining.Neighbor- Returns:
- the value of the
posrecord component
-
part
Returns the value of thepartrecord component.- Returns:
- the value of the
partrecord component
-