Package net.minecraft.structure
Class DesertTempleGenerator
java.lang.Object
net.minecraft.structure.StructurePiece
net.minecraft.structure.ShiftableStructurePiece
net.minecraft.structure.DesertTempleGenerator
- Mappings:
Namespace Name official dtc
intermediary net/minecraft/class_3346
named net/minecraft/structure/DesertTempleGenerator
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.structure.StructurePiece
StructurePiece.BlockRandomizer
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
private final boolean[]
static final int
Fields inherited from class net.minecraft.structure.ShiftableStructurePiece
depth, height, hPos, width
Fields inherited from class net.minecraft.structure.StructurePiece
AIR, boundingBox, chainLength
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
addPotentialSuspiciousSandArea
(BlockBox chunkBox, int startX, int startY, int startZ, int endX, int endY, int endZ) private void
addPotentialSuspiciousSandPosition
(int x, int y, int z, BlockBox chunkBox) private void
addSandOrSandstone
(StructureWorldAccess world, int x, int y, int z, BlockBox chunkBox) void
generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) private void
generateBasement
(StructureWorldAccess world, BlockBox chunkBox) private void
generateBasementRoof
(StructureWorldAccess world, BlockBox chunkBox, int startX, int y, int startZ, int endX, int endZ) private void
generateBasementStairs
(BlockPos pos, StructureWorldAccess world, BlockBox chunkBox) private void
generateSuspiciousSandRoom
(BlockPos pos, StructureWorldAccess world, BlockBox chunkBox) protected void
writeNbt
(StructureContext context, NbtCompound nbt) Methods inherited from class net.minecraft.structure.ShiftableStructurePiece
adjustToAverageHeight, adjustToMinHeight
Methods inherited from class net.minecraft.structure.StructurePiece
addBlock, addBlockWithRandomThreshold, addChest, addChest, addDispenser, applyXTransform, applyYTransform, applyZTransform, boundingBox, canAddBlock, canReplace, createBox, fill, fillDownwards, fillHalfEllipsoid, fillOpenings, 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
-
WIDTH
public static final int WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector official h
Ldtc;h:I
intermediary field_34725
Lnet/minecraft/class_3346;field_34725:I
named WIDTH
Lnet/minecraft/structure/DesertTempleGenerator;WIDTH:I
-
DEPTH
public static final int DEPTH- See Also:
- Mappings:
Namespace Name Mixin selector official i
Ldtc;i:I
intermediary field_34726
Lnet/minecraft/class_3346;field_34726:I
named DEPTH
Lnet/minecraft/structure/DesertTempleGenerator;DEPTH:I
-
hasPlacedChest
private final boolean[] hasPlacedChest- Mappings:
Namespace Name Mixin selector official j
Ldtc;j:[Z
intermediary field_14397
Lnet/minecraft/class_3346;field_14397:[Z
named hasPlacedChest
Lnet/minecraft/structure/DesertTempleGenerator;hasPlacedChest:[Z
-
potentialSuspiciousSandPositions
- Mappings:
Namespace Name Mixin selector official k
Ldtc;k:Ljava/util/List;
intermediary field_42856
Lnet/minecraft/class_3346;field_42856:Ljava/util/List;
named potentialSuspiciousSandPositions
Lnet/minecraft/structure/DesertTempleGenerator;potentialSuspiciousSandPositions:Ljava/util/List;
-
-
Constructor Details
-
DesertTempleGenerator
- Mappings:
Namespace Name Mixin selector official <init>
Ldtc;<init>(Lapo;II)V
intermediary <init>
Lnet/minecraft/class_3346;<init>(Lnet/minecraft/class_5819;II)V
named <init>
Lnet/minecraft/structure/DesertTempleGenerator;<init>(Lnet/minecraft/util/math/random/Random;II)V
-
DesertTempleGenerator
- Mappings:
Namespace Name Mixin selector official <init>
Ldtc;<init>(Lre;)V
intermediary <init>
Lnet/minecraft/class_3346;<init>(Lnet/minecraft/class_2487;)V
named <init>
Lnet/minecraft/structure/DesertTempleGenerator;<init>(Lnet/minecraft/nbt/NbtCompound;)V
-
-
Method Details
-
writeNbt
- Overrides:
writeNbt
in classShiftableStructurePiece
- Mappings:
Namespace Name Mixin selector official a
Ldrt;a(Ldsf;Lre;)V
intermediary method_14943
Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_6625;Lnet/minecraft/class_2487;)V
named writeNbt
Lnet/minecraft/structure/StructurePiece;writeNbt(Lnet/minecraft/structure/StructureContext;Lnet/minecraft/nbt/NbtCompound;)V
-
generate
public void generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) - Specified by:
generate
in classStructurePiece
- Mappings:
Namespace Name Mixin selector official a
Ldrt;a(Lcnb;Lcmz;Lddo;Lapo;Ldrh;Lclp;Lgt;)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
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
-
generateBasement
- Mappings:
Namespace Name Mixin selector official a
Ldtc;a(Lcnb;Ldrh;)V
intermediary method_49261
Lnet/minecraft/class_3346;method_49261(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;)V
named generateBasement
Lnet/minecraft/structure/DesertTempleGenerator;generateBasement(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;)V
-
generateBasementStairs
- Mappings:
Namespace Name Mixin selector official a
Ldtc;a(Lgt;Lcnb;Ldrh;)V
intermediary method_49264
Lnet/minecraft/class_3346;method_49264(Lnet/minecraft/class_2338;Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;)V
named generateBasementStairs
Lnet/minecraft/structure/DesertTempleGenerator;generateBasementStairs(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;)V
-
generateSuspiciousSandRoom
private void generateSuspiciousSandRoom(BlockPos pos, StructureWorldAccess world, BlockBox chunkBox) - Mappings:
Namespace Name Mixin selector official b
Ldtc;b(Lgt;Lcnb;Ldrh;)V
intermediary method_49266
Lnet/minecraft/class_3346;method_49266(Lnet/minecraft/class_2338;Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;)V
named generateSuspiciousSandRoom
Lnet/minecraft/structure/DesertTempleGenerator;generateSuspiciousSandRoom(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;)V
-
addPotentialSuspiciousSandPosition
- Mappings:
Namespace Name Mixin selector official a
Ldtc;a(IIILdrh;)V
intermediary method_49259
Lnet/minecraft/class_3346;method_49259(IIILnet/minecraft/class_3341;)V
named addPotentialSuspiciousSandPosition
Lnet/minecraft/structure/DesertTempleGenerator;addPotentialSuspiciousSandPosition(IIILnet/minecraft/util/math/BlockBox;)V
-
addPotentialSuspiciousSandArea
private void addPotentialSuspiciousSandArea(BlockBox chunkBox, int startX, int startY, int startZ, int endX, int endY, int endZ) - Mappings:
Namespace Name Mixin selector official a
Ldtc;a(Ldrh;IIIIII)V
intermediary method_49263
Lnet/minecraft/class_3346;method_49263(Lnet/minecraft/class_3341;IIIIII)V
named addPotentialSuspiciousSandArea
Lnet/minecraft/structure/DesertTempleGenerator;addPotentialSuspiciousSandArea(Lnet/minecraft/util/math/BlockBox;IIIIII)V
-
addSandOrSandstone
- Mappings:
Namespace Name Mixin selector official a
Ldtc;a(Lcnb;IIILdrh;)V
intermediary method_49260
Lnet/minecraft/class_3346;method_49260(Lnet/minecraft/class_5281;IIILnet/minecraft/class_3341;)V
named addSandOrSandstone
Lnet/minecraft/structure/DesertTempleGenerator;addSandOrSandstone(Lnet/minecraft/world/StructureWorldAccess;IIILnet/minecraft/util/math/BlockBox;)V
-
generateBasementRoof
private void generateBasementRoof(StructureWorldAccess world, BlockBox chunkBox, int startX, int y, int startZ, int endX, int endZ) - Mappings:
Namespace Name Mixin selector official a
Ldtc;a(Lcnb;Ldrh;IIIII)V
intermediary method_49262
Lnet/minecraft/class_3346;method_49262(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;IIIII)V
named generateBasementRoof
Lnet/minecraft/structure/DesertTempleGenerator;generateBasementRoof(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;IIIII)V
-
getPotentialSuspiciousSandPositions
- Mappings:
Namespace Name Mixin selector official b
Ldtc;b()Ljava/util/List;
intermediary method_49265
Lnet/minecraft/class_3346;method_49265()Ljava/util/List;
named getPotentialSuspiciousSandPositions
Lnet/minecraft/structure/DesertTempleGenerator;getPotentialSuspiciousSandPositions()Ljava/util/List;
-