Class ClamFeature
java.lang.Object
com.wdiscute.starcatcher.blocks.clam.ClamFeature
- All Implemented Interfaces:
net.minecraft.world.level.levelgen.feature.Feature
public class ClamFeature
extends Object
implements net.minecraft.world.level.levelgen.feature.Feature
-
Field Summary
FieldsFields inherited from interface net.minecraft.world.level.levelgen.feature.Feature
DIRECT_CODEC, LIST_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec<? extends net.minecraft.world.level.levelgen.feature.Feature> codec()booleanplace(net.minecraft.world.level.WorldGenLevel level, net.minecraft.world.level.chunk.ChunkGenerator chunkGenerator, net.minecraft.util.RandomSource r, net.minecraft.core.BlockPos originBP) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.levelgen.feature.Feature
getSubFeatures, markAboveForPostProcessing, safeSetBlock, setBlock
-
Field Details
-
CODEC
-
-
Constructor Details
-
ClamFeature
public ClamFeature()
-
-
Method Details
-
codec
public com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.levelgen.feature.Feature> codec()- Specified by:
codecin interfacenet.minecraft.world.level.levelgen.feature.Feature
-
place
public boolean place(net.minecraft.world.level.WorldGenLevel level, net.minecraft.world.level.chunk.ChunkGenerator chunkGenerator, net.minecraft.util.RandomSource r, net.minecraft.core.BlockPos originBP) - Specified by:
placein interfacenet.minecraft.world.level.levelgen.feature.Feature
-