net.minecraft.world.gen.feature

public record VoidStartPlatformFeature

implements Feature

net.minecraft.world.level.levelgen.feature.VoidStartPlatformFeature
net.minecraft.world.level.levelgen.feature.VoidStartPlatformFeature
net.minecraft.class_3217
net.minecraft.world.gen.feature.VoidStartPlatformFeature

Field summary

Modifier and TypeField
private static final BlockPos
PLATFORM_OFFSET
PLATFORM_OFFSET
field_19241
START_BLOCK
private static final ChunkPos
PLATFORM_ORIGIN_CHUNK
PLATFORM_ORIGIN_CHUNK
field_19242
START_CHUNK
private static final int
PLATFORM_RADIUS
PLATFORM_RADIUS
field_31520
MAX_RADIUS
private static final int
PLATFORM_RADIUS_CHUNKS
PLATFORM_RADIUS_CHUNKS
field_31521
field_31521
public static final com.mojang.serialization.MapCodec<VoidStartPlatformFeature>
CODEC
CODEC
field_1_7890
CODEC

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<VoidStartPlatformFeature>
codec()
codec()
method_1_6879()
getCodec()
private static int
checkerboardDistance(int xa, int za, int xb, int zb)
checkerboardDistance(int xa, int za, int xb, int zb)
method_20403(int arg0, int arg1, int arg2, int arg3)
getDistance(int x1, int z1, int x2, int z2)
public boolean
place(WorldGenLevel level, ChunkGenerator chunkGenerator, RandomSource random, BlockPos origin)
place(WorldGenLevel level, ChunkGenerator chunkGenerator, RandomSource random, BlockPos origin)
method_13151(class_5281 arg0, class_2794 arg1, class_5819 arg2, class_2338 arg3)
generate(StructureWorldAccess arg0, ChunkGenerator arg1, Random arg2, BlockPos arg3)