Skip to content

Commit 8effe49

Browse files
committed
2.0.0
1 parent 1a55bef commit 8effe49

94 files changed

Lines changed: 4274 additions & 889 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/assets/curseforge/description.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<a style="text-decoration: none;" href="https://www.patreon.com/Faboslav">
1414
<img src="https://img.shields.io/static/v1?label=&message=Become a Patron&color=5b9c51&labelColor=5b9c51&logoColor=ffffff&style=for-the-badge&logo=patreon" alt="Become a Patreon">
1515
</a>
16-
<a style="text-decoration: none;" href="https://discord.gg/faboland">
16+
<a style="text-decoration: none;" href="https://discord.com/invite/QGwFvvMQCn">
1717
<img src="https://img.shields.io/discord/924964658169913404?style=for-the-badge&logo=discord&logoColor=ffffff&label=Join Our Discord&labelColor=5b9c51&color=5b9c51" alt="Join Our Discord">
1818
</a>
1919
</p>
@@ -161,7 +161,7 @@ Since structure generation is a complex system, things can occasionally break, e
161161

162162
<hr>
163163

164-
Feel free to <a href="https://discord.gg/faboland">join our community at the discord server</a> to chat, share your
164+
Feel free to <a href="https://discord.com/invite/QGwFvvMQCn">join our community at the discord server</a> to chat, share your
165165
creations, ask any question or to simply be updated about the latest development of the mod and notified when the new
166166
release is out. Also don't hesitate to <a href="https://github.com/Faboslav/structurify/issues">report any crash or bug
167167
via GitHub issues</a>.

.github/assets/modrinth/description.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<a style="text-decoration: none;" href="https://www.patreon.com/Faboslav">
1414
<img src="https://img.shields.io/static/v1?label=&message=Become a Patron&color=5b9c51&labelColor=5b9c51&logoColor=ffffff&style=for-the-badge&logo=patreon" alt="Become a Patreon">
1515
</a>
16-
<a style="text-decoration: none;" href="https://discord.gg/faboland">
16+
<a style="text-decoration: none;" href="https://discord.com/invite/QGwFvvMQCn">
1717
<img src="https://img.shields.io/discord/924964658169913404?style=for-the-badge&logo=discord&logoColor=ffffff&label=Join Our Discord&labelColor=5b9c51&color=5b9c51" alt="Join Our Discord">
1818
</a>
1919
</center>
@@ -143,7 +143,7 @@ Since structure generation is a complex system, things can occasionally break, e
143143

144144
# 💬 Community
145145

146-
Feel free to <a href="https://discord.gg/faboland">join our community at the discord server</a> to chat, share your
146+
Feel free to <a href="https://discord.com/invite/QGwFvvMQCn">join our community at the discord server</a> to chat, share your
147147
creations, ask any question or to simply be updated about the latest development of the mod and notified when the new
148148
release is out. Also don't hesitate to <a href="https://github.com/Faboslav/structurify/issues">report any crash or bug
149149
via GitHub issues</a>.

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
## 2.0.0
2+
3+
- Improved flatness and biome check performance, now it should be actually unrecognizable opposite to the previous versions
4+
- Improved overall runtime (world generation) performance of the mod by caching values
5+
- Improved GUI workflows, setting up everything should be easier and more clear
6+
- GUI can be now opened and reloaded from the game (in the world)
7+
- Updated biome dropdown, which should now display the full id of biome/tag, so seemingly duplicate tags like "#minecraf:is_ocean" and "#c:is_ocean" can be recognized more easily
8+
- Added global and per namespace flatness checks, which means flatness check can now be configured globally, per namespace or per structure
9+
- Added "step" as a configurable field for structures
10+
- Added "terrain adaptation" as a configurable field for structures
11+
- Added "size" as a configurable field for jigsaw structures
12+
- Added "max distance from center" as a configurable field for jigsaw structures
13+
- Added missing frequency description
14+
- Lot of other small tweaks/fixes
15+
116
## 1.0.21
217

318
- Fixed default salt value to the correct value of 0 instead of 1

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<a style="text-decoration: none;" href="https://www.patreon.com/Faboslav">
1414
<img src="https://img.shields.io/endpoint.svg?color=4B4341&label=Support me&labelColor=4B4341&logoColor=ffffff&url=https://shieldsio-patreon.vercel.app/api?username=Faboslav&type=patrons&style=for-the-badge" alt="Patreon">
1515
</a>
16-
<a style="text-decoration: none;" href="https://discord.gg/faboland">
16+
<a style="text-decoration: none;" href="https://discord.com/invite/QGwFvvMQCn">
1717
<img src="https://img.shields.io/discord/924964658169913404?style=for-the-badge&logo=discord&logoColor=ffffff&label=Join Discord&labelColor=4B4341&color=4B4341" alt="Join Discord">
1818
</a>
1919
<a style="text-decoration: none;" href="https://modrinth.com/mod/yacl">
@@ -242,7 +242,7 @@ Structurify is designed to be fully compatible with most of the world generation
242242

243243
# 💬 Community
244244

245-
Feel free to <a href="https://discord.gg/faboland">join our community at the discord server</a> to chat, share your creations, ask any question or to simply be updated about the latest development of the mod and notified when the new release is out. Also don't hesitate to <a href="https://github.com/Faboslav/structurify/issues">report any crash or bug via GitHub issues</a>.
245+
Feel free to <a href="https://discord.com/invite/QGwFvvMQCn">join our community at the discord server</a> to chat, share your creations, ask any question or to simply be updated about the latest development of the mod and notified when the new release is out. Also don't hesitate to <a href="https://github.com/Faboslav/structurify/issues">report any crash or bug via GitHub issues</a>.
246246

247247
<br>
248248

common/build.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins {
33
id("fabric-loom")
44
kotlin("jvm") version "2.2.0"
55
id("com.google.devtools.ksp") version "2.2.0-2.0.2"
6-
id("dev.kikugie.fletching-table.fabric") version "0.1.0-alpha.14"
6+
id("dev.kikugie.fletching-table.fabric") version "0.1.0-alpha.20"
77
}
88

99
stonecutter {
@@ -75,9 +75,10 @@ dependencies {
7575
}
7676

7777
// Terra
78+
/*
7879
commonMod.depOrNull("terra")?.let { terraVersion ->
7980
modImplementation("com.dfsek.terra:fabric:${terraVersion}")
80-
}
81+
}*/
8182

8283
// Yungs api
8384
commonMod.depOrNull("yungs_api_minecraft")?.let { yungsApiMcVersion ->

common/src/main/java/com/faboslav/structurify/common/Structurify.java

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
package com.faboslav.structurify.common;
22

33
import com.faboslav.structurify.common.config.StructurifyConfig;
4-
import com.faboslav.structurify.common.config.StructurifyConfigLoader;
4+
import com.faboslav.structurify.common.config.StructurifyConfigSerializer;
5+
import com.faboslav.structurify.common.debug.StructurifyDebugRenderer;
56
import com.faboslav.structurify.common.events.common.LoadConfigEvent;
67
import com.faboslav.structurify.common.events.common.UpdateRegistriesEvent;
78
import com.faboslav.structurify.common.modcompat.ModChecker;
@@ -16,17 +17,18 @@ public final class Structurify
1617
public static final String MOD_ID = "structurify";
1718
private static final Logger LOGGER = LoggerFactory.getLogger(Structurify.MOD_ID);
1819
private static final StructurifyConfig CONFIG = new StructurifyConfig();
20+
private static final StructurifyDebugRenderer DEBUG_RENDERER = new StructurifyDebugRenderer();
1921

20-
public static String makeStringID(String name) {
21-
return MOD_ID + ":" + name;
22+
public static StructurifyConfig getConfig() {
23+
return CONFIG;
2224
}
2325

2426
public static Logger getLogger() {
2527
return LOGGER;
2628
}
2729

28-
public static StructurifyConfig getConfig() {
29-
return CONFIG;
30+
public static StructurifyDebugRenderer getDebugRenderer() {
31+
return DEBUG_RENDERER;
3032
}
3133

3234
public static ResourceLocation makeId(String path) {
@@ -55,11 +57,15 @@ public static ResourceLocation makeNamespacedId(String id) {
5557
*///?}
5658
}
5759

60+
public static String makeStringID(String name) {
61+
return MOD_ID + ":" + name;
62+
}
63+
5864
public static void init() {
5965
Structurify.getConfig().create();
6066
ModChecker.setupModCompat();
6167

62-
LoadConfigEvent.EVENT.addListener(StructurifyConfigLoader::loadConfig);
68+
LoadConfigEvent.EVENT.addListener(StructurifyConfigSerializer::loadConfig);
6369
UpdateRegistriesEvent.EVENT.addListener(StructurifyRegistryUpdater::updateRegistries);
6470
}
6571
}

common/src/main/java/com/faboslav/structurify/common/StructurifyClient.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ public static StructurifyConfigScreen getConfigScreen(Screen screen) {
1616
CONFIG_SCREEN = new StructurifyConfigScreen(screen);
1717
}
1818

19+
CONFIG_SCREEN.setParent(screen);
20+
1921
return CONFIG_SCREEN;
2022
}
2123

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package com.faboslav.structurify.common.api;
2+
3+
import com.faboslav.structurify.world.level.structure.StructureSectionClaim;
4+
5+
import java.util.Map;
6+
7+
public interface StructurifyChunkGenerator
8+
{
9+
Map<Long, StructureSectionClaim> structurify$getStructureSectionClaims();
10+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package com.faboslav.structurify.common.api;
2+
3+
public interface StructurifyListOption
4+
{
5+
void structurify$setCollapsed(boolean collapsed);
6+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package com.faboslav.structurify.common.api;
2+
3+
import net.minecraft.network.chat.Component;
4+
5+
public interface StructurifyOption
6+
{
7+
void structurify$setName(Component name);
8+
}

0 commit comments

Comments
 (0)