yarn/mappings/net/minecraft/world/gen/feature/PlacedFeature.mapping

31 lines
1.4 KiB
Plaintext

CLASS net/minecraft/class_6796 net/minecraft/world/gen/feature/PlacedFeature
FIELD field_35729 CODEC Lcom/mojang/serialization/Codec;
FIELD field_35730 REGISTRY_CODEC Lcom/mojang/serialization/Codec;
FIELD field_35731 LIST_CODEC Lcom/mojang/serialization/Codec;
FIELD field_35732 feature Ljava/util/function/Supplier;
FIELD field_35733 placementModifiers Ljava/util/List;
METHOD <init> (Ljava/util/function/Supplier;Ljava/util/List;)V
ARG 1 feature
ARG 2 placementModifiers
METHOD method_39643 getDecoratedFeatures ()Ljava/util/stream/Stream;
METHOD method_39644 generateUnregistered (Lnet/minecraft/class_5281;Lnet/minecraft/class_2794;Ljava/util/Random;Lnet/minecraft/class_2338;)Z
ARG 1 world
ARG 2 generator
ARG 3 random
ARG 4 pos
METHOD method_39648 generate (Lnet/minecraft/class_5444;Ljava/util/Random;Lnet/minecraft/class_2338;)Z
ARG 1 context
ARG 2 random
ARG 3 pos
METHOD method_39650 generate (Lnet/minecraft/class_5281;Lnet/minecraft/class_2794;Ljava/util/Random;Lnet/minecraft/class_2338;)Z
COMMENT Generates a configured feature at the positions obtained by applying
COMMENT placement modifiers to the given position.
COMMENT
COMMENT <p>To calculate positions, it first creates a singleton stream of the
COMMENT given position, then it applies placement modifiers with {@linkplain
COMMENT Stream#flatMap flatMap} in order they appear in the list.
ARG 1 world
ARG 2 generator
ARG 3 random
ARG 4 pos