mirror of https://github.com/FabricMC/yarn.git
14 lines
763 B
Plaintext
14 lines
763 B
Plaintext
CLASS net/minecraft/class_6797 net/minecraft/world/gen/placementmodifier/PlacementModifier
|
|
COMMENT A placement modifier is a one-to-many position transformation, which
|
|
COMMENT takes a position with some context and returns zero or more positions.
|
|
COMMENT It's used to determine where to generate configured features.
|
|
COMMENT
|
|
COMMENT @see net.minecraft.world.gen.feature.ConfiguredFeature#withPlacement
|
|
FIELD field_35736 CODEC Lcom/mojang/serialization/Codec;
|
|
METHOD method_14452 getPositions (Lnet/minecraft/class_5444;Ljava/util/Random;Lnet/minecraft/class_2338;)Ljava/util/stream/Stream;
|
|
COMMENT Applies this placement modifier to the given position.
|
|
ARG 1 context
|
|
ARG 2 random
|
|
ARG 3 pos
|
|
METHOD method_39615 getType ()Lnet/minecraft/class_6798;
|