Package | Description |
---|---|
com.legacy.structure_gel.worldgen.jigsaw |
Modifier and Type | Method and Description |
---|---|
JigsawPoolBuilder |
JigsawRegistryHelper.builder()
Quick way to get a
JigsawPoolBuilder using this registry instance. |
JigsawPoolBuilder |
JigsawPoolBuilder.clone()
Creates a copy of this builder.
|
JigsawPoolBuilder |
JigsawPoolBuilder.maintainWater(boolean maintainWater)
Determines if waterloggable blocks should become waterlogged when placed in
water.
|
JigsawPoolBuilder |
JigsawPoolBuilder.names(java.util.Collection<java.lang.String> names)
Set a list of names that the builder uses as structure ResourceLocations with
equal weights.
|
JigsawPoolBuilder |
JigsawPoolBuilder.names(java.util.Map<java.lang.String,java.lang.Integer> nameMap)
Set a list of names that the builder uses as structure ResourceLocations with
the weights in the map.
|
JigsawPoolBuilder |
JigsawPoolBuilder.names(java.lang.String... names)
Set a list of names that the builder uses as structure ResourceLocations with
equal weights.
|
JigsawPoolBuilder |
JigsawPoolBuilder.namesR(java.util.Collection<net.minecraft.util.ResourceLocation> names)
Set a list of names that the builder uses as structure ResourceLocations with
equal weights.
|
JigsawPoolBuilder |
JigsawPoolBuilder.namesR(java.util.Map<net.minecraft.util.ResourceLocation,java.lang.Integer> nameMap)
Set a list of names that the builder uses as structure ResourceLocations with
the weights in the map.
|
JigsawPoolBuilder |
JigsawPoolBuilder.namesR(net.minecraft.util.ResourceLocation... names)
Set a list of names that the builder uses as structure ResourceLocations with
equal weights.
|
JigsawPoolBuilder |
JigsawPoolBuilder.placementBehavior(net.minecraft.world.gen.feature.jigsaw.JigsawPattern.PlacementBehaviour placementBehavior)
Determines placement for the structure.
|
JigsawPoolBuilder |
JigsawPoolBuilder.processors(net.minecraft.world.gen.feature.template.StructureProcessorList processors)
Structure processors that all pieces in this builder will use.
|
JigsawPoolBuilder |
JigsawPoolBuilder.weight(int weight)
Sets the weight of all pieces to be the value passed in.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<com.mojang.datafixers.util.Pair<java.util.function.Function<net.minecraft.world.gen.feature.jigsaw.JigsawPattern.PlacementBehaviour,? extends net.minecraft.world.gen.feature.jigsaw.JigsawPiece>,java.lang.Integer>> |
JigsawPoolBuilder.collect(JigsawPoolBuilder... builders)
Combines the JigsawPoolBuilders together after building them.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<com.mojang.datafixers.util.Pair<java.util.function.Function<net.minecraft.world.gen.feature.jigsaw.JigsawPattern.PlacementBehaviour,? extends net.minecraft.world.gen.feature.jigsaw.JigsawPiece>,java.lang.Integer>> |
JigsawPoolBuilder.collect(java.util.List<JigsawPoolBuilder> builders)
Combines the JigsawPoolBuilders together after building them.
|