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

    • LOGGER

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

      private static final EntityType<?>[] MOB_SPAWNER_ENTITIES
      Mappings:
      Namespace Name Mixin selector
      official b Ldek;b:[Lbbr;
      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 Ldek;c:Lcvo;
      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> Lddt;<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 Lddt;a(Lddv;)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 Ldek;a(Lamn;)Lbbr;
      intermediary method_13547 Lnet/minecraft/class_3103;method_13547(Lnet/minecraft/class_5819;)Lnet/minecraft/class_1299;
      named getMobSpawnerEntity Lnet/minecraft/world/gen/feature/DungeonFeature;getMobSpawnerEntity(Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/entity/EntityType;