Package net.minecraft.world.gen.feature
Class PlacedFeatures
java.lang.Object
net.minecraft.world.gen.feature.PlacedFeatures
- Mappings:
Namespace Name official ntintermediary net/minecraft/class_6817named net/minecraft/world/gen/feature/PlacedFeatures
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PlacementModifierstatic final PlacementModifierstatic final PlacementModifierstatic final PlacementModifierstatic final PlacementModifierstatic final PlacementModifierstatic final PlacementModifierstatic final PlacementModifierstatic final PlacementModifier -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PlacementModifiercreateCountExtraModifier(int count, float extraChance, int extraCount) static <FC extends FeatureConfig,F extends Feature<FC>>
RegistryEntry<PlacedFeature>createEntry(F feature, FC featureConfig) static <FC extends FeatureConfig,F extends Feature<FC>>
RegistryEntry<PlacedFeature>createEntry(F feature, FC featureConfig, BlockPredicate predicate) static <FC extends FeatureConfig,F extends Feature<FC>>
RegistryEntry<PlacedFeature>createEntry(F feature, FC featureConfig, PlacementModifier[] modifiers) static RegistryEntry<PlacedFeature>createEntry(RegistryEntry<? extends ConfiguredFeature<?, ?>> registryEntry, PlacementModifier[] modifiers) static RegistryEntry<PlacedFeature>getDefaultPlacedFeature(Registry<PlacedFeature> registry) isAir()static RegistryEntry<PlacedFeature>register(String id, RegistryEntry<? extends ConfiguredFeature<?, ?>> registryEntry, List<PlacementModifier> modifiers) static RegistryEntry<PlacedFeature>register(String id, RegistryEntry<? extends ConfiguredFeature<?, ?>> registryEntry, PlacementModifier[] modifiers) static BlockFilterPlacementModifierwouldSurvive(Block block)
-
Field Details
-
MOTION_BLOCKING_HEIGHTMAP
- Mappings:
Namespace Name Mixin selector official aLnt;a:Ldjm;intermediary field_36078Lnet/minecraft/class_6817;field_36078:Lnet/minecraft/class_6797;named MOTION_BLOCKING_HEIGHTMAPLnet/minecraft/world/gen/feature/PlacedFeatures;MOTION_BLOCKING_HEIGHTMAP:Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;
-
OCEAN_FLOOR_WG_HEIGHTMAP
- Mappings:
Namespace Name Mixin selector official bLnt;b:Ldjm;intermediary field_36079Lnet/minecraft/class_6817;field_36079:Lnet/minecraft/class_6797;named OCEAN_FLOOR_WG_HEIGHTMAPLnet/minecraft/world/gen/feature/PlacedFeatures;OCEAN_FLOOR_WG_HEIGHTMAP:Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;
-
WORLD_SURFACE_WG_HEIGHTMAP
- Mappings:
Namespace Name Mixin selector official cLnt;c:Ldjm;intermediary field_36080Lnet/minecraft/class_6817;field_36080:Lnet/minecraft/class_6797;named WORLD_SURFACE_WG_HEIGHTMAPLnet/minecraft/world/gen/feature/PlacedFeatures;WORLD_SURFACE_WG_HEIGHTMAP:Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;
-
OCEAN_FLOOR_HEIGHTMAP
- Mappings:
Namespace Name Mixin selector official dLnt;d:Ldjm;intermediary field_36081Lnet/minecraft/class_6817;field_36081:Lnet/minecraft/class_6797;named OCEAN_FLOOR_HEIGHTMAPLnet/minecraft/world/gen/feature/PlacedFeatures;OCEAN_FLOOR_HEIGHTMAP:Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;
-
BOTTOM_TO_TOP_RANGE
- Mappings:
Namespace Name Mixin selector official eLnt;e:Ldjm;intermediary field_36082Lnet/minecraft/class_6817;field_36082:Lnet/minecraft/class_6797;named BOTTOM_TO_TOP_RANGELnet/minecraft/world/gen/feature/PlacedFeatures;BOTTOM_TO_TOP_RANGE:Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;
-
TEN_ABOVE_AND_BELOW_RANGE
- Mappings:
Namespace Name Mixin selector official fLnt;f:Ldjm;intermediary field_36083Lnet/minecraft/class_6817;field_36083:Lnet/minecraft/class_6797;named TEN_ABOVE_AND_BELOW_RANGELnet/minecraft/world/gen/feature/PlacedFeatures;TEN_ABOVE_AND_BELOW_RANGE:Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;
-
EIGHT_ABOVE_AND_BELOW_RANGE
- Mappings:
Namespace Name Mixin selector official gLnt;g:Ldjm;intermediary field_36084Lnet/minecraft/class_6817;field_36084:Lnet/minecraft/class_6797;named EIGHT_ABOVE_AND_BELOW_RANGELnet/minecraft/world/gen/feature/PlacedFeatures;EIGHT_ABOVE_AND_BELOW_RANGE:Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;
-
FOUR_ABOVE_AND_BELOW_RANGE
- Mappings:
Namespace Name Mixin selector official hLnt;h:Ldjm;intermediary field_36085Lnet/minecraft/class_6817;field_36085:Lnet/minecraft/class_6797;named FOUR_ABOVE_AND_BELOW_RANGELnet/minecraft/world/gen/feature/PlacedFeatures;FOUR_ABOVE_AND_BELOW_RANGE:Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;
-
BOTTOM_TO_120_RANGE
- Mappings:
Namespace Name Mixin selector official iLnt;i:Ldjm;intermediary field_36086Lnet/minecraft/class_6817;field_36086:Lnet/minecraft/class_6797;named BOTTOM_TO_120_RANGELnet/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 aLnt;a(Lhm;)Lhc;intermediary method_39735Lnet/minecraft/class_6817;method_39735(Lnet/minecraft/class_2378;)Lnet/minecraft/class_6880;named getDefaultPlacedFeatureLnet/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 aLnt;a(Ljava/lang/String;Lhc;Ljava/util/List;)Lhc;intermediary method_39737Lnet/minecraft/class_6817;method_39737(Ljava/lang/String;Lnet/minecraft/class_6880;Ljava/util/List;)Lnet/minecraft/class_6880;named registerLnet/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 aLnt;a(Ljava/lang/String;Lhc;[Ldjm;)Lhc;intermediary method_40370Lnet/minecraft/class_6817;method_40370(Ljava/lang/String;Lnet/minecraft/class_6880;[Lnet/minecraft/class_6797;)Lnet/minecraft/class_6880;named registerLnet/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 aLnt;a(IFI)Ldjm;intermediary method_39736Lnet/minecraft/class_6817;method_39736(IFI)Lnet/minecraft/class_6797;named createCountExtraModifierLnet/minecraft/world/gen/feature/PlacedFeatures;createCountExtraModifier(IFI)Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;
-
isAir
- Mappings:
Namespace Name Mixin selector official aLnt;a()Ldjl;intermediary method_40371Lnet/minecraft/class_6817;method_40371()Lnet/minecraft/class_6661;named isAirLnet/minecraft/world/gen/feature/PlacedFeatures;isAir()Lnet/minecraft/world/gen/placementmodifier/AbstractConditionalPlacementModifier;
-
wouldSurvive
- Mappings:
Namespace Name Mixin selector official aLnt;a(Lciw;)Ldiy;intermediary method_40365Lnet/minecraft/class_6817;method_40365(Lnet/minecraft/class_2248;)Lnet/minecraft/class_6658;named wouldSurviveLnet/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 aLnt;a(Lhc;[Ldjm;)Lhc;intermediary method_40369Lnet/minecraft/class_6817;method_40369(Lnet/minecraft/class_6880;[Lnet/minecraft/class_6797;)Lnet/minecraft/class_6880;named createEntryLnet/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 aLnt;a(Ldcw;Ldfa;[Ldjm;)Lhc;intermediary method_40368Lnet/minecraft/class_6817;method_40368(Lnet/minecraft/class_3031;Lnet/minecraft/class_3037;[Lnet/minecraft/class_6797;)Lnet/minecraft/class_6880;named createEntryLnet/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 aLnt;a(Ldcw;Ldfa;)Lhc;intermediary method_40366Lnet/minecraft/class_6817;method_40366(Lnet/minecraft/class_3031;Lnet/minecraft/class_3037;)Lnet/minecraft/class_6880;named createEntryLnet/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 aLnt;a(Ldcw;Ldfa;Ldaz;)Lhc;intermediary method_40367Lnet/minecraft/class_6817;method_40367(Lnet/minecraft/class_3031;Lnet/minecraft/class_3037;Lnet/minecraft/class_6646;)Lnet/minecraft/class_6880;named createEntryLnet/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;
-