Class PlacedFeatures

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

public class PlacedFeatures extends Object
Mappings:
Namespace Name
official nt
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 Lnt;a:Ldjm;
      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 Lnt;b:Ldjm;
      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 Lnt;c:Ldjm;
      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 Lnt;d:Ldjm;
      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 Lnt;e:Ldjm;
      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 Lnt;f:Ldjm;
      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 Lnt;g:Ldjm;
      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 Lnt;h:Ldjm;
      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 Lnt;i:Ldjm;
      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

    • getDefaultPlacedFeature

      public static RegistryEntry<PlacedFeature> getDefaultPlacedFeature(Registry<PlacedFeature> registry)
      Mappings:
      Namespace Name Mixin selector
      official a Lnt;a(Lhm;)Lhc;
      intermediary method_39735 Lnet/minecraft/class_6817;method_39735(Lnet/minecraft/class_2378;)Lnet/minecraft/class_6880;
      named getDefaultPlacedFeature Lnet/minecraft/world/gen/feature/PlacedFeatures;getDefaultPlacedFeature(Lnet/minecraft/util/registry/Registry;)Lnet/minecraft/util/registry/RegistryEntry;
    • register

      public static RegistryEntry<PlacedFeature> register(String id, RegistryEntry<? extends ConfiguredFeature<?,?>> registryEntry, List<PlacementModifier> modifiers)
      Mappings:
      Namespace Name Mixin selector
      official a Lnt;a(Ljava/lang/String;Lhc;Ljava/util/List;)Lhc;
      intermediary method_39737 Lnet/minecraft/class_6817;method_39737(Ljava/lang/String;Lnet/minecraft/class_6880;Ljava/util/List;)Lnet/minecraft/class_6880;
      named register Lnet/minecraft/world/gen/feature/PlacedFeatures;register(Ljava/lang/String;Lnet/minecraft/util/registry/RegistryEntry;Ljava/util/List;)Lnet/minecraft/util/registry/RegistryEntry;
    • register

      public static RegistryEntry<PlacedFeature> register(String id, RegistryEntry<? extends ConfiguredFeature<?,?>> registryEntry, PlacementModifier[] modifiers)
      Mappings:
      Namespace Name Mixin selector
      official a Lnt;a(Ljava/lang/String;Lhc;[Ldjm;)Lhc;
      intermediary method_40370 Lnet/minecraft/class_6817;method_40370(Ljava/lang/String;Lnet/minecraft/class_6880;[Lnet/minecraft/class_6797;)Lnet/minecraft/class_6880;
      named register Lnet/minecraft/world/gen/feature/PlacedFeatures;register(Ljava/lang/String;Lnet/minecraft/util/registry/RegistryEntry;[Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;)Lnet/minecraft/util/registry/RegistryEntry;
    • createCountExtraModifier

      public static PlacementModifier createCountExtraModifier(int count, float extraChance, int extraCount)
      Mappings:
      Namespace Name Mixin selector
      official a Lnt;a(IFI)Ldjm;
      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 Lnt;a()Ldjl;
      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 Lnt;a(Lciw;)Ldiy;
      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<? extends ConfiguredFeature<?,?>> registryEntry, PlacementModifier[] modifiers)
      Mappings:
      Namespace Name Mixin selector
      official a Lnt;a(Lhc;[Ldjm;)Lhc;
      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/util/registry/RegistryEntry;[Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;)Lnet/minecraft/util/registry/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 Lnt;a(Ldcw;Ldfa;[Ldjm;)Lhc;
      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/util/registry/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 Lnt;a(Ldcw;Ldfa;)Lhc;
      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/util/registry/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 Lnt;a(Ldcw;Ldfa;Ldaz;)Lhc;
      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/util/registry/RegistryEntry;