Package net.minecraft
Record Class class_8603.class_8604
java.lang.Object
java.lang.Record
net.minecraft.class_8603.class_8604
- Record Components:
center-viewDistance-
- All Implemented Interfaces:
class_8603
- Enclosing interface:
class_8603
public static record class_8603.class_8604(ChunkPos center, int viewDistance)
extends Record
implements class_8603
- Mappings:
Namespace Name official ajx$aintermediary net/minecraft/class_8603$class_8604named net/minecraft/class_8603$class_8604official bintermediary comp_1574named centerofficial cintermediary comp_1575named viewDistance
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.class_8603
class_8603.class_8604 -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ChunkPosThe field for thecenterrecord component.private final intThe field for theviewDistancerecord component.Fields inherited from interface net.minecraft.class_8603
field_44986 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncenter()Returns the value of thecenterrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanmethod_52359(int int2, int int3, boolean bool) voidmethod_52363(Consumer<ChunkPos> consumer) protected booleanmethod_52365(class_8603.class_8604 class_8604) (package private) int(package private) int(package private) int(package private) intfinal StringtoString()Returns a string representation of this record class.intReturns the value of theviewDistancerecord component.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.class_8603
method_52356, method_52361, method_52364
-
Field Details
-
center
The field for thecenterrecord component. -
viewDistance
private final int viewDistanceThe field for theviewDistancerecord component.
-
-
Constructor Details
-
class_8604
-
-
Method Details
-
method_52366
int method_52366()- Mappings:
Namespace Name Mixin selector official cLajx$a;c()Iintermediary method_52366Lnet/minecraft/class_8603$class_8604;method_52366()Inamed method_52366Lnet/minecraft/class_8603$class_8604;method_52366()I
-
method_52367
int method_52367()- Mappings:
Namespace Name Mixin selector official dLajx$a;d()Iintermediary method_52367Lnet/minecraft/class_8603$class_8604;method_52367()Inamed method_52367Lnet/minecraft/class_8603$class_8604;method_52367()I
-
method_52368
int method_52368()- Mappings:
Namespace Name Mixin selector official eLajx$a;e()Iintermediary method_52368Lnet/minecraft/class_8603$class_8604;method_52368()Inamed method_52368Lnet/minecraft/class_8603$class_8604;method_52368()I
-
method_52369
int method_52369()- Mappings:
Namespace Name Mixin selector official fLajx$a;f()Iintermediary method_52369Lnet/minecraft/class_8603$class_8604;method_52369()Inamed method_52369Lnet/minecraft/class_8603$class_8604;method_52369()I
-
method_52365
- Mappings:
Namespace Name Mixin selector official aLajx$a;a(Lajx$a;)Zintermediary method_52365Lnet/minecraft/class_8603$class_8604;method_52365(Lnet/minecraft/class_8603$class_8604;)Znamed method_52365Lnet/minecraft/class_8603$class_8604;method_52365(Lnet/minecraft/class_8603$class_8604;)Z
-
method_52359
public boolean method_52359(int int2, int int3, boolean bool) - Specified by:
method_52359in interfaceclass_8603- Mappings:
Namespace Name Mixin selector official aLajx;a(IIZ)Zintermediary method_52359Lnet/minecraft/class_8603;method_52359(IIZ)Znamed method_52359Lnet/minecraft/class_8603;method_52359(IIZ)Z
-
method_52363
- Specified by:
method_52363in interfaceclass_8603- Mappings:
Namespace Name Mixin selector official aLajx;a(Ljava/util/function/Consumer;)Vintermediary method_52363Lnet/minecraft/class_8603;method_52363(Ljava/util/function/Consumer;)Vnamed method_52363Lnet/minecraft/class_8603;method_52363(Ljava/util/function/Consumer;)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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
center
Returns the value of thecenterrecord component.- Returns:
- the value of the
centerrecord component
-
viewDistance
public int viewDistance()Returns the value of theviewDistancerecord component.- Returns:
- the value of the
viewDistancerecord component
-