Package net.minecraft.world.gen.feature
Class PlacedFeatures
java.lang.Object
net.minecraft.world.gen.feature.PlacedFeatures
- Mappings:
Namespace Name official nt
intermediary net/minecraft/class_6817
named net/minecraft/world/gen/feature/PlacedFeatures
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PlacementModifier
static final PlacementModifier
static final PlacementModifier
static final PlacementModifier
static final PlacementModifier
static final PlacementModifier
static final PlacementModifier
static final PlacementModifier
static final PlacementModifier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PlacementModifier
createCountExtraModifier
(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 BlockFilterPlacementModifier
wouldSurvive
(Block block)
-
Field Details
-
MOTION_BLOCKING_HEIGHTMAP
- Mappings:
Namespace Name Mixin selector official a
Lnt;a:Ldkj;
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
- Mappings:
Namespace Name Mixin selector official b
Lnt;b:Ldkj;
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
- Mappings:
Namespace Name Mixin selector official c
Lnt;c:Ldkj;
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
- Mappings:
Namespace Name Mixin selector official d
Lnt;d:Ldkj;
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
- Mappings:
Namespace Name Mixin selector official e
Lnt;e:Ldkj;
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
- Mappings:
Namespace Name Mixin selector official f
Lnt;f:Ldkj;
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
- Mappings:
Namespace Name Mixin selector official g
Lnt;g:Ldkj;
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
- Mappings:
Namespace Name Mixin selector official h
Lnt;h:Ldkj;
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
- Mappings:
Namespace Name Mixin selector official i
Lnt;i:Ldkj;
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;[Ldkj;)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)Ldkj;
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
- Mappings:
Namespace Name Mixin selector official a
Lnt;a()Ldki;
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
- Mappings:
Namespace Name Mixin selector official a
Lnt;a(Lcjt;)Ldjv;
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;[Ldkj;)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(Lddt;Ldfx;[Ldkj;)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(Lddt;Ldfx;)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(Lddt;Ldfx;Ldbw;)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;
-