Package net.minecraft.structure
Class MineshaftGenerator.MineshaftCorridor
java.lang.Object
net.minecraft.structure.StructurePiece
net.minecraft.structure.MineshaftGenerator.MineshaftPart
net.minecraft.structure.MineshaftGenerator.MineshaftCorridor
- Enclosing class:
- MineshaftGenerator
- Mappings:
- Namespace - Name - named - net/minecraft/structure/MineshaftGenerator$MineshaftCorridor- intermediary - net/minecraft/class_3353$class_3354- official - epr$a
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.structure.StructurePieceStructurePiece.BlockRandomizer
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final booleanprivate final booleanprivate booleanprivate final intFields inherited from class net.minecraft.structure.MineshaftGenerator.MineshaftPartmineshaftTypeFields inherited from class net.minecraft.structure.StructurePieceAIR, boundingBox, chainLength
- 
Constructor SummaryConstructorsConstructorDescriptionMineshaftCorridor(int chainLength, Random random, BlockBox boundingBox, Direction orientation, MineshaftStructure.Type type) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanaddChest(StructureWorldAccess world, BlockBox boundingBox, Random random, int x, int y, int z, RegistryKey<LootTable> lootTable) private voidaddCobwebsUnderground(StructureWorldAccess world, BlockBox box, Random random, float threshold, int x, int y, int z) private static voidfillColumn(StructureWorldAccess world, BlockState state, BlockPos.Mutable pos, int startY, int endY) protected voidfillDownwards(StructureWorldAccess world, BlockState state, int x, int y, int z, BlockBox box) voidfillOpenings(StructurePiece start, StructurePiecesHolder holder, Random random) protected voidfillSupportBeam(StructureWorldAccess world, BlockState state, int x, int y, int z, BlockBox box) private voidfillSupportBeam(StructureWorldAccess world, BlockBox box, int x, int y, int z) voidgenerate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) private voidgenerateSupports(StructureWorldAccess world, BlockBox boundingBox, int minX, int minY, int z, int maxY, int maxX, Random random) getBoundingBox(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation) private booleanhasSolidNeighborBlocks(StructureWorldAccess world, BlockBox box, int x, int y, int z, int count) private booleanisUpsideSolidFullSquare(WorldView world, BlockPos pos, BlockState state) private booleansideCoversSmallSquare(WorldView world, BlockPos pos, BlockState state) protected voidwriteNbt(StructureContext context, NbtCompound nbt) Methods inherited from class net.minecraft.structure.MineshaftGenerator.MineshaftPartcanAddBlock, cannotGenerate, isSolidCeiling, tryPlaceFloorMethods inherited from class net.minecraft.structure.StructurePieceaddBlock, addBlockWithRandomThreshold, addChest, addDispenser, applyXTransform, applyYTransform, applyZTransform, boundingBox, canReplace, createBox, fill, fillHalfEllipsoid, fillWithOutline, fillWithOutline, fillWithOutline, fillWithOutline, fillWithOutlineUnderSeaLevel, firstIntersecting, getBlockAt, getBoundingBox, getCenter, getChainLength, getFacing, getMirror, getRandomHorizontalDirection, getRotation, getType, intersectsChunk, isUnderSeaLevel, offsetPos, orientateChest, setChainLength, setOrientation, toNbt, translate
- 
Field Details- 
hasRailsprivate final boolean hasRails- Mappings:
- Namespace - Name - Mixin selector - named - hasRails- Lnet/minecraft/structure/MineshaftGenerator$MineshaftCorridor;hasRails:Z- intermediary - field_14416- Lnet/minecraft/class_3353$class_3354;field_14416:Z- official - b- Lepr$a;b:Z
 
- 
hasCobwebsprivate final boolean hasCobwebs- Mappings:
- Namespace - Name - Mixin selector - named - hasCobwebs- Lnet/minecraft/structure/MineshaftGenerator$MineshaftCorridor;hasCobwebs:Z- intermediary - field_14415- Lnet/minecraft/class_3353$class_3354;field_14415:Z- official - c- Lepr$a;c:Z
 
- 
hasSpawnerprivate boolean hasSpawner- Mappings:
- Namespace - Name - Mixin selector - named - hasSpawner- Lnet/minecraft/structure/MineshaftGenerator$MineshaftCorridor;hasSpawner:Z- intermediary - field_14414- Lnet/minecraft/class_3353$class_3354;field_14414:Z- official - d- Lepr$a;d:Z
 
- 
lengthprivate final int length- Mappings:
- Namespace - Name - Mixin selector - named - length- Lnet/minecraft/structure/MineshaftGenerator$MineshaftCorridor;length:I- intermediary - field_14413- Lnet/minecraft/class_3353$class_3354;field_14413:I- official - h- Lepr$a;h:I
 
 
- 
- 
Constructor Details- 
MineshaftCorridor- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/structure/MineshaftGenerator$MineshaftCorridor;<init>(Lnet/minecraft/nbt/NbtCompound;)V- intermediary - <init>- Lnet/minecraft/class_3353$class_3354;<init>(Lnet/minecraft/class_2487;)V- official - <init>- Lepr$a;<init>(Ltq;)V
 
- 
MineshaftCorridorpublic MineshaftCorridor(int chainLength, Random random, BlockBox boundingBox, Direction orientation, MineshaftStructure.Type type) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/structure/MineshaftGenerator$MineshaftCorridor;<init>(ILnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/Direction;Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;)V- intermediary - <init>- Lnet/minecraft/class_3353$class_3354;<init>(ILnet/minecraft/class_5819;Lnet/minecraft/class_3341;Lnet/minecraft/class_2350;Lnet/minecraft/class_3098$class_3100;)V- official - <init>- Lepr$a;<init>(ILazh;Lenf;Ljn;Leps$a;)V
 
 
- 
- 
Method Details- 
writeNbt- Overrides:
- writeNbtin class- MineshaftGenerator.MineshaftPart
- Mappings:
- Namespace - Name - Mixin selector - named - writeNbt- Lnet/minecraft/structure/StructurePiece;writeNbt(Lnet/minecraft/structure/StructureContext;Lnet/minecraft/nbt/NbtCompound;)V- intermediary - method_14943- Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_6625;Lnet/minecraft/class_2487;)V- official - a- Lenr;a(Leod;Ltq;)V
 
- 
getBoundingBox@Nullable public static @Nullable BlockBox getBoundingBox(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation) - Mappings:
- Namespace - Name - Mixin selector - named - getBoundingBox- Lnet/minecraft/structure/MineshaftGenerator$MineshaftCorridor;getBoundingBox(Lnet/minecraft/structure/StructurePiecesHolder;Lnet/minecraft/util/math/random/Random;IIILnet/minecraft/util/math/Direction;)Lnet/minecraft/util/math/BlockBox;- intermediary - method_14714- Lnet/minecraft/class_3353$class_3354;method_14714(Lnet/minecraft/class_6130;Lnet/minecraft/class_5819;IIILnet/minecraft/class_2350;)Lnet/minecraft/class_3341;- official - a- Lepr$a;a(Lens;Lazh;IIILjn;)Lenf;
 
- 
fillOpenings- Overrides:
- fillOpeningsin class- StructurePiece
- Mappings:
- Namespace - Name - Mixin selector - named - fillOpenings- Lnet/minecraft/structure/StructurePiece;fillOpenings(Lnet/minecraft/structure/StructurePiece;Lnet/minecraft/structure/StructurePiecesHolder;Lnet/minecraft/util/math/random/Random;)V- intermediary - method_14918- Lnet/minecraft/class_3443;method_14918(Lnet/minecraft/class_3443;Lnet/minecraft/class_6130;Lnet/minecraft/class_5819;)V- official - a- Lenr;a(Lenr;Lens;Lazh;)V
 
- 
addChestprotected boolean addChest(StructureWorldAccess world, BlockBox boundingBox, Random random, int x, int y, int z, RegistryKey<LootTable> lootTable) - Overrides:
- addChestin class- StructurePiece
- Mappings:
- Namespace - Name - Mixin selector - named - addChest- Lnet/minecraft/structure/StructurePiece;addChest(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/random/Random;IIILnet/minecraft/registry/RegistryKey;)Z- intermediary - method_14915- Lnet/minecraft/class_3443;method_14915(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;Lnet/minecraft/class_5819;IIILnet/minecraft/class_5321;)Z- official - a- Lenr;a(Ldhh;Lenf;Lazh;IIILaku;)Z
 
- 
generatepublic void generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) - Specified by:
- generatein class- StructurePiece
- Mappings:
- Namespace - Name - Mixin selector - named - generate- Lnet/minecraft/structure/StructurePiece;generate(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/util/math/BlockPos;)V- intermediary - method_14931- Lnet/minecraft/class_3443;method_14931(Lnet/minecraft/class_5281;Lnet/minecraft/class_5138;Lnet/minecraft/class_2794;Lnet/minecraft/class_5819;Lnet/minecraft/class_3341;Lnet/minecraft/class_1923;Lnet/minecraft/class_2338;)V- official - a- Lenr;a(Ldhh;Ldhf;Ldyu;Lazh;Lenf;Ldfp;Lji;)V
 
- 
fillSupportBeam- Mappings:
- Namespace - Name - Mixin selector - named - fillSupportBeam- Lnet/minecraft/structure/MineshaftGenerator$MineshaftCorridor;fillSupportBeam(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;III)V- intermediary - method_33776- Lnet/minecraft/class_3353$class_3354;method_33776(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;III)V- official - a- Lepr$a;a(Ldhh;Lenf;III)V
 
- 
fillDownwardsprotected void fillDownwards(StructureWorldAccess world, BlockState state, int x, int y, int z, BlockBox box) - Overrides:
- fillDownwardsin class- StructurePiece
- Mappings:
- Namespace - Name - Mixin selector - named - fillDownwards- Lnet/minecraft/structure/StructurePiece;fillDownwards(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/block/BlockState;IIILnet/minecraft/util/math/BlockBox;)V- intermediary - method_14936- Lnet/minecraft/class_3443;method_14936(Lnet/minecraft/class_5281;Lnet/minecraft/class_2680;IIILnet/minecraft/class_3341;)V- official - b- Lenr;b(Ldhh;Ldwy;IIILenf;)V
 
- 
fillSupportBeamprotected void fillSupportBeam(StructureWorldAccess world, BlockState state, int x, int y, int z, BlockBox box) - Mappings:
- Namespace - Name - Mixin selector - named - fillSupportBeam- Lnet/minecraft/structure/MineshaftGenerator$MineshaftCorridor;fillSupportBeam(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/block/BlockState;IIILnet/minecraft/util/math/BlockBox;)V- intermediary - method_33879- Lnet/minecraft/class_3353$class_3354;method_33879(Lnet/minecraft/class_5281;Lnet/minecraft/class_2680;IIILnet/minecraft/class_3341;)V- official - c- Lepr$a;c(Ldhh;Ldwy;IIILenf;)V
 
- 
fillColumnprivate static void fillColumn(StructureWorldAccess world, BlockState state, BlockPos.Mutable pos, int startY, int endY) - Mappings:
- Namespace - Name - Mixin selector - named - fillColumn- Lnet/minecraft/structure/MineshaftGenerator$MineshaftCorridor;fillColumn(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos$Mutable;II)V- intermediary - method_33878- Lnet/minecraft/class_3353$class_3354;method_33878(Lnet/minecraft/class_5281;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338$class_2339;II)V- official - a- Lepr$a;a(Ldhh;Ldwy;Lji$a;II)V
 
- 
isUpsideSolidFullSquare- Mappings:
- Namespace - Name - Mixin selector - named - isUpsideSolidFullSquare- Lnet/minecraft/structure/MineshaftGenerator$MineshaftCorridor;isUpsideSolidFullSquare(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z- intermediary - method_33777- Lnet/minecraft/class_3353$class_3354;method_33777(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Z- official - a- Lepr$a;a(Ldgm;Lji;Ldwy;)Z
 
- 
sideCoversSmallSquare- Mappings:
- Namespace - Name - Mixin selector - named - sideCoversSmallSquare- Lnet/minecraft/structure/MineshaftGenerator$MineshaftCorridor;sideCoversSmallSquare(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z- intermediary - method_33877- Lnet/minecraft/class_3353$class_3354;method_33877(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Z- official - b- Lepr$a;b(Ldgm;Lji;Ldwy;)Z
 
- 
generateSupportsprivate void generateSupports(StructureWorldAccess world, BlockBox boundingBox, int minX, int minY, int z, int maxY, int maxX, Random random) - Mappings:
- Namespace - Name - Mixin selector - named - generateSupports- Lnet/minecraft/structure/MineshaftGenerator$MineshaftCorridor;generateSupports(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;IIIIILnet/minecraft/util/math/random/Random;)V- intermediary - method_14713- Lnet/minecraft/class_3353$class_3354;method_14713(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;IIIIILnet/minecraft/class_5819;)V- official - a- Lepr$a;a(Ldhh;Lenf;IIIIILazh;)V
 
- 
addCobwebsUndergroundprivate void addCobwebsUnderground(StructureWorldAccess world, BlockBox box, Random random, float threshold, int x, int y, int z) - Mappings:
- Namespace - Name - Mixin selector - named - addCobwebsUnderground- Lnet/minecraft/structure/MineshaftGenerator$MineshaftCorridor;addCobwebsUnderground(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/random/Random;FIII)V- intermediary - method_14715- Lnet/minecraft/class_3353$class_3354;method_14715(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;Lnet/minecraft/class_5819;FIII)V- official - a- Lepr$a;a(Ldhh;Lenf;Lazh;FIII)V
 
- 
hasSolidNeighborBlocksprivate boolean hasSolidNeighborBlocks(StructureWorldAccess world, BlockBox box, int x, int y, int z, int count) - Mappings:
- Namespace - Name - Mixin selector - named - hasSolidNeighborBlocks- Lnet/minecraft/structure/MineshaftGenerator$MineshaftCorridor;hasSolidNeighborBlocks(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;IIII)Z- intermediary - method_36422- Lnet/minecraft/class_3353$class_3354;method_36422(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;IIII)Z- official - a- Lepr$a;a(Ldhh;Lenf;IIII)Z
 
 
-