Class BiomePlacementModifier


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

    • INSTANCE

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

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

    • BiomePlacementModifier

      private BiomePlacementModifier()
  • Method Details

    • of

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

      protected boolean shouldPlace(FeaturePlacementContext context, Random random, BlockPos pos)
      Specified by:
      shouldPlace in class AbstractConditionalPlacementModifier
      Mappings:
      Namespace Name Mixin selector
      official a Lduo;a(Ldun;Lasc;Lgw;)Z
      intermediary method_38918 Lnet/minecraft/class_6661;method_38918(Lnet/minecraft/class_5444;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;)Z
      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
    • getType

      public PlacementModifierType<?> getType()
      Specified by:
      getType in class PlacementModifier
      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;