Package net.minecraft
Record Class class_8433.class_8434
java.lang.Object
java.lang.Record
net.minecraft.class_8433.class_8434
- Record Components:
start-pos-length-depth-rustLevel-direction-
- Enclosing class:
class_8433
private static record class_8433.class_8434(BlockPos start, BlockPos pos, int length, int depth, int rustLevel, Direction direction)
extends Record
- Mappings:
Namespace Name official dlt$aintermediary net/minecraft/class_8433$class_8434named net/minecraft/class_8433$class_8434official aintermediary comp_1436named startofficial bintermediary comp_1437named posofficial cintermediary comp_1438named lengthofficial dintermediary comp_1439named depthofficial eintermediary comp_1440named rustLevelofficial fintermediary comp_1441named direction
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe field for thedepthrecord component.private final DirectionThe field for thedirectionrecord component.private final intThe field for thelengthrecord component.private final BlockPosThe field for theposrecord component.private final intThe field for therustLevelrecord component.private final BlockPosThe field for thestartrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_8434(BlockPos blockPos, BlockPos blockPos2, int int2, int int3, int int4, Direction direction) -
Method Summary
Modifier and TypeMethodDescriptionintdepth()Returns the value of thedepthrecord component.Returns the value of thedirectionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intlength()Returns the value of thelengthrecord component.pos()Returns the value of theposrecord component.intReturns the value of therustLevelrecord component.start()Returns the value of thestartrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
start
The field for thestartrecord component. -
pos
The field for theposrecord component. -
length
private final int lengthThe field for thelengthrecord component. -
depth
private final int depthThe field for thedepthrecord component. -
rustLevel
private final int rustLevelThe field for therustLevelrecord component. -
direction
The field for thedirectionrecord component.
-
-
Constructor Details
-
class_8434
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
start
Returns the value of thestartrecord component.- Returns:
- the value of the
startrecord component
-
pos
Returns the value of theposrecord component.- Returns:
- the value of the
posrecord component
-
length
public int length()Returns the value of thelengthrecord component.- Returns:
- the value of the
lengthrecord component
-
depth
public int depth()Returns the value of thedepthrecord component.- Returns:
- the value of the
depthrecord component
-
rustLevel
public int rustLevel()Returns the value of therustLevelrecord component.- Returns:
- the value of the
rustLevelrecord component
-
direction
Returns the value of thedirectionrecord component.- Returns:
- the value of the
directionrecord component
-