Class JigsawStructure
java.lang.Object
net.minecraft.world.gen.structure.Structure
net.minecraft.world.gen.structure.JigsawStructure
- Mappings:
Namespace Name named net/minecraft/world/gen/structure/JigsawStructure
intermediary net/minecraft/class_5434
official eqk
-
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.MapCodec
<JigsawStructure> static final DimensionPadding
static final StructureLiquidSettings
private final DimensionPadding
static final int
private final StructureLiquidSettings
static final int
static final int
private final int
private final List
<StructurePoolAliasBinding> 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.Structure
config, ENTRY_CODEC, STRUCTURE_CODEC
-
Constructor Summary
ConstructorDescriptionJigsawStructure
(Structure.Config config, RegistryEntry<StructurePool> startPool, int size, HeightProvider startHeight, boolean useExpansionHack) JigsawStructure
(Structure.Config config, RegistryEntry<StructurePool> startPool, int size, HeightProvider startHeight, boolean useExpansionHack, Heightmap.Type projectStartToHeightmap) JigsawStructure
(Structure.Config config, RegistryEntry<StructurePool> startPool, Optional<Identifier> startJigsawName, int size, HeightProvider startHeight, boolean useExpansionHack, Optional<Heightmap.Type> projectStartToHeightmap, int maxDistanceFromCenter, List<StructurePoolAliasBinding> poolAliasBindings, DimensionPadding dimensionPadding, StructureLiquidSettings liquidSettings) -
Method Summary
Modifier and TypeMethodDescriptiongetStructurePosition
(Structure.Context context) getType()
private static com.mojang.serialization.DataResult
<JigsawStructure> validate
(JigsawStructure structure) Methods inherited from class net.minecraft.world.gen.structure.Structure
configCodecBuilder, createCodec, createStructureStart, expandBoxIfShouldAdaptNoise, getAverageCornerHeights, getFeatureGenerationStep, getMinCornerHeight, getMinCornerHeight, getShiftedPos, getStructurePosition, getStructureSpawns, getTerrainAdaptation, getValidBiomes, getValidStructurePosition, postPlace
-
Field Details
-
DEFAULT_DIMENSION_PADDING
- Mappings:
Namespace Name Mixin selector named DEFAULT_DIMENSION_PADDING
Lnet/minecraft/world/gen/structure/JigsawStructure;DEFAULT_DIMENSION_PADDING:Lnet/minecraft/world/gen/structure/DimensionPadding;
intermediary field_51911
Lnet/minecraft/class_5434;field_51911:Lnet/minecraft/class_9778;
official d
Leqk;d:Lepj;
-
DEFAULT_LIQUID_SETTINGS
- Mappings:
Namespace Name Mixin selector named DEFAULT_LIQUID_SETTINGS
Lnet/minecraft/world/gen/structure/JigsawStructure;DEFAULT_LIQUID_SETTINGS:Lnet/minecraft/structure/StructureLiquidSettings;
intermediary field_52235
Lnet/minecraft/class_5434;field_52235:Lnet/minecraft/class_9822;
official e
Leqk;e:Lerv;
-
MAX_SIZE
public static final int MAX_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_SIZE
Lnet/minecraft/world/gen/structure/JigsawStructure;MAX_SIZE:I
intermediary field_38435
Lnet/minecraft/class_5434;field_38435:I
official f
Leqk;f:I
-
field_49155
public static final int field_49155- See Also:
- Mappings:
Namespace Name Mixin selector named field_49155
Lnet/minecraft/world/gen/structure/JigsawStructure;field_49155:I
intermediary field_49155
Lnet/minecraft/class_5434;field_49155:I
official g
Leqk;g:I
-
MAX_GENERATION_DEPTH
public static final int MAX_GENERATION_DEPTH- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_GENERATION_DEPTH
Lnet/minecraft/world/gen/structure/JigsawStructure;MAX_GENERATION_DEPTH:I
intermediary field_47412
Lnet/minecraft/class_5434;field_47412:I
official h
Leqk;h:I
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/world/gen/structure/JigsawStructure;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_37794
Lnet/minecraft/class_5434;field_37794:Lcom/mojang/serialization/MapCodec;
official i
Leqk;i:Lcom/mojang/serialization/MapCodec;
-
startPool
- Mappings:
Namespace Name Mixin selector named startPool
Lnet/minecraft/world/gen/structure/JigsawStructure;startPool:Lnet/minecraft/registry/entry/RegistryEntry;
intermediary field_37795
Lnet/minecraft/class_5434;field_37795:Lnet/minecraft/class_6880;
official j
Leqk;j:Ljq;
-
startJigsawName
- Mappings:
Namespace Name Mixin selector named startJigsawName
Lnet/minecraft/world/gen/structure/JigsawStructure;startJigsawName:Ljava/util/Optional;
intermediary field_39059
Lnet/minecraft/class_5434;field_39059:Ljava/util/Optional;
official k
Leqk;k:Ljava/util/Optional;
-
size
private final int size- Mappings:
Namespace Name Mixin selector named size
Lnet/minecraft/world/gen/structure/JigsawStructure;size:I
intermediary field_37796
Lnet/minecraft/class_5434;field_37796:I
official l
Leqk;l:I
-
startHeight
- Mappings:
Namespace Name Mixin selector named startHeight
Lnet/minecraft/world/gen/structure/JigsawStructure;startHeight:Lnet/minecraft/world/gen/heightprovider/HeightProvider;
intermediary field_37797
Lnet/minecraft/class_5434;field_37797:Lnet/minecraft/class_6122;
official m
Leqk;m:Lemq;
-
useExpansionHack
private final boolean useExpansionHack- Mappings:
Namespace Name Mixin selector named useExpansionHack
Lnet/minecraft/world/gen/structure/JigsawStructure;useExpansionHack:Z
intermediary field_37798
Lnet/minecraft/class_5434;field_37798:Z
official n
Leqk;n:Z
-
projectStartToHeightmap
- Mappings:
Namespace Name Mixin selector named projectStartToHeightmap
Lnet/minecraft/world/gen/structure/JigsawStructure;projectStartToHeightmap:Ljava/util/Optional;
intermediary field_37799
Lnet/minecraft/class_5434;field_37799:Ljava/util/Optional;
official o
Leqk;o:Ljava/util/Optional;
-
maxDistanceFromCenter
private final int maxDistanceFromCenter- Mappings:
Namespace Name Mixin selector named maxDistanceFromCenter
Lnet/minecraft/world/gen/structure/JigsawStructure;maxDistanceFromCenter:I
intermediary field_38268
Lnet/minecraft/class_5434;field_38268:I
official p
Leqk;p:I
-
poolAliasBindings
- Mappings:
Namespace Name Mixin selector named poolAliasBindings
Lnet/minecraft/world/gen/structure/JigsawStructure;poolAliasBindings:Ljava/util/List;
intermediary field_46829
Lnet/minecraft/class_5434;field_46829:Ljava/util/List;
official q
Leqk;q:Ljava/util/List;
-
dimensionPadding
- Mappings:
Namespace Name Mixin selector named dimensionPadding
Lnet/minecraft/world/gen/structure/JigsawStructure;dimensionPadding:Lnet/minecraft/world/gen/structure/DimensionPadding;
intermediary field_51912
Lnet/minecraft/class_5434;field_51912:Lnet/minecraft/class_9778;
official r
Leqk;r:Lepj;
-
liquidSettings
- Mappings:
Namespace Name Mixin selector named liquidSettings
Lnet/minecraft/world/gen/structure/JigsawStructure;liquidSettings:Lnet/minecraft/structure/StructureLiquidSettings;
intermediary field_52236
Lnet/minecraft/class_5434;field_52236:Lnet/minecraft/class_9822;
official s
Leqk;s:Lerv;
-
-
Constructor Details
-
JigsawStructure
public JigsawStructure(Structure.Config config, RegistryEntry<StructurePool> startPool, Optional<Identifier> startJigsawName, int size, HeightProvider startHeight, boolean useExpansionHack, Optional<Heightmap.Type> projectStartToHeightmap, int maxDistanceFromCenter, List<StructurePoolAliasBinding> poolAliasBindings, DimensionPadding dimensionPadding, StructureLiquidSettings liquidSettings) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/gen/structure/JigsawStructure;<init>(Lnet/minecraft/world/gen/structure/Structure$Config;Lnet/minecraft/registry/entry/RegistryEntry;Ljava/util/Optional;ILnet/minecraft/world/gen/heightprovider/HeightProvider;ZLjava/util/Optional;ILjava/util/List;Lnet/minecraft/world/gen/structure/DimensionPadding;Lnet/minecraft/structure/StructureLiquidSettings;)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;ILjava/util/List;Lnet/minecraft/class_9778;Lnet/minecraft/class_9822;)V
official <init>
Leqk;<init>(Leoj$c;Ljq;Ljava/util/Optional;ILemq;ZLjava/util/Optional;ILjava/util/List;Lepj;Lerv;)V
-
JigsawStructure
public JigsawStructure(Structure.Config config, RegistryEntry<StructurePool> startPool, int size, HeightProvider startHeight, boolean useExpansionHack, Heightmap.Type projectStartToHeightmap) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/gen/structure/JigsawStructure;<init>(Lnet/minecraft/world/gen/structure/Structure$Config;Lnet/minecraft/registry/entry/RegistryEntry;ILnet/minecraft/world/gen/heightprovider/HeightProvider;ZLnet/minecraft/world/Heightmap$Type;)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
official <init>
Leqk;<init>(Leoj$c;Ljq;ILemq;ZLedp$a;)V
-
JigsawStructure
public JigsawStructure(Structure.Config config, RegistryEntry<StructurePool> startPool, int size, HeightProvider startHeight, boolean useExpansionHack) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/gen/structure/JigsawStructure;<init>(Lnet/minecraft/world/gen/structure/Structure$Config;Lnet/minecraft/registry/entry/RegistryEntry;ILnet/minecraft/world/gen/heightprovider/HeightProvider;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
official <init>
Leqk;<init>(Leoj$c;Ljq;ILemq;Z)V
-
-
Method Details
-
validate
private static com.mojang.serialization.DataResult<JigsawStructure> validate(JigsawStructure structure) - Mappings:
Namespace Name Mixin selector named validate
Lnet/minecraft/world/gen/structure/JigsawStructure;validate(Lnet/minecraft/world/gen/structure/JigsawStructure;)Lcom/mojang/serialization/DataResult;
intermediary method_42708
Lnet/minecraft/class_5434;method_42708(Lnet/minecraft/class_5434;)Lcom/mojang/serialization/DataResult;
official a
Leqk;a(Leqk;)Lcom/mojang/serialization/DataResult;
-
getStructurePosition
- Specified by:
getStructurePosition
in classStructure
- Mappings:
Namespace Name Mixin selector named getStructurePosition
Lnet/minecraft/world/gen/structure/Structure;getStructurePosition(Lnet/minecraft/world/gen/structure/Structure$Context;)Ljava/util/Optional;
intermediary method_38676
Lnet/minecraft/class_3195;method_38676(Lnet/minecraft/class_3195$class_7149;)Ljava/util/Optional;
official a
Leoj;a(Leoj$a;)Ljava/util/Optional;
-
getType
- Specified by:
getType
in classStructure
- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/world/gen/structure/Structure;getType()Lnet/minecraft/world/gen/structure/StructureType;
intermediary method_41618
Lnet/minecraft/class_3195;method_41618()Lnet/minecraft/class_7151;
official e
Leoj;e()Leos;
-