Class DiskFeature

java.lang.Object
net.minecraft.world.gen.feature.Feature<DiskFeatureConfig>
net.minecraft.world.gen.feature.DiskFeature

public class DiskFeature extends Feature<DiskFeatureConfig>
Mappings:
Namespace Name
official dcq
intermediary net/minecraft/class_3011
named net/minecraft/world/gen/feature/DiskFeature
  • Constructor Details

    • DiskFeature

      public DiskFeature(com.mojang.serialization.Codec<DiskFeatureConfig> configCodec)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldcw;<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<DiskFeatureConfig> context)
      Specified by:
      generate in class Feature<DiskFeatureConfig>
      Mappings:
      Namespace Name Mixin selector
      official a Ldcw;a(Ldcy;)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
    • placeBlock

      protected boolean placeBlock(DiskFeatureConfig config, StructureWorldAccess world, Random random, int topY, int bottomY, BlockPos.Mutable pos)
      Mappings:
      Namespace Name Mixin selector
      official a Ldcq;a(Ldex;Lcgs;Lalu;IILgt$a;)Z
      intermediary method_43160 Lnet/minecraft/class_3011;method_43160(Lnet/minecraft/class_6577;Lnet/minecraft/class_5281;Lnet/minecraft/class_5819;IILnet/minecraft/class_2338$class_2339;)Z
      named placeBlock Lnet/minecraft/world/gen/feature/DiskFeature;placeBlock(Lnet/minecraft/world/gen/feature/DiskFeatureConfig;Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/random/Random;IILnet/minecraft/util/math/BlockPos$Mutable;)Z