Class StructurePoolBasedGenerator

java.lang.Object
net.minecraft.structure.pool.StructurePoolBasedGenerator

public class StructurePoolBasedGenerator extends Object
Mappings:
Namespace Name
named net/minecraft/structure/pool/StructurePoolBasedGenerator
intermediary net/minecraft/class_3778
official epn
  • Field Details

    • LOGGER

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/structure/pool/StructurePoolBasedGenerator;LOGGER:Lorg/slf4j/Logger;
      intermediary field_16665 Lnet/minecraft/class_3778;field_16665:Lorg/slf4j/Logger;
      official a Lepn;a:Lorg/slf4j/Logger;
    • HEIGHT_NOT_SET

      private static final int HEIGHT_NOT_SET
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named HEIGHT_NOT_SET Lnet/minecraft/structure/pool/StructurePoolBasedGenerator;HEIGHT_NOT_SET:I
      intermediary field_52657 Lnet/minecraft/class_3778;field_52657:I
      official b Lepn;b:I
  • Constructor Details

    • StructurePoolBasedGenerator

      public StructurePoolBasedGenerator()
  • Method Details

    • generate

      public static Optional<Structure.StructurePosition> generate(Structure.Context context, RegistryEntry<StructurePool> structurePool, Optional<Identifier> id, int size, BlockPos pos, boolean useExpansionHack, Optional<Heightmap.Type> projectStartToHeightmap, int maxDistanceFromCenter, StructurePoolAliasLookup aliasLookup, DimensionPadding dimensionPadding, StructureLiquidSettings liquidSettings)
      Mappings:
      Namespace Name Mixin selector
      named generate Lnet/minecraft/structure/pool/StructurePoolBasedGenerator;generate(Lnet/minecraft/world/gen/structure/Structure$Context;Lnet/minecraft/registry/entry/RegistryEntry;Ljava/util/Optional;ILnet/minecraft/util/math/BlockPos;ZLjava/util/Optional;ILnet/minecraft/structure/pool/alias/StructurePoolAliasLookup;Lnet/minecraft/world/gen/structure/DimensionPadding;Lnet/minecraft/structure/StructureLiquidSettings;)Ljava/util/Optional;
      intermediary method_30419 Lnet/minecraft/class_3778;method_30419(Lnet/minecraft/class_3195$class_7149;Lnet/minecraft/class_6880;Ljava/util/Optional;ILnet/minecraft/class_2338;ZLjava/util/Optional;ILnet/minecraft/class_8891;Lnet/minecraft/class_9778;Lnet/minecraft/class_9822;)Ljava/util/Optional;
      official a Lepn;a(Leoj$a;Ljq;Ljava/util/Optional;ILjh;ZLjava/util/Optional;ILepx;Lepj;Lerv;)Ljava/util/Optional;
    • findStartingJigsawPos

      private static Optional<BlockPos> findStartingJigsawPos(StructurePoolElement pool, Identifier id, BlockPos pos, BlockRotation rotation, StructureTemplateManager structureManager, ChunkRandom random)
      Mappings:
      Namespace Name Mixin selector
      named findStartingJigsawPos Lnet/minecraft/structure/pool/StructurePoolBasedGenerator;findStartingJigsawPos(Lnet/minecraft/structure/pool/StructurePoolElement;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;Lnet/minecraft/structure/StructureTemplateManager;Lnet/minecraft/util/math/random/ChunkRandom;)Ljava/util/Optional;
      intermediary method_43566 Lnet/minecraft/class_3778;method_43566(Lnet/minecraft/class_3784;Lnet/minecraft/class_2960;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;Lnet/minecraft/class_3485;Lnet/minecraft/class_2919;)Ljava/util/Optional;
      official a Lepn;a(Lepr;Lalz;Ljh;Ldrb;Lesm;Leeo;)Ljava/util/Optional;
    • generate

      private static void generate(NoiseConfig noiseConfig, int maxSize, boolean modifyBoundingBox, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, HeightLimitView heightLimitView, Random random, Registry<StructurePool> structurePoolRegistry, PoolStructurePiece firstPiece, List<PoolStructurePiece> pieces, VoxelShape pieceShape, StructurePoolAliasLookup aliasLookup, StructureLiquidSettings liquidSettings)
      Mappings:
      Namespace Name Mixin selector
      named generate Lnet/minecraft/structure/pool/StructurePoolBasedGenerator;generate(Lnet/minecraft/world/gen/noise/NoiseConfig;IZLnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/structure/StructureTemplateManager;Lnet/minecraft/world/HeightLimitView;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/registry/Registry;Lnet/minecraft/structure/PoolStructurePiece;Ljava/util/List;Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/structure/pool/alias/StructurePoolAliasLookup;Lnet/minecraft/structure/StructureLiquidSettings;)V
      intermediary method_27230 Lnet/minecraft/class_3778;method_27230(Lnet/minecraft/class_7138;IZLnet/minecraft/class_2794;Lnet/minecraft/class_3485;Lnet/minecraft/class_5539;Lnet/minecraft/class_5819;Lnet/minecraft/class_2378;Lnet/minecraft/class_3790;Ljava/util/List;Lnet/minecraft/class_265;Lnet/minecraft/class_8891;Lnet/minecraft/class_9822;)V
      official a Lepn;a(Leed;IZLdzq;Lesm;Ldhj;Lbam;Lkd;Leof;Ljava/util/List;Lfcr;Lepx;Lerv;)V
    • generate

      public static boolean generate(ServerWorld world, RegistryEntry<StructurePool> structurePool, Identifier id, int size, BlockPos pos, boolean keepJigsaws)
      Mappings:
      Namespace Name Mixin selector
      named generate Lnet/minecraft/structure/pool/StructurePoolBasedGenerator;generate(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/util/Identifier;ILnet/minecraft/util/math/BlockPos;Z)Z
      intermediary method_43729 Lnet/minecraft/class_3778;method_43729(Lnet/minecraft/class_3218;Lnet/minecraft/class_6880;Lnet/minecraft/class_2960;ILnet/minecraft/class_2338;Z)Z
      official a Lepn;a(Lash;Ljq;Lalz;ILjh;Z)Z