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
named net/minecraft/world/gen/feature/DiskFeature
intermediary net/minecraft/class_3011
official ego
  • Constructor Details

    • DiskFeature

      public DiskFeature(com.mojang.serialization.Codec<DiskFeatureConfig> 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> Legv;<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
      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 Legv;a(Legx;)Z
    • placeBlock

      protected boolean placeBlock(DiskFeatureConfig config, StructureWorldAccess world, Random random, int topY, int bottomY, BlockPos.Mutable pos)
      Mappings:
      Namespace Name Mixin selector
      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
      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
      official a Lego;a(Leiw;Ldif;Lbam;IILjh$a;)Z