net.minecraft.world.gen.chunk.placement

public enum RepeatingStructurePlacement$FrequencyReductionMethod

implements StringIdentifiable

net.minecraft.world.level.levelgen.structure.placement.AbstractSpreadingStructurePlacement$FrequencyReductionMethod
net.minecraft.class_6874$class_7154
net.minecraft.world.gen.chunk.placement.RepeatingStructurePlacement$FrequencyReductionMethod

Enum constant summary

Enum Constant
DEFAULT
field_37782
DEFAULT
LEGACY_TYPE_1
field_37783
LEGACY_TYPE_1
LEGACY_TYPE_2
field_37784
LEGACY_TYPE_2
LEGACY_TYPE_3
field_37785
LEGACY_TYPE_3

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<RepeatingStructurePlacement$FrequencyReductionMethod>
CODEC
field_37786
CODEC
private final String
name
field_37787
name
private final RepeatingStructurePlacement$GenerationPredicate
reducer
field_37788
generationPredicate
private static final RepeatingStructurePlacement$FrequencyReductionMethod[]
$VALUES
field_37789
field_37789

Constructor summary

ModifierConstructor
private (String $enum$name, RepeatingStructurePlacement$GenerationPredicate $enum$ordinal)

Method summary

Modifier and TypeMethod
public boolean
shouldGenerate(long seed, int salt, int sourceX, int sourceZ, float probability)
method_41650(long arg0, int arg1, int arg2, int arg3, float arg4)
shouldGenerate(long seed, int salt, int chunkX, int chunkZ, float chance)
public String
getSerializedName()
method_15434()
asString()
private static RepeatingStructurePlacement$FrequencyReductionMethod[]
$values()
method_41649()
method_41649()