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$a
intermediary net/minecraft/class_8433$class_8434
named net/minecraft/class_8433$class_8434
official a
intermediary comp_1436
named start
official b
intermediary comp_1437
named pos
official c
intermediary comp_1438
named length
official d
intermediary comp_1439
named depth
official e
intermediary comp_1440
named rustLevel
official f
intermediary comp_1441
named direction
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
The field for thedepth
record component.private final Direction
The field for thedirection
record component.private final int
The field for thelength
record component.private final BlockPos
The field for thepos
record component.private final int
The field for therustLevel
record component.private final BlockPos
The field for thestart
record component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_8434
(BlockPos blockPos, BlockPos blockPos2, int int2, int int3, int int4, Direction direction) -
Method Summary
Modifier and TypeMethodDescriptionint
depth()
Returns the value of thedepth
record component.Returns the value of thedirection
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.int
length()
Returns the value of thelength
record component.pos()
Returns the value of thepos
record component.int
Returns the value of therustLevel
record component.start()
Returns the value of thestart
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
start
The field for thestart
record component. -
pos
The field for thepos
record component. -
length
private final int lengthThe field for thelength
record component. -
depth
private final int depthThe field for thedepth
record component. -
rustLevel
private final int rustLevelThe field for therustLevel
record component. -
direction
The field for thedirection
record 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 thestart
record component.- Returns:
- the value of the
start
record component
-
pos
Returns the value of thepos
record component.- Returns:
- the value of the
pos
record component
-
length
public int length()Returns the value of thelength
record component.- Returns:
- the value of the
length
record component
-
depth
public int depth()Returns the value of thedepth
record component.- Returns:
- the value of the
depth
record component
-
rustLevel
public int rustLevel()Returns the value of therustLevel
record component.- Returns:
- the value of the
rustLevel
record component
-
direction
Returns the value of thedirection
record component.- Returns:
- the value of the
direction
record component
-