Class StructurePoolBasedGenerator

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

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

    • LOGGER

      static final org.slf4j.Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Ldlg;a:Lorg/slf4j/Logger;
      intermediary field_16665 Lnet/minecraft/class_3778;field_16665:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/structure/pool/StructurePoolBasedGenerator;LOGGER:Lorg/slf4j/Logger;
  • Constructor Details

    • StructurePoolBasedGenerator

      public StructurePoolBasedGenerator()
  • Method Details

    • generate

      public static Optional<StructureType.StructurePosition> generate(StructureType.Context context, RegistryEntry<StructurePool> structurePool, Optional<Identifier> id, int int2, BlockPos pos, boolean bool, Optional<Heightmap.Type> heightmapType, int int3)
      Mappings:
      Namespace Name Mixin selector
      official a Ldlg;a(Ldkd$a;Lhc;Ljava/util/Optional;ILgt;ZLjava/util/Optional;I)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;I)Ljava/util/Optional;
      named generate Lnet/minecraft/structure/pool/StructurePoolBasedGenerator;generate(Lnet/minecraft/world/gen/structure/StructureType$Context;Lnet/minecraft/util/registry/RegistryEntry;Ljava/util/Optional;ILnet/minecraft/util/math/BlockPos;ZLjava/util/Optional;I)Ljava/util/Optional;
    • method_43566

      private static Optional<BlockPos> method_43566(StructurePoolElement structurePoolElement, Identifier identifier, BlockPos blockPos, BlockRotation blockRotation, StructureManager structureManager, ChunkRandom chunkRandom)
      Mappings:
      Namespace Name Mixin selector
      official a Ldlg;a(Ldlk;Laaj;Lgt;Lcoz;Ldnw;Ldaq;)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;
      named method_43566 Lnet/minecraft/structure/pool/StructurePoolBasedGenerator;method_43566(Lnet/minecraft/structure/pool/StructurePoolElement;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;Lnet/minecraft/structure/StructureManager;Lnet/minecraft/util/math/random/ChunkRandom;)Ljava/util/Optional;
    • generate

      private static void generate(NoiseConfig noiseConfig, int maxSize, boolean modifyBoundingBox, ChunkGenerator chunkGenerator, StructureManager structureManager, HeightLimitView heightLimitView, Random random, Registry<StructurePool> structurePoolRegistry, PoolStructurePiece firstPiece, List<PoolStructurePiece> pieces, VoxelShape pieceShape)
      Mappings:
      Namespace Name Mixin selector
      official a Ldlg;a(Ldah;IZLcwn;Ldnw;Lcgc;Lalu;Lhm;Ldjz;Ljava/util/List;Ldwl;)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;)V
      named generate Lnet/minecraft/structure/pool/StructurePoolBasedGenerator;generate(Lnet/minecraft/world/gen/noise/NoiseConfig;IZLnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/structure/StructureManager;Lnet/minecraft/world/HeightLimitView;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/registry/Registry;Lnet/minecraft/structure/PoolStructurePiece;Ljava/util/List;Lnet/minecraft/util/shape/VoxelShape;)V
    • generate

      public static boolean generate(ServerWorld world, RegistryEntry<StructurePool> structurePool, Identifier id, int int2, BlockPos pos, boolean keepJigsaws)
      Mappings:
      Namespace Name Mixin selector
      official a Ldlg;a(Lafo;Lhc;Laaj;ILgt;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
      named generate Lnet/minecraft/structure/pool/StructurePoolBasedGenerator;generate(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/registry/RegistryEntry;Lnet/minecraft/util/Identifier;ILnet/minecraft/util/math/BlockPos;Z)Z