net.minecraft.world.gen.densityfunction

public enum UpscaleDensityFunction$Mode

implements StringIdentifiable

net.minecraft.world.level.levelgen.densityfunction.op.upscale.UpscaleFunction$Mode
net.minecraft.class_1_1583$class_1_1909
net.minecraft.world.gen.densityfunction.UpscaleDensityFunction$Mode

Enum constant summary

Enum Constant
NEAREST_NEIGHBOR
field_1_12201
NEAREST_NEIGHBOR
INTERPOLATE_LINEAR
field_1_12200
INTERPOLATE_LINEAR
INTERPOLATE_COSINE
field_1_12198
INTERPOLATE_COSINE
INTERPOLATE_CUBIC
field_1_12199
INTERPOLATE_CUBIC
B_SPLINE_CUBIC
field_1_12196
B_SPLINE_CUBIC

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<UpscaleDensityFunction$Mode>
CODEC
field_1_12197
CODEC
private final String
name
field_1_12203
name
private final int
samplesBefore
field_1_12205
negativePoints
private final int
samplesAfter
field_1_12204
positivePoints
private final boolean
exactValueOnVertex
field_1_12202
passesThroughVertices
private static final UpscaleDensityFunction$Mode[]
$VALUES

Constructor summary

ModifierConstructor
private (String $enum$name, int $enum$ordinal, int name, boolean negativePoints)

Method summary

Modifier and TypeMethod
public int
sampleCount()
method_1_12013()
getSamplesPerAxis()
public String
getSerializedName()
method_15434()
asString()
private static UpscaleDensityFunction$Mode[]
$values()
method_1_12012()
method_1_12012()