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
named net/minecraft/world/gen/feature/DungeonFeature
intermediary net/minecraft/class_3103
official ecr
  • Field Details

    • LOGGER

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

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

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

    • DungeonFeature

      public DungeonFeature(com.mojang.serialization.Codec<DefaultFeatureConfig> configCodec)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/gen/feature/Feature;<init>(Lcom/mojang/serialization/Codec;)V
      intermediary <init> Lnet/minecraft/class_3031;<init>(Lcom/mojang/serialization/Codec;)V
      official <init> Leca;<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
      named generate Lnet/minecraft/world/gen/feature/Feature;generate(Lnet/minecraft/world/gen/feature/util/FeatureContext;)Z
      intermediary method_13151 Lnet/minecraft/class_3031;method_13151(Lnet/minecraft/class_5821;)Z
      official a Leca;a(Lecc;)Z
    • getMobSpawnerEntity

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