Class BiomePlacementModifier


public class BiomePlacementModifier extends AbstractConditionalPlacementModifier
Mappings:
Namespace Name
official dix
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 Ldix;c:Ldix;
      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 Ldix;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 Ldix;a()Ldix;
      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 Ldjl;a(Ldjk;Lalu;Lgt;)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 Ldjm;b()Ldjn;
      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;