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 cvr
intermediary net/minecraft/class_5154
named net/minecraft/world/gen/feature/DeltaFeature
  • Field Details

    • BLOCKS

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

      private static final Direction[] DIRECTIONS
      Mappings:
      Namespace Name Mixin selector
      official b Lcvr;b:[Lgm;
      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 Lcvr;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> Lcwb;<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 Lcwb;a(Lcwd;)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 Lcvr;a(Lbzx;Lgh;Lcyr;)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