Class HeightRangePlacementModifier
java.lang.Object
net.minecraft.world.gen.placementmodifier.PlacementModifier
net.minecraft.world.gen.placementmodifier.HeightRangePlacementModifier
- Mappings:
Namespace Name official duh
intermediary net/minecraft/class_6795
named net/minecraft/world/gen/placementmodifier/HeightRangePlacementModifier
-
Field Summary
Modifier and TypeFieldDescriptionprivate final HeightProvider
static final com.mojang.serialization.Codec<HeightRangePlacementModifier>
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 HeightRangePlacementModifier
of
(HeightProvider height) static HeightRangePlacementModifier
static HeightRangePlacementModifier
-
Field Details
-
MODIFIER_CODEC
- Mappings:
Namespace Name Mixin selector official a
Lduh;a:Lcom/mojang/serialization/Codec;
intermediary field_35725
Lnet/minecraft/class_6795;field_35725:Lcom/mojang/serialization/Codec;
named MODIFIER_CODEC
Lnet/minecraft/world/gen/placementmodifier/HeightRangePlacementModifier;MODIFIER_CODEC:Lcom/mojang/serialization/Codec;
-
height
- Mappings:
Namespace Name Mixin selector official c
Lduh;c:Ldtp;
intermediary field_35726
Lnet/minecraft/class_6795;field_35726:Lnet/minecraft/class_6122;
named height
Lnet/minecraft/world/gen/placementmodifier/HeightRangePlacementModifier;height:Lnet/minecraft/world/gen/heightprovider/HeightProvider;
-
-
Constructor Details
-
HeightRangePlacementModifier
- Mappings:
Namespace Name Mixin selector official <init>
Lduh;<init>(Ldtp;)V
intermediary <init>
Lnet/minecraft/class_6795;<init>(Lnet/minecraft/class_6122;)V
named <init>
Lnet/minecraft/world/gen/placementmodifier/HeightRangePlacementModifier;<init>(Lnet/minecraft/world/gen/heightprovider/HeightProvider;)V
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector official a
Lduh;a(Ldtp;)Lduh;
intermediary method_39635
Lnet/minecraft/class_6795;method_39635(Lnet/minecraft/class_6122;)Lnet/minecraft/class_6795;
named of
Lnet/minecraft/world/gen/placementmodifier/HeightRangePlacementModifier;of(Lnet/minecraft/world/gen/heightprovider/HeightProvider;)Lnet/minecraft/world/gen/placementmodifier/HeightRangePlacementModifier;
-
uniform
- Mappings:
Namespace Name Mixin selector official a
Lduh;a(Ldlm;Ldlm;)Lduh;
intermediary method_39634
Lnet/minecraft/class_6795;method_39634(Lnet/minecraft/class_5843;Lnet/minecraft/class_5843;)Lnet/minecraft/class_6795;
named uniform
Lnet/minecraft/world/gen/placementmodifier/HeightRangePlacementModifier;uniform(Lnet/minecraft/world/gen/YOffset;Lnet/minecraft/world/gen/YOffset;)Lnet/minecraft/world/gen/placementmodifier/HeightRangePlacementModifier;
-
trapezoid
- Mappings:
Namespace Name Mixin selector official b
Lduh;b(Ldlm;Ldlm;)Lduh;
intermediary method_39637
Lnet/minecraft/class_6795;method_39637(Lnet/minecraft/class_5843;Lnet/minecraft/class_5843;)Lnet/minecraft/class_6795;
named trapezoid
Lnet/minecraft/world/gen/placementmodifier/HeightRangePlacementModifier;trapezoid(Lnet/minecraft/world/gen/YOffset;Lnet/minecraft/world/gen/YOffset;)Lnet/minecraft/world/gen/placementmodifier/HeightRangePlacementModifier;
-
getPositions
Applies this placement modifier to the given position.- Specified by:
getPositions
in classPlacementModifier
- Mappings:
Namespace Name Mixin selector official a_
Ldup;a_(Ldun;Lasc;Lgw;)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
Ldup;b()Lduq;
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;
-