Class DeltaFeature

java.lang.Object
net.minecraft.world.gen.feature.Feature<DeltaFeatureConfig>
net.minecraft.world.gen.feature.DeltaFeature

public class DeltaFeature extends Feature<DeltaFeatureConfig>
Mappings:
Namespace Name
official dkg
intermediary net/minecraft/class_5154
named net/minecraft/world/gen/feature/DeltaFeature
  • Field Details

    • CANNOT_REPLACE_BLOCKS

      private static final ImmutableList<Block> CANNOT_REPLACE_BLOCKS
      Mappings:
      Namespace Name Mixin selector
      official a Ldkg;a:Lcom/google/common/collect/ImmutableList;
      intermediary field_24133 Lnet/minecraft/class_5154;field_24133:Lcom/google/common/collect/ImmutableList;
      named CANNOT_REPLACE_BLOCKS Lnet/minecraft/world/gen/feature/DeltaFeature;CANNOT_REPLACE_BLOCKS:Lcom/google/common/collect/ImmutableList;
    • DIRECTIONS

      private static final Direction[] DIRECTIONS
      Mappings:
      Namespace Name Mixin selector
      official b Ldkg;b:[Lha;
      intermediary field_23883 Lnet/minecraft/class_5154;field_23883:[Lnet/minecraft/class_2350;
      named DIRECTIONS Lnet/minecraft/world/gen/feature/DeltaFeature;DIRECTIONS:[Lnet/minecraft/util/math/Direction;
    • field_31501

      private static final double field_31501
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Ldkg;c:D
      intermediary field_31501 Lnet/minecraft/class_5154;field_31501:D
      named field_31501 Lnet/minecraft/world/gen/feature/DeltaFeature;field_31501:D
  • Constructor Details

    • DeltaFeature

      public DeltaFeature(com.mojang.serialization.Codec<DeltaFeatureConfig> configCodec)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldko;<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<DeltaFeatureConfig> context)
      Specified by:
      generate in class Feature<DeltaFeatureConfig>
      Mappings:
      Namespace Name Mixin selector
      official a Ldko;a(Ldkq;)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
    • canPlace

      private static boolean canPlace(WorldAccess world, BlockPos pos, DeltaFeatureConfig config)
      Mappings:
      Namespace Name Mixin selector
      official a Ldkg;a(Lcmn;Lgu;Ldmo;)Z
      intermediary method_27103 Lnet/minecraft/class_5154;method_27103(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_5158;)Z
      named canPlace Lnet/minecraft/world/gen/feature/DeltaFeature;canPlace(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/gen/feature/DeltaFeatureConfig;)Z