Class HeightmapPlacementModifier
java.lang.Object
net.minecraft.world.gen.placementmodifier.PlacementModifier
net.minecraft.world.gen.placementmodifier.HeightmapPlacementModifier
- Mappings:
Namespace Name official dje
intermediary net/minecraft/class_5925
named net/minecraft/world/gen/placementmodifier/HeightmapPlacementModifier
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Heightmap.Type
static final com.mojang.serialization.Codec<HeightmapPlacementModifier>
Fields inherited from class net.minecraft.world.gen.placementmodifier.PlacementModifier
CODEC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPositions
(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.getType()
static HeightmapPlacementModifier
of
(Heightmap.Type heightmap)
-
Field Details
-
MODIFIER_CODEC
- Mappings:
Namespace Name Mixin selector official a
Ldje;a:Lcom/mojang/serialization/Codec;
intermediary field_29265
Lnet/minecraft/class_5925;field_29265:Lcom/mojang/serialization/Codec;
named MODIFIER_CODEC
Lnet/minecraft/world/gen/placementmodifier/HeightmapPlacementModifier;MODIFIER_CODEC:Lcom/mojang/serialization/Codec;
-
heightmap
- Mappings:
Namespace Name Mixin selector official c
Ldje;c:Lczt$a;
intermediary field_29266
Lnet/minecraft/class_5925;field_29266:Lnet/minecraft/class_2902$class_2903;
named heightmap
Lnet/minecraft/world/gen/placementmodifier/HeightmapPlacementModifier;heightmap:Lnet/minecraft/world/Heightmap$Type;
-
-
Constructor Details
-
HeightmapPlacementModifier
- Mappings:
Namespace Name Mixin selector official <init>
Ldje;<init>(Lczt$a;)V
intermediary <init>
Lnet/minecraft/class_5925;<init>(Lnet/minecraft/class_2902$class_2903;)V
named <init>
Lnet/minecraft/world/gen/placementmodifier/HeightmapPlacementModifier;<init>(Lnet/minecraft/world/Heightmap$Type;)V
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector official a
Ldje;a(Lczt$a;)Ldje;
intermediary method_39638
Lnet/minecraft/class_5925;method_39638(Lnet/minecraft/class_2902$class_2903;)Lnet/minecraft/class_5925;
named of
Lnet/minecraft/world/gen/placementmodifier/HeightmapPlacementModifier;of(Lnet/minecraft/world/Heightmap$Type;)Lnet/minecraft/world/gen/placementmodifier/HeightmapPlacementModifier;
-
getPositions
Applies this placement modifier to the given position.- Specified by:
getPositions
in classPlacementModifier
- Mappings:
Namespace Name Mixin selector official a_
Ldjl;a_(Ldjj;Lalu;Lgt;)Ljava/util/stream/Stream;
intermediary method_14452
Lnet/minecraft/class_6797;method_14452(Lnet/minecraft/class_5444;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;)Ljava/util/stream/Stream;
named getPositions
Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;getPositions(Lnet/minecraft/world/gen/feature/FeaturePlacementContext;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;)Ljava/util/stream/Stream;
-
getType
- Specified by:
getType
in classPlacementModifier
- Mappings:
Namespace Name Mixin selector official b
Ldjl;b()Ldjm;
intermediary method_39615
Lnet/minecraft/class_6797;method_39615()Lnet/minecraft/class_6798;
named getType
Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;getType()Lnet/minecraft/world/gen/placementmodifier/PlacementModifierType;
-