Record Class DensityFunctionTypes.class_6925
java.lang.Object
java.lang.Record
net.minecraft.world.gen.densityfunction.DensityFunctionTypes.class_6925
- Record Components:
type-input-minValue-maxValue-
- All Implemented Interfaces:
DensityFunction,DensityFunctionTypes.class_6932
- Enclosing class:
DensityFunctionTypes
protected static record DensityFunctionTypes.class_6925(DensityFunctionTypes.class_6925.Type type, DensityFunction input, double minValue, double maxValue)
extends Record
implements DensityFunctionTypes.class_6932
- Mappings:
Namespace Name official cub$kintermediary net/minecraft/class_6916$class_6925named net/minecraft/world/gen/densityfunction/DensityFunctionTypes$class_6925official aintermediary comp_382named typeofficial eintermediary comp_380named inputofficial fintermediary comp_377named minValueofficial gintermediary comp_378named maxValue
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static enumNested classes/interfaces inherited from interface net.minecraft.world.gen.densityfunction.DensityFunction
DensityFunction.class_6911, DensityFunction.class_6913, DensityFunction.DensityFunctionVisitor, DensityFunction.NoisePos, DensityFunction.UnblendedNoisePos -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DensityFunctionThe field for theinputrecord component.private final doubleThe field for themaxValuerecord component.private final doubleThe field for theminValuerecord component.private final DensityFunctionTypes.class_6925.TypeThe field for thetyperecord component.Fields inherited from interface net.minecraft.world.gen.densityfunction.DensityFunction
field_37057, field_37059, REGISTRY_ENTRY_CODEC -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedclass_6925(DensityFunctionTypes.class_6925.Type type, DensityFunction densityFunction, double double2, double double3) -
Method Summary
Modifier and TypeMethodDescriptiondoubleapply(double double2) apply(DensityFunction.DensityFunctionVisitor densityFunctionVisitor) final booleanIndicates whether some other object is "equal to" this one.com.mojang.serialization.Codec<? extends DensityFunction>getCodec()final inthashCode()Returns a hash code value for this object.input()doublemaxValue()private static doublemethod_40521(DensityFunctionTypes.class_6925.Type type, double double2) method_41079(DensityFunctionTypes.class_6925.Type type, DensityFunction densityFunction) doubleminValue()final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.gen.densityfunction.DensityFunction
abs, clamp, cube, halfNegative, quarterNegative, square, squeezeMethods inherited from interface net.minecraft.world.gen.densityfunction.DensityFunctionTypes.class_6932
method_40470, sample
-
Field Details
-
Constructor Details
-
class_6925
protected class_6925(DensityFunctionTypes.class_6925.Type type, DensityFunction densityFunction, double double2, double double3)
-
-
Method Details
-
method_41079
public static DensityFunctionTypes.class_6925 method_41079(DensityFunctionTypes.class_6925.Type type, DensityFunction densityFunction) - Mappings:
Namespace Name Mixin selector official aLcub$k;a(Lcub$k$a;Lcua;)Lcub$k;intermediary method_41079Lnet/minecraft/class_6916$class_6925;method_41079(Lnet/minecraft/class_6916$class_6925$class_6926;Lnet/minecraft/class_6910;)Lnet/minecraft/class_6916$class_6925;named method_41079Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$class_6925;method_41079(Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$class_6925$Type;Lnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$class_6925;
-
method_40521
- Mappings:
Namespace Name Mixin selector official aLcub$k;a(Lcub$k$a;D)Dintermediary method_40521Lnet/minecraft/class_6916$class_6925;method_40521(Lnet/minecraft/class_6916$class_6925$class_6926;D)Dnamed method_40521Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$class_6925;method_40521(Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$class_6925$Type;D)D
-
apply
public double apply(double double2) - Specified by:
applyin interfaceDensityFunctionTypes.class_6932- Mappings:
Namespace Name Mixin selector official aLcub$p;a(D)Dintermediary method_40520Lnet/minecraft/class_6916$class_6932;method_40520(D)Dnamed applyLnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$class_6932;apply(D)D
-
apply
public DensityFunctionTypes.class_6925 apply(DensityFunction.DensityFunctionVisitor densityFunctionVisitor) - Specified by:
applyin interfaceDensityFunction- Mappings:
Namespace Name Mixin selector official bLcub$k;b(Lcua$e;)Lcub$k;intermediary method_41080Lnet/minecraft/class_6916$class_6925;method_41080(Lnet/minecraft/class_6910$class_6915;)Lnet/minecraft/class_6916$class_6925;named applyLnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$class_6925;apply(Lnet/minecraft/world/gen/densityfunction/DensityFunction$DensityFunctionVisitor;)Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$class_6925;
-
getCodec
- Specified by:
getCodecin interfaceDensityFunction- Mappings:
Namespace Name Mixin selector official cLcua;c()Lcom/mojang/serialization/Codec;intermediary method_41062Lnet/minecraft/class_6910;method_41062()Lcom/mojang/serialization/Codec;named getCodecLnet/minecraft/world/gen/densityfunction/DensityFunction;getCodec()Lcom/mojang/serialization/Codec;
-
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 '=='. -
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
input
- Specified by:
inputin interfaceDensityFunctionTypes.class_6932- Mappings:
Namespace Name Mixin selector official ab_Lcub$p;ab_()Lcua;intermediary comp_380Lnet/minecraft/class_6916$class_6932;comp_380()Lnet/minecraft/class_6910;named inputLnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$class_6932;input()Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
minValue
public double minValue()- Specified by:
minValuein interfaceDensityFunction- Mappings:
Namespace Name Mixin selector official aLcua;a()Dintermediary comp_377Lnet/minecraft/class_6910;comp_377()Dnamed minValueLnet/minecraft/world/gen/densityfunction/DensityFunction;minValue()D
-
maxValue
public double maxValue()- Specified by:
maxValuein interfaceDensityFunction- Mappings:
Namespace Name Mixin selector official bLcua;b()Dintermediary comp_378Lnet/minecraft/class_6910;comp_378()Dnamed maxValueLnet/minecraft/world/gen/densityfunction/DensityFunction;maxValue()D
-