Class PlacedFeatures

java.lang.Object
net.minecraft.world.gen.feature.PlacedFeatures

public class PlacedFeatures extends Object
Mappings:
Namespace Name
official pb
intermediary net/minecraft/class_6817
named net/minecraft/world/gen/feature/PlacedFeatures
  • Field Details

    • MOTION_BLOCKING_HEIGHTMAP

      public static final PlacementModifier MOTION_BLOCKING_HEIGHTMAP
      Mappings:
      Namespace Name Mixin selector
      official a Lpb;a:Ldqz;
      intermediary field_36078 Lnet/minecraft/class_6817;field_36078:Lnet/minecraft/class_6797;
      named MOTION_BLOCKING_HEIGHTMAP Lnet/minecraft/world/gen/feature/PlacedFeatures;MOTION_BLOCKING_HEIGHTMAP:Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;
    • OCEAN_FLOOR_WG_HEIGHTMAP

      public static final PlacementModifier OCEAN_FLOOR_WG_HEIGHTMAP
      Mappings:
      Namespace Name Mixin selector
      official b Lpb;b:Ldqz;
      intermediary field_36079 Lnet/minecraft/class_6817;field_36079:Lnet/minecraft/class_6797;
      named OCEAN_FLOOR_WG_HEIGHTMAP Lnet/minecraft/world/gen/feature/PlacedFeatures;OCEAN_FLOOR_WG_HEIGHTMAP:Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;
    • WORLD_SURFACE_WG_HEIGHTMAP

      public static final PlacementModifier WORLD_SURFACE_WG_HEIGHTMAP
      Mappings:
      Namespace Name Mixin selector
      official c Lpb;c:Ldqz;
      intermediary field_36080 Lnet/minecraft/class_6817;field_36080:Lnet/minecraft/class_6797;
      named WORLD_SURFACE_WG_HEIGHTMAP Lnet/minecraft/world/gen/feature/PlacedFeatures;WORLD_SURFACE_WG_HEIGHTMAP:Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;
    • OCEAN_FLOOR_HEIGHTMAP

      public static final PlacementModifier OCEAN_FLOOR_HEIGHTMAP
      Mappings:
      Namespace Name Mixin selector
      official d Lpb;d:Ldqz;
      intermediary field_36081 Lnet/minecraft/class_6817;field_36081:Lnet/minecraft/class_6797;
      named OCEAN_FLOOR_HEIGHTMAP Lnet/minecraft/world/gen/feature/PlacedFeatures;OCEAN_FLOOR_HEIGHTMAP:Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;
    • BOTTOM_TO_TOP_RANGE

      public static final PlacementModifier BOTTOM_TO_TOP_RANGE
      Mappings:
      Namespace Name Mixin selector
      official e Lpb;e:Ldqz;
      intermediary field_36082 Lnet/minecraft/class_6817;field_36082:Lnet/minecraft/class_6797;
      named BOTTOM_TO_TOP_RANGE Lnet/minecraft/world/gen/feature/PlacedFeatures;BOTTOM_TO_TOP_RANGE:Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;
    • TEN_ABOVE_AND_BELOW_RANGE

      public static final PlacementModifier TEN_ABOVE_AND_BELOW_RANGE
      Mappings:
      Namespace Name Mixin selector
      official f Lpb;f:Ldqz;
      intermediary field_36083 Lnet/minecraft/class_6817;field_36083:Lnet/minecraft/class_6797;
      named TEN_ABOVE_AND_BELOW_RANGE Lnet/minecraft/world/gen/feature/PlacedFeatures;TEN_ABOVE_AND_BELOW_RANGE:Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;
    • EIGHT_ABOVE_AND_BELOW_RANGE

      public static final PlacementModifier EIGHT_ABOVE_AND_BELOW_RANGE
      Mappings:
      Namespace Name Mixin selector
      official g Lpb;g:Ldqz;
      intermediary field_36084 Lnet/minecraft/class_6817;field_36084:Lnet/minecraft/class_6797;
      named EIGHT_ABOVE_AND_BELOW_RANGE Lnet/minecraft/world/gen/feature/PlacedFeatures;EIGHT_ABOVE_AND_BELOW_RANGE:Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;
    • FOUR_ABOVE_AND_BELOW_RANGE

      public static final PlacementModifier FOUR_ABOVE_AND_BELOW_RANGE
      Mappings:
      Namespace Name Mixin selector
      official h Lpb;h:Ldqz;
      intermediary field_36085 Lnet/minecraft/class_6817;field_36085:Lnet/minecraft/class_6797;
      named FOUR_ABOVE_AND_BELOW_RANGE Lnet/minecraft/world/gen/feature/PlacedFeatures;FOUR_ABOVE_AND_BELOW_RANGE:Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;
    • BOTTOM_TO_120_RANGE

      public static final PlacementModifier BOTTOM_TO_120_RANGE
      Mappings:
      Namespace Name Mixin selector
      official i Lpb;i:Ldqz;
      intermediary field_36086 Lnet/minecraft/class_6817;field_36086:Lnet/minecraft/class_6797;
      named BOTTOM_TO_120_RANGE Lnet/minecraft/world/gen/feature/PlacedFeatures;BOTTOM_TO_120_RANGE:Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;
  • Constructor Details

    • PlacedFeatures

      public PlacedFeatures()
  • Method Details

    • bootstrap

      public static void bootstrap(Registerable<PlacedFeature> featureRegisterable)
      Mappings:
      Namespace Name Mixin selector
      official a Lpb;a(Lnm;)V
      intermediary method_39735 Lnet/minecraft/class_6817;method_39735(Lnet/minecraft/class_7891;)V
      named bootstrap Lnet/minecraft/world/gen/feature/PlacedFeatures;bootstrap(Lnet/minecraft/registry/Registerable;)V
    • of

      public static RegistryKey<PlacedFeature> of(String id)
      Mappings:
      Namespace Name Mixin selector
      official a Lpb;a(Ljava/lang/String;)Lacp;
      intermediary method_46865 Lnet/minecraft/class_6817;method_46865(Ljava/lang/String;)Lnet/minecraft/class_5321;
      named of Lnet/minecraft/world/gen/feature/PlacedFeatures;of(Ljava/lang/String;)Lnet/minecraft/registry/RegistryKey;
    • register

      public static void register(Registerable<PlacedFeature> featureRegisterable, RegistryKey<PlacedFeature> key, RegistryEntry<ConfiguredFeature<?,?>> feature, List<PlacementModifier> modifiers)
      Mappings:
      Namespace Name Mixin selector
      official a Lpb;a(Lnm;Lacp;Lhe;Ljava/util/List;)V
      intermediary method_39737 Lnet/minecraft/class_6817;method_39737(Lnet/minecraft/class_7891;Lnet/minecraft/class_5321;Lnet/minecraft/class_6880;Ljava/util/List;)V
      named register Lnet/minecraft/world/gen/feature/PlacedFeatures;register(Lnet/minecraft/registry/Registerable;Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/registry/entry/RegistryEntry;Ljava/util/List;)V
    • register

      public static void register(Registerable<PlacedFeature> featureRegisterable, RegistryKey<PlacedFeature> key, RegistryEntry<ConfiguredFeature<?,?>> feature, PlacementModifier[] modifiers)
      Mappings:
      Namespace Name Mixin selector
      official a Lpb;a(Lnm;Lacp;Lhe;[Ldqz;)V
      intermediary method_40370 Lnet/minecraft/class_6817;method_40370(Lnet/minecraft/class_7891;Lnet/minecraft/class_5321;Lnet/minecraft/class_6880;[Lnet/minecraft/class_6797;)V
      named register Lnet/minecraft/world/gen/feature/PlacedFeatures;register(Lnet/minecraft/registry/Registerable;Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/registry/entry/RegistryEntry;[Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;)V
    • createCountExtraModifier

      public static PlacementModifier createCountExtraModifier(int count, float extraChance, int extraCount)
      Mappings:
      Namespace Name Mixin selector
      official a Lpb;a(IFI)Ldqz;
      intermediary method_39736 Lnet/minecraft/class_6817;method_39736(IFI)Lnet/minecraft/class_6797;
      named createCountExtraModifier Lnet/minecraft/world/gen/feature/PlacedFeatures;createCountExtraModifier(IFI)Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;
    • isAir

      public static AbstractConditionalPlacementModifier isAir()
      Mappings:
      Namespace Name Mixin selector
      official a Lpb;a()Ldqy;
      intermediary method_40371 Lnet/minecraft/class_6817;method_40371()Lnet/minecraft/class_6661;
      named isAir Lnet/minecraft/world/gen/feature/PlacedFeatures;isAir()Lnet/minecraft/world/gen/placementmodifier/AbstractConditionalPlacementModifier;
    • wouldSurvive

      public static BlockFilterPlacementModifier wouldSurvive(Block block)
      Mappings:
      Namespace Name Mixin selector
      official a Lpb;a(Lcpg;)Ldql;
      intermediary method_40365 Lnet/minecraft/class_6817;method_40365(Lnet/minecraft/class_2248;)Lnet/minecraft/class_6658;
      named wouldSurvive Lnet/minecraft/world/gen/feature/PlacedFeatures;wouldSurvive(Lnet/minecraft/block/Block;)Lnet/minecraft/world/gen/placementmodifier/BlockFilterPlacementModifier;
    • createEntry

      public static RegistryEntry<PlacedFeature> createEntry(RegistryEntry<ConfiguredFeature<?,?>> feature, PlacementModifier[] modifiers)
      Mappings:
      Namespace Name Mixin selector
      official a Lpb;a(Lhe;[Ldqz;)Lhe;
      intermediary method_40369 Lnet/minecraft/class_6817;method_40369(Lnet/minecraft/class_6880;[Lnet/minecraft/class_6797;)Lnet/minecraft/class_6880;
      named createEntry Lnet/minecraft/world/gen/feature/PlacedFeatures;createEntry(Lnet/minecraft/registry/entry/RegistryEntry;[Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;)Lnet/minecraft/registry/entry/RegistryEntry;
    • createEntry

      public static <FC extends FeatureConfig, F extends Feature<FC>> RegistryEntry<PlacedFeature> createEntry(F feature, FC featureConfig, PlacementModifier[] modifiers)
      Mappings:
      Namespace Name Mixin selector
      official a Lpb;a(Ldkg;Ldmk;[Ldqz;)Lhe;
      intermediary method_40368 Lnet/minecraft/class_6817;method_40368(Lnet/minecraft/class_3031;Lnet/minecraft/class_3037;[Lnet/minecraft/class_6797;)Lnet/minecraft/class_6880;
      named createEntry Lnet/minecraft/world/gen/feature/PlacedFeatures;createEntry(Lnet/minecraft/world/gen/feature/Feature;Lnet/minecraft/world/gen/feature/FeatureConfig;[Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;)Lnet/minecraft/registry/entry/RegistryEntry;
    • createEntry

      public static <FC extends FeatureConfig, F extends Feature<FC>> RegistryEntry<PlacedFeature> createEntry(F feature, FC featureConfig)
      Mappings:
      Namespace Name Mixin selector
      official a Lpb;a(Ldkg;Ldmk;)Lhe;
      intermediary method_40366 Lnet/minecraft/class_6817;method_40366(Lnet/minecraft/class_3031;Lnet/minecraft/class_3037;)Lnet/minecraft/class_6880;
      named createEntry Lnet/minecraft/world/gen/feature/PlacedFeatures;createEntry(Lnet/minecraft/world/gen/feature/Feature;Lnet/minecraft/world/gen/feature/FeatureConfig;)Lnet/minecraft/registry/entry/RegistryEntry;
    • createEntry

      public static <FC extends FeatureConfig, F extends Feature<FC>> RegistryEntry<PlacedFeature> createEntry(F feature, FC featureConfig, BlockPredicate predicate)
      Mappings:
      Namespace Name Mixin selector
      official a Lpb;a(Ldkg;Ldmk;Ldij;)Lhe;
      intermediary method_40367 Lnet/minecraft/class_6817;method_40367(Lnet/minecraft/class_3031;Lnet/minecraft/class_3037;Lnet/minecraft/class_6646;)Lnet/minecraft/class_6880;
      named createEntry Lnet/minecraft/world/gen/feature/PlacedFeatures;createEntry(Lnet/minecraft/world/gen/feature/Feature;Lnet/minecraft/world/gen/feature/FeatureConfig;Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;)Lnet/minecraft/registry/entry/RegistryEntry;