Class JigsawStructure
java.lang.Object
net.minecraft.world.gen.structure.StructureType
net.minecraft.world.gen.structure.JigsawStructure
- Mappings:
Namespace Name official dlw
intermediary net/minecraft/class_5434
named net/minecraft/world/gen/structure/JigsawStructure
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.gen.structure.StructureType
StructureType.Config, StructureType.Context, StructureType.StructurePosition
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<JigsawStructure>
static final int
private final int
private final Optional<Heightmap.Type>
private final int
private final HeightProvider
private final Optional<Identifier>
private final RegistryEntry<StructurePool>
private final boolean
Fields inherited from class net.minecraft.world.gen.structure.StructureType
config, ENTRY_CODEC, STRUCTURE_TYPE_CODEC
-
Constructor Summary
ConstructorDescriptionJigsawStructure
(StructureType.Config config, RegistryEntry<StructurePool> startPool, int size, HeightProvider startHeight, boolean useExpansionHack) JigsawStructure
(StructureType.Config config, RegistryEntry<StructurePool> startPool, int size, HeightProvider startHeight, boolean useExpansionHack, Heightmap.Type projectStartToHeightmap) JigsawStructure
(StructureType.Config config, RegistryEntry<StructurePool> startPool, Optional<Identifier> startJigsawName, int size, HeightProvider startHeight, boolean useExpansionHack, Optional<Heightmap.Type> projectStartToHeightmap, int maxDistanceFromCenter) -
Method Summary
Modifier and TypeMethodDescriptionprivate static Function<JigsawStructure,
com.mojang.serialization.DataResult<JigsawStructure>> getType()
Methods inherited from class net.minecraft.world.gen.structure.StructureType
configCodecBuilder, createCodec, createStructureStart, expandBoxIfShouldAdaptNoise, getFeatureGenerationStep, getMinCornerHeight, getMinCornerHeight, getShiftedPos, getStructurePosition, getStructureSpawns, getTerrainAdaptation, getValidBiomes, postPlace
-
Field Details
-
MAX_SIZE
public static final int MAX_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector official d
Ldlw;d:I
intermediary field_38435
Lnet/minecraft/class_5434;field_38435:I
named MAX_SIZE
Lnet/minecraft/world/gen/structure/JigsawStructure;MAX_SIZE:I
-
CODEC
- Mappings:
Namespace Name Mixin selector official e
Ldlw;e:Lcom/mojang/serialization/Codec;
intermediary field_37794
Lnet/minecraft/class_5434;field_37794:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/gen/structure/JigsawStructure;CODEC:Lcom/mojang/serialization/Codec;
-
startPool
- Mappings:
Namespace Name Mixin selector official f
Ldlw;f:Lhc;
intermediary field_37795
Lnet/minecraft/class_5434;field_37795:Lnet/minecraft/class_6880;
named startPool
Lnet/minecraft/world/gen/structure/JigsawStructure;startPool:Lnet/minecraft/util/registry/RegistryEntry;
-
startJigsawName
- Mappings:
Namespace Name Mixin selector official g
Ldlw;g:Ljava/util/Optional;
intermediary field_39059
Lnet/minecraft/class_5434;field_39059:Ljava/util/Optional;
named startJigsawName
Lnet/minecraft/world/gen/structure/JigsawStructure;startJigsawName:Ljava/util/Optional;
-
size
private final int size- Mappings:
Namespace Name Mixin selector official h
Ldlw;h:I
intermediary field_37796
Lnet/minecraft/class_5434;field_37796:I
named size
Lnet/minecraft/world/gen/structure/JigsawStructure;size:I
-
startHeight
- Mappings:
Namespace Name Mixin selector official i
Ldlw;i:Ldil;
intermediary field_37797
Lnet/minecraft/class_5434;field_37797:Lnet/minecraft/class_6122;
named startHeight
Lnet/minecraft/world/gen/structure/JigsawStructure;startHeight:Lnet/minecraft/world/gen/heightprovider/HeightProvider;
-
useExpansionHack
private final boolean useExpansionHack- Mappings:
Namespace Name Mixin selector official j
Ldlw;j:Z
intermediary field_37798
Lnet/minecraft/class_5434;field_37798:Z
named useExpansionHack
Lnet/minecraft/world/gen/structure/JigsawStructure;useExpansionHack:Z
-
projectStartToHeightmap
- Mappings:
Namespace Name Mixin selector official k
Ldlw;k:Ljava/util/Optional;
intermediary field_37799
Lnet/minecraft/class_5434;field_37799:Ljava/util/Optional;
named projectStartToHeightmap
Lnet/minecraft/world/gen/structure/JigsawStructure;projectStartToHeightmap:Ljava/util/Optional;
-
maxDistanceFromCenter
private final int maxDistanceFromCenter- Mappings:
Namespace Name Mixin selector official l
Ldlw;l:I
intermediary field_38268
Lnet/minecraft/class_5434;field_38268:I
named maxDistanceFromCenter
Lnet/minecraft/world/gen/structure/JigsawStructure;maxDistanceFromCenter:I
-
-
Constructor Details
-
JigsawStructure
public JigsawStructure(StructureType.Config config, RegistryEntry<StructurePool> startPool, Optional<Identifier> startJigsawName, int size, HeightProvider startHeight, boolean useExpansionHack, Optional<Heightmap.Type> projectStartToHeightmap, int maxDistanceFromCenter) - Mappings:
Namespace Name Mixin selector official <init>
Ldlw;<init>(Ldkd$c;Lhc;Ljava/util/Optional;ILdil;ZLjava/util/Optional;I)V
intermediary <init>
Lnet/minecraft/class_5434;<init>(Lnet/minecraft/class_3195$class_7302;Lnet/minecraft/class_6880;Ljava/util/Optional;ILnet/minecraft/class_6122;ZLjava/util/Optional;I)V
named <init>
Lnet/minecraft/world/gen/structure/JigsawStructure;<init>(Lnet/minecraft/world/gen/structure/StructureType$Config;Lnet/minecraft/util/registry/RegistryEntry;Ljava/util/Optional;ILnet/minecraft/world/gen/heightprovider/HeightProvider;ZLjava/util/Optional;I)V
-
JigsawStructure
public JigsawStructure(StructureType.Config config, RegistryEntry<StructurePool> startPool, int size, HeightProvider startHeight, boolean useExpansionHack, Heightmap.Type projectStartToHeightmap) - Mappings:
Namespace Name Mixin selector official <init>
Ldlw;<init>(Ldkd$c;Lhc;ILdil;ZLczt$a;)V
intermediary <init>
Lnet/minecraft/class_5434;<init>(Lnet/minecraft/class_3195$class_7302;Lnet/minecraft/class_6880;ILnet/minecraft/class_6122;ZLnet/minecraft/class_2902$class_2903;)V
named <init>
Lnet/minecraft/world/gen/structure/JigsawStructure;<init>(Lnet/minecraft/world/gen/structure/StructureType$Config;Lnet/minecraft/util/registry/RegistryEntry;ILnet/minecraft/world/gen/heightprovider/HeightProvider;ZLnet/minecraft/world/Heightmap$Type;)V
-
JigsawStructure
public JigsawStructure(StructureType.Config config, RegistryEntry<StructurePool> startPool, int size, HeightProvider startHeight, boolean useExpansionHack) - Mappings:
Namespace Name Mixin selector official <init>
Ldlw;<init>(Ldkd$c;Lhc;ILdil;Z)V
intermediary <init>
Lnet/minecraft/class_5434;<init>(Lnet/minecraft/class_3195$class_7302;Lnet/minecraft/class_6880;ILnet/minecraft/class_6122;Z)V
named <init>
Lnet/minecraft/world/gen/structure/JigsawStructure;<init>(Lnet/minecraft/world/gen/structure/StructureType$Config;Lnet/minecraft/util/registry/RegistryEntry;ILnet/minecraft/world/gen/heightprovider/HeightProvider;Z)V
-
-
Method Details
-
createValidator
private static Function<JigsawStructure,com.mojang.serialization.DataResult<JigsawStructure>> createValidator()- Mappings:
Namespace Name Mixin selector official f
Ldlw;f()Ljava/util/function/Function;
intermediary method_42708
Lnet/minecraft/class_5434;method_42708()Ljava/util/function/Function;
named createValidator
Lnet/minecraft/world/gen/structure/JigsawStructure;createValidator()Ljava/util/function/Function;
-
getStructurePosition
public Optional<StructureType.StructurePosition> getStructurePosition(StructureType.Context context) - Specified by:
getStructurePosition
in classStructureType
- Mappings:
Namespace Name Mixin selector official a
Ldkd;a(Ldkd$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/StructureType;getStructurePosition(Lnet/minecraft/world/gen/structure/StructureType$Context;)Ljava/util/Optional;
-
getType
- Specified by:
getType
in classStructureType
- Mappings:
Namespace Name Mixin selector official e
Ldkd;e()Ldkm;
intermediary method_41618
Lnet/minecraft/class_3195;method_41618()Lnet/minecraft/class_7151;
named getType
Lnet/minecraft/world/gen/structure/StructureType;getType()Lnet/minecraft/structure/StructureType;
-