Class BuriedTreasureStructure
java.lang.Object
net.minecraft.world.gen.structure.Structure
net.minecraft.world.gen.structure.BuriedTreasureStructure
- Mappings:
Namespace Name official dtb
intermediary net/minecraft/class_2956
named net/minecraft/world/gen/structure/BuriedTreasureStructure
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.gen.structure.Structure
Structure.Config, Structure.Context, Structure.StructurePosition
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<BuriedTreasureStructure>
Fields inherited from class net.minecraft.world.gen.structure.Structure
config, ENTRY_CODEC, STRUCTURE_CODEC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
addPieces
(StructurePiecesCollector collector, Structure.Context context) getStructurePosition
(Structure.Context context) getType()
Methods inherited from class net.minecraft.world.gen.structure.Structure
configCodecBuilder, createCodec, createStructureStart, expandBoxIfShouldAdaptNoise, getFeatureGenerationStep, getMinCornerHeight, getMinCornerHeight, getShiftedPos, getStructurePosition, getStructureSpawns, getTerrainAdaptation, getValidBiomes, getValidStructurePosition, postPlace
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official d
Ldtb;d:Lcom/mojang/serialization/Codec;
intermediary field_37790
Lnet/minecraft/class_2956;field_37790:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/gen/structure/BuriedTreasureStructure;CODEC:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
BuriedTreasureStructure
- Mappings:
Namespace Name Mixin selector official <init>
Ldrp;<init>(Ldrp$c;)V
intermediary <init>
Lnet/minecraft/class_3195;<init>(Lnet/minecraft/class_3195$class_7302;)V
named <init>
Lnet/minecraft/world/gen/structure/Structure;<init>(Lnet/minecraft/world/gen/structure/Structure$Config;)V
-
-
Method Details
-
getStructurePosition
- Specified by:
getStructurePosition
in classStructure
- Mappings:
Namespace Name Mixin selector official a
Ldrp;a(Ldrp$a;)Ljava/util/Optional;
intermediary method_38676
Lnet/minecraft/class_3195;method_38676(Lnet/minecraft/class_3195$class_7149;)Ljava/util/Optional;
named getStructurePosition
Lnet/minecraft/world/gen/structure/Structure;getStructurePosition(Lnet/minecraft/world/gen/structure/Structure$Context;)Ljava/util/Optional;
-
addPieces
- Mappings:
Namespace Name Mixin selector official a
Ldtb;a(Ldsh;Ldrp$a;)V
intermediary method_38672
Lnet/minecraft/class_2956;method_38672(Lnet/minecraft/class_6626;Lnet/minecraft/class_3195$class_7149;)V
named addPieces
Lnet/minecraft/world/gen/structure/BuriedTreasureStructure;addPieces(Lnet/minecraft/structure/StructurePiecesCollector;Lnet/minecraft/world/gen/structure/Structure$Context;)V
-
getType
- Specified by:
getType
in classStructure
- Mappings:
Namespace Name Mixin selector official e
Ldrp;e()Ldry;
intermediary method_41618
Lnet/minecraft/class_3195;method_41618()Lnet/minecraft/class_7151;
named getType
Lnet/minecraft/world/gen/structure/Structure;getType()Lnet/minecraft/world/gen/structure/StructureType;
-