Class DungeonFeature

java.lang.Object
net.minecraft.world.gen.feature.Feature<DefaultFeatureConfig>
net.minecraft.world.gen.feature.DungeonFeature

public class DungeonFeature extends Feature<DefaultFeatureConfig>
Mappings:
Namespace Name
official cwy
intermediary net/minecraft/class_3103
named net/minecraft/world/gen/feature/DungeonFeature
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lcwy;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_13700 Lnet/minecraft/class_3103;field_13700:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/world/gen/feature/DungeonFeature;LOGGER:Lorg/apache/logging/log4j/Logger;
    • MOB_SPAWNER_ENTITIES

      private static final EntityType<?>[] MOB_SPAWNER_ENTITIES
      Mappings:
      Namespace Name Mixin selector
      official b Lcwy;b:[Lawq;
      intermediary field_13699 Lnet/minecraft/class_3103;field_13699:[Lnet/minecraft/class_1299;
      named MOB_SPAWNER_ENTITIES Lnet/minecraft/world/gen/feature/DungeonFeature;MOB_SPAWNER_ENTITIES:[Lnet/minecraft/entity/EntityType;
    • AIR

      private static final BlockState AIR
      Mappings:
      Namespace Name Mixin selector
      official c Lcwy;c:Lcnv;
      intermediary field_13698 Lnet/minecraft/class_3103;field_13698:Lnet/minecraft/class_2680;
      named AIR Lnet/minecraft/world/gen/feature/DungeonFeature;AIR:Lnet/minecraft/block/BlockState;
  • Constructor Details

    • DungeonFeature

      public DungeonFeature(com.mojang.serialization.Codec<DefaultFeatureConfig> configCodec)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcwb;<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<DefaultFeatureConfig> context)
      Specified by:
      generate in class Feature<DefaultFeatureConfig>
      Mappings:
      Namespace Name Mixin selector
      official a Lcwb;a(Lcwd;)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
    • getMobSpawnerEntity

      private EntityType<?> getMobSpawnerEntity(Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lcwy;a(Ljava/util/Random;)Lawq;
      intermediary method_13547 Lnet/minecraft/class_3103;method_13547(Ljava/util/Random;)Lnet/minecraft/class_1299;
      named getMobSpawnerEntity Lnet/minecraft/world/gen/feature/DungeonFeature;getMobSpawnerEntity(Ljava/util/Random;)Lnet/minecraft/entity/EntityType;