Package net.minecraft
Record Class class_8437
java.lang.Object
java.lang.Record
net.minecraft.class_8437
- Record Components:
radius-depth-
- All Implemented Interfaces:
FeatureConfig
public record class_8437(IntProvider radius, IntProvider depth)
extends Record
implements FeatureConfig
- Mappings:
Namespace Name official dqxintermediary net/minecraft/class_8437named net/minecraft/class_8437official bintermediary comp_1442named radiusofficial cintermediary comp_1443named depth
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final IntProviderThe field for thedepthrecord component.static final com.mojang.serialization.Codec<class_8437>private final IntProviderThe field for theradiusrecord component.Fields inherited from interface net.minecraft.world.gen.feature.FeatureConfig
DEFAULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondepth()Returns the value of thedepthrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.radius()Returns the value of theradiusrecord 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.world.gen.feature.FeatureConfig
getDecoratedFeatures
-
Field Details
-
radius
The field for theradiusrecord component. -
depth
The field for thedepthrecord component. -
field_44267
- Mappings:
Namespace Name Mixin selector official aLdqx;a:Lcom/mojang/serialization/Codec;intermediary field_44267Lnet/minecraft/class_8437;field_44267:Lcom/mojang/serialization/Codec;named field_44267Lnet/minecraft/class_8437;field_44267:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_8437
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
radius
Returns the value of theradiusrecord component.- Returns:
- the value of the
radiusrecord component
-
depth
Returns the value of thedepthrecord component.- Returns:
- the value of the
depthrecord component
-