Class BiomePlacementModifier


public class BiomePlacementModifier extends AbstractConditionalPlacementModifier
Mappings:
Namespace Name
named net/minecraft/world/gen/placementmodifier/BiomePlacementModifier
intermediary net/minecraft/class_6792
official ehp
  • Field Details

    • INSTANCE

      private static final BiomePlacementModifier INSTANCE
      Mappings:
      Namespace Name Mixin selector
      named INSTANCE Lnet/minecraft/world/gen/placementmodifier/BiomePlacementModifier;INSTANCE:Lnet/minecraft/world/gen/placementmodifier/BiomePlacementModifier;
      intermediary field_35715 Lnet/minecraft/class_6792;field_35715:Lnet/minecraft/class_6792;
      official c Lehp;c:Lehp;
    • MODIFIER_CODEC

      public static com.mojang.serialization.MapCodec<BiomePlacementModifier> MODIFIER_CODEC
      Mappings:
      Namespace Name Mixin selector
      named MODIFIER_CODEC Lnet/minecraft/world/gen/placementmodifier/BiomePlacementModifier;MODIFIER_CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_35714 Lnet/minecraft/class_6792;field_35714:Lcom/mojang/serialization/MapCodec;
      official a Lehp;a:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

    • BiomePlacementModifier

      private BiomePlacementModifier()
  • Method Details

    • of

      public static BiomePlacementModifier of()
      Mappings:
      Namespace Name Mixin selector
      named of Lnet/minecraft/world/gen/placementmodifier/BiomePlacementModifier;of()Lnet/minecraft/world/gen/placementmodifier/BiomePlacementModifier;
      intermediary method_39614 Lnet/minecraft/class_6792;method_39614()Lnet/minecraft/class_6792;
      official a Lehp;a()Lehp;
    • shouldPlace

      protected boolean shouldPlace(FeaturePlacementContext context, Random random, BlockPos pos)
      Specified by:
      shouldPlace in class AbstractConditionalPlacementModifier
      Mappings:
      Namespace Name Mixin selector
      named shouldPlace Lnet/minecraft/world/gen/placementmodifier/AbstractConditionalPlacementModifier;shouldPlace(Lnet/minecraft/world/gen/feature/FeaturePlacementContext;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_38918 Lnet/minecraft/class_6661;method_38918(Lnet/minecraft/class_5444;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;)Z
      official a Leid;a(Leic;Layo;Lja;)Z
    • getType

      public PlacementModifierType<?> getType()
      Specified by:
      getType in class PlacementModifier
      Mappings:
      Namespace Name Mixin selector
      named getType Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;getType()Lnet/minecraft/world/gen/placementmodifier/PlacementModifierType;
      intermediary method_39615 Lnet/minecraft/class_6797;method_39615()Lnet/minecraft/class_6798;
      official b Leie;b()Leif;