Class PlacedFeatures

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

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

    • MOTION_BLOCKING_HEIGHTMAP

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

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

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

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

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

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

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

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

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

    • PlacedFeatures

      public PlacedFeatures()
  • Method Details

    • bootstrap

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

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

      public static void register(Registerable<PlacedFeature> featureRegisterable, RegistryKey<PlacedFeature> key, RegistryEntry<ConfiguredFeature<?,?>> feature, List<PlacementModifier> modifiers)
      Mappings:
      Namespace Name Mixin selector
      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
      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
      official a Lsx;a(Lrc;Lale;Lji;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
      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
      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
      official a Lsx;a(Lrc;Lale;Lji;[Lehs;)V
    • createCountExtraModifier

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

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

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

      public static RegistryEntry<PlacedFeature> createEntry(RegistryEntry<ConfiguredFeature<?,?>> feature, PlacementModifier[] modifiers)
      Mappings:
      Namespace Name Mixin selector
      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;
      intermediary method_40369 Lnet/minecraft/class_6817;method_40369(Lnet/minecraft/class_6880;[Lnet/minecraft/class_6797;)Lnet/minecraft/class_6880;
      official a Lsx;a(Lji;[Lehs;)Lji;
    • createEntry

      public static <FC extends FeatureConfig, F extends Feature<FC>> RegistryEntry<PlacedFeature> createEntry(F feature, FC featureConfig, PlacementModifier[] modifiers)
      Mappings:
      Namespace Name Mixin selector
      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;
      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;
      official a Lsx;a(Leaz;Ledd;[Lehs;)Lji;
    • createEntry

      public static <FC extends FeatureConfig, F extends Feature<FC>> RegistryEntry<PlacedFeature> createEntry(F feature, FC featureConfig)
      Mappings:
      Namespace Name Mixin selector
      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;
      intermediary method_40366 Lnet/minecraft/class_6817;method_40366(Lnet/minecraft/class_3031;Lnet/minecraft/class_3037;)Lnet/minecraft/class_6880;
      official a Lsx;a(Leaz;Ledd;)Lji;
    • createEntry

      public static <FC extends FeatureConfig, F extends Feature<FC>> RegistryEntry<PlacedFeature> createEntry(F feature, FC featureConfig, BlockPredicate predicate)
      Mappings:
      Namespace Name Mixin selector
      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;
      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;
      official a Lsx;a(Leaz;Ledd;Ldzc;)Lji;