Class GlowLichenFeature

java.lang.Object
net.minecraft.world.gen.feature.Feature<GlowLichenFeatureConfig>
net.minecraft.world.gen.feature.GlowLichenFeature

public class GlowLichenFeature extends Feature<GlowLichenFeatureConfig>
Mappings:
Namespace Name
official cws
intermediary net/minecraft/class_5779
named net/minecraft/world/gen/feature/GlowLichenFeature
  • Constructor Details

    • GlowLichenFeature

      public GlowLichenFeature(com.mojang.serialization.Codec<GlowLichenFeatureConfig> configCodec)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcwl;<init>(Lcom/mojang/serialization/Codec;)V
      intermediary <init> Lnet/minecraft/class_3031;<init>(Lcom/mojang/serialization/Codec;)V
      named <init> Lnet/minecraft/world/gen/feature/Feature;<init>(Lcom/mojang/serialization/Codec;)V
  • Method Details

    • generate

      public boolean generate(FeatureContext<GlowLichenFeatureConfig> context)
      Specified by:
      generate in class Feature<GlowLichenFeatureConfig>
      Mappings:
      Namespace Name Mixin selector
      official a Lcwl;a(Lcwn;)Z
      intermediary method_13151 Lnet/minecraft/class_3031;method_13151(Lnet/minecraft/class_5821;)Z
      named generate Lnet/minecraft/world/gen/feature/Feature;generate(Lnet/minecraft/world/gen/feature/util/FeatureContext;)Z
    • generate

      public static boolean generate(StructureWorldAccess world, BlockPos pos, BlockState state, GlowLichenFeatureConfig config, Random random, List<Direction> directions)
      Mappings:
      Namespace Name Mixin selector
      official a Lcws;a(Lcav;Lgh;Lcoc;Lczh;Ljava/util/Random;Ljava/util/List;)Z
      intermediary method_33391 Lnet/minecraft/class_5779;method_33391(Lnet/minecraft/class_5281;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_5780;Ljava/util/Random;Ljava/util/List;)Z
      named generate Lnet/minecraft/world/gen/feature/GlowLichenFeature;generate(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/gen/feature/GlowLichenFeatureConfig;Ljava/util/Random;Ljava/util/List;)Z
    • shuffleDirections

      public static List<Direction> shuffleDirections(GlowLichenFeatureConfig config, Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lcws;a(Lczh;Ljava/util/Random;)Ljava/util/List;
      intermediary method_33392 Lnet/minecraft/class_5779;method_33392(Lnet/minecraft/class_5780;Ljava/util/Random;)Ljava/util/List;
      named shuffleDirections Lnet/minecraft/world/gen/feature/GlowLichenFeature;shuffleDirections(Lnet/minecraft/world/gen/feature/GlowLichenFeatureConfig;Ljava/util/Random;)Ljava/util/List;
    • shuffleDirections

      public static List<Direction> shuffleDirections(GlowLichenFeatureConfig config, Random random, Direction excluded)
      Mappings:
      Namespace Name Mixin selector
      official a Lcws;a(Lczh;Ljava/util/Random;Lgm;)Ljava/util/List;
      intermediary method_33393 Lnet/minecraft/class_5779;method_33393(Lnet/minecraft/class_5780;Ljava/util/Random;Lnet/minecraft/class_2350;)Ljava/util/List;
      named shuffleDirections Lnet/minecraft/world/gen/feature/GlowLichenFeature;shuffleDirections(Lnet/minecraft/world/gen/feature/GlowLichenFeatureConfig;Ljava/util/Random;Lnet/minecraft/util/math/Direction;)Ljava/util/List;
    • isAirOrWater

      private static boolean isAirOrWater(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official c Lcws;c(Lcoc;)Z
      intermediary method_33395 Lnet/minecraft/class_5779;method_33395(Lnet/minecraft/class_2680;)Z
      named isAirOrWater Lnet/minecraft/world/gen/feature/GlowLichenFeature;isAirOrWater(Lnet/minecraft/block/BlockState;)Z