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

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.MapCodec<ClamFeature>
     

    Fields inherited from interface net.minecraft.world.level.levelgen.feature.Feature

    DIRECT_CODEC, LIST_CODEC
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.levelgen.feature.Feature>
     
    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)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.world.level.levelgen.feature.Feature

    getSubFeatures, markAboveForPostProcessing, safeSetBlock, setBlock
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<ClamFeature> 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:
      codec in interface net.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:
      place in interface net.minecraft.world.level.levelgen.feature.Feature