Class TwistingVineFeature

All Implemented Interfaces:
IForgeRegistryEntry<Feature<?>>

public class TwistingVineFeature extends Feature<NoFeatureConfig>
  • Constructor Details

    • TwistingVineFeature

      public TwistingVineFeature(com.mojang.serialization.Codec<NoFeatureConfig> p_i232000_1_)
  • Method Details

    • place

      public boolean place(ISeedReader p_241855_1_, ChunkGenerator p_241855_2_, Random p_241855_3_, BlockPos p_241855_4_, NoFeatureConfig p_241855_5_)
      Specified by:
      place in class Feature<NoFeatureConfig>
    • place

      public static boolean place(IWorld p_236423_0_, Random p_236423_1_, BlockPos p_236423_2_, int p_236423_3_, int p_236423_4_, int p_236423_5_)
    • placeTwistingVines

      private static void placeTwistingVines(IWorld p_236424_0_, Random p_236424_1_, BlockPos p_236424_2_, int p_236424_3_, int p_236424_4_, int p_236424_5_)
    • findFirstAirBlockAboveGround

      private static boolean findFirstAirBlockAboveGround(IWorld p_236420_0_, BlockPos.Mutable p_236420_1_)
    • placeWeepingVinesColumn

      public static void placeWeepingVinesColumn(IWorld p_236422_0_, Random p_236422_1_, BlockPos.Mutable p_236422_2_, int p_236422_3_, int p_236422_4_, int p_236422_5_)
    • isInvalidPlacementLocation

      private static boolean isInvalidPlacementLocation(IWorld p_236421_0_, BlockPos p_236421_1_)