net.minecraft.world.gen.feature

public record ProjectedRandomPatchySquareFeature

implements Feature

net.minecraft.world.level.levelgen.feature.ProjectedRandomPatchySquare
net.minecraft.class_1_1184
net.minecraft.world.gen.feature.ProjectedRandomPatchySquareFeature

Field summary

Modifier and TypeField
private final BlockStateProvider
block
comp_1_1231
block
private final BlockPredicate
projectThrough
comp_1_1233
projectThrough
private final IntProvider
size
comp_1_1234
size
private final int
maxProjectionHeight
comp_1_1232
maxProjectionHeight
public static final com.mojang.serialization.MapCodec<ProjectedRandomPatchySquareFeature>
CODEC
field_1_8236
CODEC

Constructor summary

ModifierConstructor
public (BlockStateProvider block, BlockPredicate projectThrough, IntProvider size, int maxProjectionHeight)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<ProjectedRandomPatchySquareFeature>
codec()
method_1_6879()
getCodec()
public boolean
place(WorldGenLevel level, ChunkGenerator chunkGenerator, RandomSource random, BlockPos pos)
method_13151(class_5281 arg0, class_2794 arg1, class_5819 arg2, class_2338 arg3)
generate(StructureWorldAccess arg0, ChunkGenerator arg1, Random arg2, BlockPos arg3)
public BlockStateProvider
block()
comp_1_1231()
block()
public BlockPredicate
projectThrough()
comp_1_1233()
projectThrough()
public IntProvider
size()
comp_1_1234()
size()
public int
maxProjectionHeight()
comp_1_1232()
maxProjectionHeight()
private static com.mojang.datafixers.kinds.App
lambda$static$0(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_1_7571(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_1_7571(com.mojang.serialization.codecs.RecordCodecBuilder$Instance instance)