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 dlrintermediary net/minecraft/class_3346named net/minecraft/structure/DesertTempleGenerator
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.structure.StructurePiece
StructurePiece.BlockRandomizer -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intprivate final boolean[]static final intFields inherited from class net.minecraft.structure.ShiftableStructurePiece
depth, height, hPos, widthFields inherited from class net.minecraft.structure.StructurePiece
AIR, boundingBox, chainLength -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) protected voidwriteNbt(StructureContext context, NbtCompound nbt) Methods inherited from class net.minecraft.structure.ShiftableStructurePiece
adjustToAverageHeight, adjustToMinHeightMethods 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 hLdlr;h:Iintermediary field_34725Lnet/minecraft/class_3346;field_34725:Inamed WIDTHLnet/minecraft/structure/DesertTempleGenerator;WIDTH:I
-
DEPTH
public static final int DEPTH- See Also:
- Mappings:
Namespace Name Mixin selector official iLdlr;i:Iintermediary field_34726Lnet/minecraft/class_3346;field_34726:Inamed DEPTHLnet/minecraft/structure/DesertTempleGenerator;DEPTH:I
-
hasPlacedChest
private final boolean[] hasPlacedChest- Mappings:
Namespace Name Mixin selector official jLdlr;j:[Zintermediary field_14397Lnet/minecraft/class_3346;field_14397:[Znamed hasPlacedChestLnet/minecraft/structure/DesertTempleGenerator;hasPlacedChest:[Z
-
-
Constructor Details
-
DesertTempleGenerator
- Mappings:
Namespace Name Mixin selector official <init>Ldlr;<init>(Lalu;II)Vintermediary <init>Lnet/minecraft/class_3346;<init>(Lnet/minecraft/class_5819;II)Vnamed <init>Lnet/minecraft/structure/DesertTempleGenerator;<init>(Lnet/minecraft/util/math/random/Random;II)V
-
DesertTempleGenerator
- Mappings:
Namespace Name Mixin selector official <init>Ldlr;<init>(Lpj;)Vintermediary <init>Lnet/minecraft/class_3346;<init>(Lnet/minecraft/class_2487;)Vnamed <init>Lnet/minecraft/structure/DesertTempleGenerator;<init>(Lnet/minecraft/nbt/NbtCompound;)V
-
-
Method Details
-
writeNbt
- Overrides:
writeNbtin classShiftableStructurePiece- Mappings:
Namespace Name Mixin selector official aLdki;a(Ldku;Lpj;)Vintermediary method_14943Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_6625;Lnet/minecraft/class_2487;)Vnamed writeNbtLnet/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:
generatein classStructurePiece- Mappings:
Namespace Name Mixin selector official aLdki;a(Lcgs;Lcgr;Lcwn;Lalu;Ldjw;Lcfh;Lgt;)Vintermediary method_14931Lnet/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;)Vnamed generateLnet/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
-